1
0
forked from me/IronOS
Commit Graph

144 Commits

Author SHA1 Message Date
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
Ben V. Brown
db57a51cbb Create printSleepCountdown.cpp 2022-11-22 18:07:23 +11:00
Ben V. Brown
8c058df6ac Create shouldDeviceSleep.cpp 2022-11-22 18:07:16 +11:00
discip
c89db78b45 Calibrate CJC at next boot (#1398)
Changes Cold Junction Compensation (Tip Offset / CJC) to be performed during bootup time. (After starting in settings)
2022-09-10 20:52:57 +10:00
discip
b5323d9c77 reorder debug menu . . . (#1380)
* Update DebugMenu.md

* Update make_translation.py

* Update GUIThread.cpp

* Update DebugMenu.md
2022-08-25 09:17:15 +10:00
discip
3a44259735 typo fix (#1368) 2022-08-20 23:01:24 +10:00
Ben V. Brown
1fbcdcdf98 Pinecil V2 (#1341)
* Add SDK

* fork

* massaging makefile

* Drop git module

* Bring in sdk as its broken

Far, Far to much crap to fix with regex now

* Remove bl706

* rf_para_flash_t is missing defs

* Remove crapton of junk

* Remove yet more

* Poking I2C

* Update peripheral_config.h

* Update pinmux_config.h

* Update preRTOS.cpp

* Update main.hpp

* Setup template

* Verbose boot

* I2C ish

* Update I2C_Wrapper.cpp

* Update main.cpp

* Turn off I2C reading for now

* Display running

* Roughing out scheduling timer0

* Starting ADC setup

* Working scheduling of ADC 🎉

* Format adc headers

* Update IRQ.cpp

* Buttons working

* Slow down I2C

* Poking IRQ

* Larger stack required

* Accel on

* Trying to chase down why __libc_init_array isnt working yet

* Working c++

* Cleanup

* Bump stacks

* I2C wake part workaround

* Cleanup

* Working PWM init

* qc draft

* Hookup PWM

* Stable enough ADC

* ADC timing faster + timer without HAL

* Silence

* Remove boot banner

* Tuning in ADC

* Wake PID after ADC

* Remove unused hal

* Draft flash settings

* Working settings save & restore

* Update to prod model

* Cleanup

* NTC thermistor

* Correct adc gain

* Rough tip resistance progress

* Scratch out resistance awareness of the tip

* better adc settings

* Tweaking ADC

* ADC tweaking

* Make adc range scalable

* Update Dockerfile

* Update configuration.h

* Can read same ADC twice in a row

* ADC Setup

* Update PIDThread.cpp

* Lesser adc backoff

* Update USBPD.h

* Add device ID

* Update BSP_Power.h

* Update BSP.cpp

* DrawHex dynamicLength

* Shorter ID padding

* Show validation code

* tip measurement

* Create access for w0w1

* Expose w0 w1

* Enable debug

* crc32

* Device validation

* wip starting epr

* Logic refactor

* Safer PWM Init

* PD cleanups

* Update bl702_pwm.c

* Update power.cpp

* Update usb-pd

* io

* EPR decode

* Better gui for showing pd specs

* Rough handler for capabilities

* EPR

* Fix > 25V input

* Perform pow step after PPS

* Update BSP.cpp

* Fix timer output

* QC3

* Add tip resistance view

* Hold PD negotiation until detection is done for tip res

* Get Thermal mass

* Tip res =0 protection

* Update PIDThread.cpp

* Update GUIThread.cpp

* Rewrite tip resistance measurement

* Update GUIThread.cpp

* Fix fallback

* Far better tip resistance measurement

* Fix QC 0.6V D-

* Convert the interpolator to int32

* Correct the NTC lookup

* Update BSP.cpp

* Update Setup.cpp

* .

Update configuration #defines

More backported functions

* Update usb-pd

* More missed updates

* Refactor BSP

Magic BSP -> PinecilV2
Pine64 BSP -> Pinecil

Update Makefile

* Add Pinecilv2 to CI

* Pinecil v2 multi-lang

Update push.yml

* Update HallSensor.md

* Update README.md

* Fix wrong prestartcheck default

* Fix logo mapping

* Update Makefile

* Remove unused font block

* Style

* Style

* Remove unused timer funcs

* More culling TS80P

* Revert "More culling TS80P"

This reverts commit 2078b89be7.

* Revert "Remove unused timer funcs"

This reverts commit 0c693a89cc.

* Make VBus check maskable

* Remove DMA half transfer

* Drop using brightness and invert icons and go back to text

Saves flash space

* Refactor settings UI drawing descriptions

* Shorten setting function names

* Store bin file assets

* Fix MHP prestart
2022-08-19 15:39:37 +10:00
Aaronjamt
972d2fffac Allow preheating iron during boot logo
Autostart (if enabled) _before_ showing boot logo (rather than waiting for the entire animation to finish). Only heats if the boot logo is on but not infinite (and autostart is set to heat). Heats to sleep temperature or 75*C, whichever is lower, for safety (and if the iron can get to 75* by the time the logo disappears then this really doesn't matter much). This is purely a preheat if your iron is low-powered and takes a long time to warm and so if autostart is set to heat to soldering temperature, it will start heating the rest of the way once the boot logo disappears.
2022-07-29 10:53:21 -07:00
Ben V. Brown
f1ceb0ec62 Merge branch 'dev' into pd-epr 2022-07-25 17:34:13 +10:00
Ben V. Brown
dd239375b1 All Ticks as the right TickType
Update usb-pd
2022-07-25 16:45:29 +10:00
Ben V. Brown
7166dd1f33 Update PD debug to be EPR aware 2022-07-18 22:59:51 +10:00
Ben V. Brown
078b8f5626 DeviceID (#1314)
* Ability to print hex

* Add device ID getter

* Refactor debug menu

* No longer need patch

* Update make_translation.py

* Fix typo

* Fix hex drawing
2022-06-16 21:39:53 +10:00
Ben V. Brown
165a9952c2 MHP30: Shutdown settings (#1307)
* Reduce PPS max to 20V to avoid instability

Some PSU's cant actually run at 21V

* Creating a rough draft of a "pre start check" concept

* Newer alpine

* Cleaning up MHP detection

* Cleanup comments

* PID: Run prestart based on ADC IRQ rather than times

* MHP30: Far better startup for detecting tip gain

* Newer alpine for github CI

* Bugfix: Exit on movement

* Feature: Shutdown timeout for MHP30
2022-06-16 20:28:49 +10:00
Ben V. Brown
3bb1b7bc32 Startup behaviour fixes (#1306)
* Reduce PPS max to 20V to avoid instability

Some PSU's cant actually run at 21V

* Creating a rough draft of a "pre start check" concept

* Newer alpine

* Cleaning up MHP detection

* Cleanup comments

* PID: Run prestart based on ADC IRQ rather than times

* MHP30: Far better startup for detecting tip gain

* Newer alpine for github CI
2022-06-16 20:21:46 +10:00
Ben V. Brown
d1d403376f Fix typo in PD info screen 2022-04-04 13:07:48 +10:00
Ben V. Brown
a73f634cff Pinecil pd tweaking (#1272)
* Raise PD max to 21V

* gui -> settingsGUI

* VBus probe cache

* Rough pass PD capabilities display

* Cleanup build errors

* PD Debug menu working

* Update make_translation.py

* settingsGUI

* Update GUIThread.cpp

* Nicer debug prints

* Show VBus in PD debug

* Update GUIThread.cpp

* Update make_translation.py

* Add docs

* Build tweaks for TS80P 😢

* Show PPS ranges
2022-04-03 12:58:07 +10:00
Ben V. Brown
232009bf54 Logo rework (#1232)
!Allows for new logo format that supports animation!
Also moves logos out of repo into their own repo for ease of management.


Changes:
* Remove deprecated logos
* Draft new Bootloader decoder
* Use new logo handler
* Simplify logo code further
* Fix time bug on static images
* Fix exit at end of animation
* Docs
* Interframe delay in 5ms increments
* Quick pass handling empty updates
* Exit at the end _after_ the frame delay
* One final delay
* Fix for overrun of logo data
* Fixes https://github.com/Ralim/IronOS-Meta/issues/7
2022-03-14 09:08:05 +11:00
Ben V. Brown
e065be37d9 Force SC7 to probe last 2022-02-12 18:25:52 +11:00
Ben V. Brown
16882fee61 only vbus mod check on pinecil
If a TS80P has it connected, other things blow up first at 20V
2022-02-12 10:34:22 +11:00
Ben V. Brown
78344279d3 Merge branch 'master' into pinecil-mod-detect 2022-02-06 15:56:57 +11:00
Ben V. Brown
f715f77848 fix oled layout _again_ 2022-02-06 15:56:41 +11:00
Ben V. Brown
0735d4f704 Update GUIThread.cpp 2022-02-06 14:42:01 +11:00
Ben V. Brown
265e152c18 Add to debug menu 2022-02-06 13:15:01 +11:00
Ben V. Brown
0fcde2806d Update GUIThread.cpp 2022-02-05 13:11:15 +11:00
Ben V. Brown
1122d18526 Merge branch 'master' into rework 2022-02-05 12:43:53 +11:00
Ben V. Brown
1bdf9654d1 Merge pull request #1206 from Ralim/ts100-runaway
TS100 warning fix (#1192)
2022-02-05 12:34:19 +11:00
Ben V. Brown
513a2d66bb Always set cursor back to (0,0) 2022-02-05 12:34:08 +11:00
Ben V. Brown
89070e1f40 Merge branch 'master' into ts100-runaway 2022-02-05 12:32:33 +11:00
Ben V. Brown
15763dd55b Cleanup OLED_FLIP logic
Update OLED.hpp

Update OLED.hpp

Update OLED.hpp
2022-02-05 12:23:51 +11:00
Ben V. Brown
a461577ee2 Update PIDThread.cpp
Should use osDelay to be scheduler safe
2022-02-05 10:23:42 +11:00
Ben V. Brown
c38dfb6007 Dont wrap negative deltas 2022-02-05 09:59:45 +11:00
discip
eba52bfd5b removing HALL from unsupported devices _2 2022-02-04 23:43:13 +01:00
Ben V. Brown
a19b33c85e Take absolute value of hall sensor for debug menu 2022-02-05 09:05:15 +11:00
Christian Rahl
6a9c648b62 < the place where 2 spaces should have been. 2022-01-22 22:58:46 -05:00
Christian Rahl
9eaa66f063 Tomato tomatoo, tabss or spacess 2022-01-22 22:53:32 -05:00