1
0
forked from me/IronOS
Commit Graph

180 Commits

Author SHA1 Message Date
Ivan Zorin
a1b9e40f67 Show power source type on detailed screen in soldering mode (#1708) (#1709)
* Show power source type on detailed screen in soldering mode (#1708)

* Update according to code review
2023-06-18 21:38:26 +10:00
Ivan Zorin
c55a640d7f AutoStartMode refactoring (#1712)
* 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-17 17:07:26 +10:00
Ben V. Brown
e7bcf920ba Refactor PinecilV2 Tuning
Closes #1688
2023-06-04 12:13:26 +10:00
Ben V. Brown
286afad919 S60 Support (#1692)
* Mock S60

* cleanup

* Start refactor of OLED init

* Setup timers roughly

* Set Vector table offset correctly

Update system_stm32f1xx.c

* Update OLED.cpp

* Update stm32f1xx_hal_msp.c

* Update configuration.h

* I2C init before GPIO

From Errata

Update stm32f1xx_hal_msp.c

Update Software_I2C.h

Allow no hardware I2C

* I2C BB run bus unlock at init

* cleanups

* Software I2C for now

* Mildly more graceful Interpolate

* Handle is powered by DC

Update Power.cpp

Update drawPowerSourceIcon.cpp

Update configuration.h

Update Setup.cpp

* Cleanup HomeScreen

* Segment remap oled at init

* Cleanup

* Update MOVThread.cpp

* Fix PWM Init

* Fix adc2 trigger

* Update configs

* Fixup warning

* Saner default config

* Update ThermoModel.cpp

* Util for current@voltage

* Hub238 warning

* Add hub238 handling in power mode

* Update USBPDDebug_FUSB.cpp

* HUSB238 debug

* Hook PSU Limit

* Use wrapping section of GRAM for scroll

Update OLED.hpp

* Update NTC table

* Fix HUB voltage picker

* Cleanup

* Larger tip filter

* Calibrate in a bunch closer

Update ThermoModel.cpp

* Update configuration.h

* Update HUB238.cpp

* Update configuration.h

* Movement Pin

* Update BSP.cpp

* tim2 irq

* Rough timer conversion (adc broken) but movement working

* Fix tim2 start

* Faster base PWM

* Ensure utils grabs config

* Add wattage limiter tolerance for device

* Speed up PWM and enable PWM current limiting

* tune for 12v

* Prevent start until PD done

* Update configuration.h

* Add HUB238 check for have re-negotiated

* Adjust timer to avoid noise when its possible
2023-06-03 20:05:31 +10:00
Laura Klünder
578fd54463 soldering profile mode → profile mode 2023-04-25 11:56:57 +02:00
Laura Klünder
366cfbd794 add missing comment and exclude sleep code if sleep is disabled 2023-04-25 11:56:52 +02:00
Laura Klünder
f1879353b8 put soldering profile mode into its own file, put common functions in utils 2023-04-25 11:56:41 +02:00
Laura Klünder
cb2e8af700 full profile support 2023-04-23 23:48:24 +02:00
Laura Klünder
448e5c8ad1 profile mode is optional 2023-04-23 18:36:07 +02:00
Samuelrmlink
445069c92b USBPDDebug: Check whether VPDO is EPR or PPS (#1600)
* USBPDDebug: Check whether VPDO is EPR or PPS.

* USBPDDebug - Allow trailing zeros after a decimal point.

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2023-04-02 00:14:45 +11:00
Thomas White
8e7e58018a expand bulk data to match individual value data (#1555)
* track and return Operating mode with BLE

* move global variable to fix build on other platforms

* formatting

* expand bulk data to match individual value data

* formatting

* fix accidental single line if

---------

Co-authored-by: Ben V. Brown <5425387+Ralim@users.noreply.github.com>
2023-02-05 00:04:51 +11:00
Thomas White
9802a622d5 Track and return Operating Mode with BLE (#1553)
Track and return Operating Mode with BLE
2023-02-04 09:33:43 +11:00
discip
fc10a24a89 simplification 2023-01-24 18:22:50 +01:00
Ben V. Brown
c2d69f91a6 Drop decimal when > 99.9W 2023-01-23 17:49:40 +11:00
Ben V. Brown
05628daba2 Merge branch 'dev' into new-translations-format 2023-01-22 22:05:13 +11:00
discip
1b84097e07 fixes cooldown flashing (#1515)
* unify rate of cooldown flashing

* adjusted flashing threshold

* revert adjusted flashing threshold

* revert follow-up
2022-12-31 22:41:00 +11:00
Ben V. Brown
fdc31467aa Use size encoded symbols
Update make_translation.py
2022-12-05 22:26:03 +11:00
Ben V. Brown
cc65cbb05e Update CJC.cpp 2022-11-25 21:25:49 +11:00
Ben V. Brown
6ca5f5c08d Merge branch 'dev' into refactor-gui-files 2022-11-25 21:24:49 +11:00
discip
c55ecbff6c fixed CJC calibration rule
Did not calibrate if *handle temp* was higher than *tip temp*.
2022-11-24 23:56:15 +01:00
Ben V. Brown
2c02f55139 Merge pull request #1436 from Ralim/test-slow-i2c
Improve I2C for PinecilV2
2022-11-23 21:09:04 +11:00
Ben V. Brown
6b8ee8ad48 Update GUIThread.cpp 2022-11-23 21:07:26 +11:00
Ben V. Brown
38b4a87602 Update CJC.cpp 2022-11-23 21:06:01 +11:00
Ben V. Brown
3007a44e45 Merge branch 'dev' into refactor-gui-files 2022-11-23 21:05:54 +11:00
Ben V. Brown
91f939e0f5 Update OperatingModes.h 2022-11-22 18:37:41 +11:00
Ben V. Brown
8ea43ed8be Update OperatingModes.h 2022-11-22 18:35:15 +11:00
Ben V. Brown
91cd702726 Update OperatingModes.h 2022-11-22 18:35:00 +11:00
Ben V. Brown
3b898ddc50 Refactor out home screen 2022-11-22 18:33:01 +11:00
Ben V. Brown
6cbb01db41 References 2022-11-22 18:26:16 +11:00
Ben V. Brown
27297fd692 Headers 2022-11-22 18:26:07 +11:00
Ben V. Brown
fe77fb097e Update printSleepCountdown.cpp 2022-11-22 18:25:58 +11:00
Ben V. Brown
124c3ecade Update shouldDeviceSleep.cpp 2022-11-22 18:25:57 +11:00
Ben V. Brown
da6b780941 Create shouldDeviceShutdown.cpp 2022-11-22 18:25:55 +11:00
Ben V. Brown
8d9e90c7b0 Create ShowWarning.cpp 2022-11-22 18:25:48 +11:00
Ben V. Brown
68eeb1276f Create PrintVoltage.cpp 2022-11-22 18:25:45 +11:00
Ben V. Brown
4cb74bddd7 Create min.cpp 2022-11-22 18:25:43 +11:00
Ben V. Brown
7bb41ff7c9 Create GUIDelay.cpp 2022-11-22 18:25:40 +11:00
Ben V. Brown
3836915b19 Create DrawTipTemperature.cpp 2022-11-22 18:25:38 +11:00
Ben V. Brown
af55cd5da4 Create USBPDDebug.cpp 2022-11-22 18:25:36 +11:00
Ben V. Brown
70e35316d4 Create ShowStartupWarnings.cpp 2022-11-22 18:25:33 +11:00
Ben V. Brown
296e599bf1 Create DebugMenu.cpp 2022-11-22 18:25:29 +11:00
Ben V. Brown
1432fc0dc3 Create CJC.cpp 2022-11-22 18:07:46 +11:00
Ben V. Brown
d82876c630 Create OperatingModes.h 2022-11-22 18:07:42 +11:00
Ben V. Brown
d7e68e074c Create Sleep.cpp 2022-11-22 18:07:40 +11:00
Ben V. Brown
24ab228f5a Create Soldering.cpp 2022-11-22 18:07:38 +11:00
Ben V. Brown
7a3527c680 Create TemperatureAdjust.cpp 2022-11-22 18:07:36 +11:00
Ben V. Brown
3f8004e81c Create checkUndervoltage.cpp 2022-11-22 18:07:34 +11:00
Ben V. Brown
d2dbeee658 Create drawPowerSourceIcon.cpp 2022-11-22 18:07:32 +11:00
Ben V. Brown
250e26e2d2 Create getSleepTimeout.cpp 2022-11-22 18:07:30 +11:00
Ben V. Brown
d46bdcbfcc Create OperatingModeUtilities.h 2022-11-22 18:07:27 +11:00