* Minor doc updates
* pydoc
* Draft tip selection menu
* Start linking in manual tip resistance
* Enable on Pinecilv1 / TS10x
* Fixup drawing tip type
* Update Settings.cpp
* Rename JBC type
* Add translations
* Handle one tip type
* Refactor header includes
* Fixup translation_IT.json
* Fixing up includes
* Format
* Apply suggestions from code review
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
* Update Documentation/Hardware.md
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
---------
Co-authored-by: = <=>
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
* Add a sleep timeout setting for hall sensor
* Update Settings.h to reorder HallEffectSleepTime to the end
* Update Settings.cpp to reorder HallEffectSleepTime to the end
* add HallEffSleepTimeout to rest of translations
* mix misaligned number in Settings.cpp
* fix clang-format issue in getHallEffectSleepTimeout
* Create README.md
* Move to new folder
* Migrating
* Migrate Remainder
* format fix (all but one) (#1889)
* Update USBPDDebug_FS2711.cpp
* Delete PrintVoltage.cpp
* Copy in 128x32 template
* Mask drawing for 96x16
* Import #1819
* Update Font.h
* Homescreen
* Update draw_homescreen_detailed.cpp
* Fix oled normal draw for variable height
* Update OLED.cpp
* Draw settings icons
* Update draw_homescreen_simplified.cpp
* Update draw_power_source_icon.cpp
* Fixup oled drawing for fill area
* Update the region fill for mixed heights
* Fix newline height
* FIXUP! Draw icons in settings menu at correct size
* Fix scrollbar
* Update settingsGUI.cpp
* S60(P) Disable auto display rotation
* On tall oled, scroll in 2 line increments
* Bugfix transition L<->R
@discip I take it back, there was a bug :)
* Draw every other one on transitions
* .
* cleanup
* Bootup logo: Draw in centre
* Update OLED.hpp
---------
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
* Use PDMode to decide if we do resistance pad
* Rename PDVpdo to USBPDMode
* Add options for PD Mode
* OLED: Allow soft line-wrap x position
* Add new translation option for menu settings values
* Use new setting value for PD Mode
* Update translations for new menu setting
* Fixup! S60
* black python
* Starting GUI render refactor to be more immediate mode
Update TemperatureAdjust.cpp
.
Cleanup Soldering
Sleep
SolderingProfiles
Soldering Rework
Rough pass GUI
Temp Adjust
Cleanup old OperatingMode
Debug Menu
* Update TemperatureAdjust.cpp
* Roughing some transition work
* Fixup! Hook in the init starter helper
* Better home screen button handler
* FIXUP! Fix typo's
.
* Update SettingsMenu.cpp
* More settings rework
* More settings rendering
* Fixup
* Transitions
Update SolderingProfile.cpp
Hook in transistions
* Update TemperatureAdjust.cpp
* Update push.yml
* Add auto-repeat to settings menu
* Miniware: Use IT for I2C writes
* Update USBPDDebug_HUSB238.cpp
* Force write screen on side animation cancel
.
* Refactor moving down the settings list
* Update settingsGUI.cpp
* Update I2C_Wrapper.cpp
* Update OLED.cpp
* Rework button handling
* Fix PD debug at boot
* Fixup not showing right menu options
* silence some warnings
* Style cleanup
* Fkit use bit-bang I2C for Miniware
* Update GUIRendering.md
* Fixup transition on enter soldering mode
* Save Settings
* Fixes for some animations not running
Dont bail on animations if keypress is still held
* Fixup settings acceleration
* OLED Up animation
* Link up/down on debug meny
* Make all accelerometers I2C bus aware
Update accelerometers_common.h
* Make I2C mag optional
* Miniware -> Only Bit-Bang I2C
* Fixup for scrollbar
FIXUP! Debug menu returns to home screen
FIXUP! Up oled animation
Fix temp exit
* Settings menu -> Both buttons return a menu layer
* Merge fixup
* Update BMA223.cpp
* Re-Enable OLED sleep
* Save Setting on temp adjust exit
* WiP on startup mode
* Some autostart working
* Add hibernation mode & more autostart fixes
* If cant CJC; go to startup
* Hibernate in sleep
* Cleanup scroll indicator
* FIXUP! Ensure startup warnings are linked in
* FIXUP! Ensure we render out temp change before timing out
* Ensure 100ms delay between CJC samples
* Fix not re-calculating menu length on entering menu
* Implement NegotiationinProgress for USB-PD
* Mask heating until PD finishes negotiation
* Fixup staying in hibernate correctly
* Warning timeout
* Show reset settings warning
* Correctly compensate help text start time
* Update GUIThread.cpp
* Update USBPD.cpp
* .
* Fixup sleep time
* Update printSleepCountdown.cpp
* replacing countdown with big plus while in boost mode
* bringing back the + 1 since it was missing when not in boost mode
* Bail on USB-PD check after 3 seconds incase of DC source
* Fix hibernate
* Update PIDThread.cpp
* did center plus symbol (boost mode)
* Big refactor to not make settings increment handler handle the "is last item" return
* Fixup boot logo
* Fix flashing
* Fixup recalculate the menu length on long hold
* Fixup missing menu entries
* Fix junk left on screen after user confirmation
* Re-order button handler to use custom, then default order to allow setting associated setting
* Attach setting for settings using custom handler
* Fix swap +/- keys
* Fix boost temp
* Implement last menu option for Language selector
* Wait for init before CJC runs
* Check last setting via increment value
* Update BSP.cpp
* removed = from >=
Otherwise incrementing would stop and the scroll bar would already flash at the second to last value.
* (Hacky) Fix for Settings reset
---------
Co-authored-by: discip <53649486+discip@users.noreply.github.com>
* implement printSymbolDeg() helper function as method for OLED class
* Remove extra line added by mistake
* OLED::printSymbolDeg - add drawSymbol calls
* OLED: make comments more clear for implemented method
* OLED::printSymbolDeg(): attempt to improve read-ability replacing if/else by switch/case
* OLED::printSymbolDeg() - add comment for drawSymbol to clarify its underhood
* get tipTemp using ?/: instead of if/else
* Implement getTipTemp() helper
* Add missing header
---------
Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
* Testing clang-format style check using github CI
* github/push: implement check-style for clang-format as a separate build step
* github/push: add missing packages for check-style/clang-format build step
* source/Makefile: check-style - reduce files of interest; update .clang-format to keep enums init
* source/Makefile: empty lines, spaces & tabs refactoring to unify style - part 1 out of N
* source/Makefile: fix formatting for multi-line variables
* source/Makefile: update formatting for multi-line variables
* source/Makefile: remove spaces on vars assignments to unify style
* source/Makefile: remove unused target style
* source/Makefile: implement exclude vars for clang-format related files
* source/Makefile: exclude configuration.h from clang-format check
* Dockerfile: add diffutils in a container to make check-style target using advanced version of diff to get more advanced output to parse & navigate log more easily
* source/Makefile: implement parser for clang-format inside check-style target to make output compatible with gcc-like error compilation format for compatibility with IDEs/editors for easy navigation over files to fix style errors
* source/Makefile: probably final touches on unifying style
* source/Makefile: implement check-style-list target to only list affected file names with wrong code style for debug purposes
* source/Makefile: fix missed spaces
* deploy.sh: add helper routine to deal with clang-format error output logging from makefile
* gitignore: add clang-format log explicitly
* Refactoring for clang-format compiance
* Dockerfile: add sed
* Dockerfile: false alarm - remove sed since busybox-sed seems fine
* source/Makefile: reduce calls of clang-format & make error log more clean, clear, and tidy
* deploy.sh:check_style() - add removal of DOS EOLs for generated log
* source/Makefile:check-style: add more empty lines between blocks with errors for readability when suggestion is too long & heavy
* source/Makefile: add STOP var to check-style for exit on first failed file
* source/Makefile: check-style: make log looks more like traditional diff/patch output
* source/Core/BSP/Pinecilv2/MemMang/heap_5.c: clang-format refactoring using reasonable advises ... and then disable it in Makefile from scanning by clang-format
* Return headers include order
* clang-format config: disable warnings about non-alphabetic include order
* clang-format refactoring
* clang-format refactoring, part 2
* clang-format refactoring, part 3
* settingsGUI.cpp: refactoring, part 1
* settingsGUI.cpp: refactoring, part 2
* settingsGUI.cpp: refactoring, part 3
* settingsGUI.cpp: refactoring, part 4
* clang-format should be happy now
* workflows/push: put readme check into separate build step & update style
* clang-format: giving SortIncludes option second chance by tweaking a couple of headers a bit
* source/Makefile: check-style: add homebrew parser to check for { } in conditional blocks
* homebrew-format: add { } for if/else, while, and for & unify some comments style; left two errors intentionally to debug & improve parser
* source/Makefile: homebrew-format: fix false negative trigger for multi-line condition in if-s
* Sleep.cpp: unify style & comments
* source/Makefile: remove unused debug target
* saveSettings: add comment for #endif, update var name to reflect its purpose regardless its one-time & temporal
* Settings.h: add enum for orientation mode
* settingsGUI.cpp: add markings for #endifs, add/remove extra new lines to propose better code read-ability in my humble vision from the side, didnt touch any functionality only cosmetic syntax
* settingsGUI.cpp: remove added-by-accident new line in the end of the file
* OLED.hpp: unify ifdef section, add markings for #endifs, add readable macros for ON/OFF OLED state instead of magic numbers
* OLED.cpp: add markings for #endifs, add readable macros for ON/OFF OLED state instead of magic numbers, trying unify common style for the whole file for better read-ability
* Settings.cpp: unify code style
* settingsGUI.cpp: revert true/false for setDisplayRotation
* OLED.cpp: unify comments style
* Update header to declare full buffer size
* Strip refactoring
* Refactor the OLED scrolldown part 1
* High res capable scroll down
* Allow button press to skip scroll
* Bunch of Misc Fixups
Fix the calibrate voltage screen, when it exits, it used to overlay the calibrated divider over the previous displayed image, causing confusion. Now it clears the screen before printing the calibrated value