aboutsummaryrefslogtreecommitdiffhomepage
path: root/source/Core/Inc/Settings.h
AgeCommit message (Collapse)Author
2024-09-22Refactor header includesBen V. Brown
2024-09-22Handle one tip typeBen V. Brown
2024-09-22Enable on Pinecilv1 / TS10xBen V. Brown
2024-09-22Start linking in manual tip resistanceBen V. Brown
2024-09-22Draft tip selection menu=
2024-08-21Add a sleep timeout setting for hall sensor (#1969)ave
* 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
2024-07-24Add enum for modes of locking buttons (#1955)Ivan Zorin
* Add enum for modes of locking buttons * Update description for FULL value
2024-07-09Add enum for USB PD modes (#1943)Ivan Zorin
* Add enum for USB PD modes * Update comments for clarification according to code review
2024-06-08Pinecilv2 adc v2 (#1916)Ben V. Brown
* Updated NTC lookup * remove float compute from adc (as we dont use it) * Updated adc settings * Updated ADC Init * Custom max temp lookup * Mask Timer around changing timer rate * Use timer channels in sane order * Update IRQ.cpp * Remove ADC dummy wait on start/stop * Dont use ADC IRQ * Disable sampling delay * Update Setup.cpp * PinecilV2 disable ROM driver utils Always use our source * Force settings upgrade on PinecilV2 Fix forced settings upgrade on Pinecilv2 * Prevent ADC rollover * Update Setup.cpp * ADC cleanup * Rollover prevention * Measure tip temperature 2nd * Rebase Buffalo SDK to 1.4.5 (#1923) * Update bl702_adc.c * Update board.c * . * Update bl702_adc.c * Import updated hal_drv * Remove accidental dupe of stack in linker * First pass update BLE stack * Update ReleaseNotes * Update push.yml * Drop BT Audio which we dont use * . * Reformat * Update conn.c * Update hog.c
2024-06-01Expand USB-PD mode option (#1917)Ben V. Brown
* 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
2024-02-18Big overhaul of the UI framework (#1749)Ben V. Brown
* 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 <[email protected]>
2023-11-21Implement optional looping for animated boot logo [#1839]Ivan Zorin
2023-07-05Cosmetic code style refactoring: add enum for screen orientation & define ↵Ivan Zorin
for OLED state (#1732) * 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
2023-06-17AutoStartMode refactoring (#1712)Ivan Zorin
* OperatingModes/Sleep: extend current mode with idle status * OperatingModes/Sleep: tipTemp section refactoring * source/Core - settings: tiny refactoring of AutoStartMode management * OperatingModes/Sleep: rollback OperatingMode update
2023-06-14Update comments (#1702)Ivan Zorin
update comments
2023-04-25soldering profile mode → profile modeLaura Klünder
2023-04-24add missing comments in Settings.hLaura Klünder
2023-04-23add settings for soldering profileLaura Klünder
2023-04-07unifying (#1657)discip
2023-02-19Added VPDO option for disabling PPS/EPR PDOs.Samuel Hedrick
2023-01-23Setting setup for BLEEnabledBen V. Brown
2023-01-23Create setting entry for BLEBen V. Brown
2022-09-10Calibrate CJC at next boot (#1398)discip
Changes Cold Junction Compensation (Tip Offset / CJC) to be performed during bootup time. (After starting in settings)
2022-04-02Bootup logo settings (#1241)discip
Adds ability to adjust the time shown for the bootup logo.
2021-09-12Contrast -> BrightnessBen V. Brown
As it makes a little more sense in a 1 bit display
2021-09-12Updating translationsBen V. Brown
2021-09-12Assign static values to the enumBen V. Brown
2021-09-12Pass one settings refactorBen V. Brown
2021-06-08Redoing last modificationVarga Zsolt
2021-06-08Revert "Test"Varga Zsolt
This reverts commit 3e502f462d6cdc312078e25bd111980ea5bae05c.
2021-06-08TestVarga Zsolt
2021-06-08Cosmetic fix of a commentVarga Zsolt
2021-06-07Suggestions mostly correctedVarga Zsolt
2021-06-06USB PD timeout addedVarga Zsolt
2021-04-30[RFC] Multi-language firmware (second try) (#941)v2.15-rc1alvinhochun
* Impl. sectioned font table in firmware * make_translation.py: Extract build_symbol_conversion_table function * Put translation indices and strings in a struct * Move translation objcopy step to Python * Impl. multi-language firmware demo * Impl. strings-compressed multi-lang firmware demo * Add font compression to multi-lang demo * Refactor Makefile a bit * Fix rules for make < 4.3 * Add more multi-lang groups * Add Pinecil multi-lang CI build * Add lzfx compression license text * Remote multi-language demo group * Fix build after merge * Import code from BriefLZ * Change brieflz for our use case * Change compression to use brieflz * Remove lzfx code * Update license file for brieflz * Exclude brieflz files from format check * Add BriefLZ test
2021-03-16Add user-adjustable "time between Power Pulses" and "Power Pulse duration"Devydd
2021-03-15Cleanup (#877)Ben V. Brown
* Clean translation * Create enum for off/slow/med/fast * Update configuration.h * Default loop on * Create Medium speed symbol slot * True/False are no longer defined, move to off string + slightly smoother lerp animations
2021-03-15Animated icons (#866)PlayDay
* Add animation Icons * 2D dimensional array * Added animation to GUI * Added Adnimation Speed setting * Added loop * Added Loop switch * Use Checkbox instead of +/- * Animations can now be turned off * Optimize animation code * Move animation options to UI settings
2021-03-07Increment settings versionPlayDay
2021-03-07Add more voltage settingsPlayDay
2021-02-24Run formatterBen V. Brown
2021-02-02Generate per-language translation sources (#806)Thomas Weißschuh
This generates dedicates Translation.cpp files for translation language and derives all language-specific data from them. The Makefile is extended to also take care of generating these source files. This allows reuse of nearly all object files between builds of different languages for the same model and regenerating the translation sources if necessary. This speeds up the release builds and the normal write-compile-cycle considerably. It also eliminates miscompilations when manually building different languages.
2021-01-17Format headersBen V. Brown
2021-01-17./workspace/TS100 -> ./source/Ben V. Brown