Commit Graph

122 Commits

Author SHA1 Message Date
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
Christian Rahl
d91253a95b Clang 2.0 2022-01-22 22:51:19 -05:00
Christian Rahl
bf7909123c CLANG HATES ME 2022-01-22 22:45:00 -05:00
Christian Rahl
7bb5b6adb7 Added Ifdef to check against if the hall sensor is available to read. If not, read back OFF. 2022-01-22 22:30:15 -05:00
Christian Rahl
05f38b096c Add new debug menu item to view raw hall effect sensor output. 2022-01-22 19:33:24 -05:00
discip
f1addbf9a0 Update GUIThread.cpp 2022-01-19 22:40:39 +01:00
discip
cb7756d381 Update GUIThread.cpp 2022-01-19 02:08:03 +01:00
discip
7db7a11787 even a bit less code 2022-01-08 17:38:38 +01:00
discip
4989a030d5 flipped DisconnecetedTip Icon gets now generated 2022-01-08 16:56:52 +01:00
Ben V. Brown
37418047a0 Merge branch 'master' into settings 2022-01-07 00:14:32 +11:00
discip
d7b759c534 fixed detailed view for lefties 2022-01-06 02:30:45 +01:00
discip
761bafad83 fixed detailed view for lefties 2022-01-06 02:13:38 +01:00
Ben V. Brown
52f0d5242a Update GUIThread.cpp 2022-01-05 21:04:33 +11:00
Ben V. Brown
827308f691 Add some rounding 2022-01-05 21:00:14 +11:00
Ben V. Brown
26c7d0f2cb Clean up soldering temp adjust button handling 2022-01-05 20:41:38 +11:00
Ben V. Brown
4dce812cf9 Merge pull request #1098 from discip/disconnected-tip
Disconnected tip pic in detailed idle screen
2021-12-20 09:28:47 +11:00
discip
73bedf3981 Update GUIThread.cpp 2021-10-28 19:48:14 +02:00
discip
d72b27543b Merge branch 'master' into disconnected-tip 2021-10-02 13:30:06 +02:00
Ben V. Brown
3594604efc Fixes for I2C on Pinecil + USB-PD stack (#1099)
* Remove unused includes

* Adding in submodule

* Move fusb functions to the BSP

* Remove old code

* Creating IronOS PD integration wrapper

* Redirect to wrapper

* pd lib updates

* fix Docker build

* Finish linking across

* Cleanup

* Update Makefile

* Update push.yml

* Update push.yml

* PD -> Compensate for different tick rates

* Update codeql-analysis.yml

* Fix PD #define for @Firebie

* Check irq low at start

* Update BSP.h

* Update main.cpp

* Closer delay

* Update OLED.cpp

* Bugfix trying to start QC too early

* Missing fusb shouldnt hang qc

* Update FreeRTOSConfig.h

* Update the GD drivers

* Update Pinecil IRQ setup

* Redirect printf() to uart

* Update Power.cpp

* Adding extras to PD state

* Update USBPD.cpp

* Delay in printf

* Iterate once before delay on start

* Update usb-pd

* master usb-pd now

* Format gd libs

* Update gd32vf103_bkp.c

* Guard with PD timeout

* Remove CodeQL

* Slow for testing, fix runt pulses at start

* Fix runt pulse in read size 1

* Cleaner probing setup

* Testing delay during stop gen in read 1

* Update I2C driver

* Update gd32vf103_i2c.c

* Cleaning up i2c wrapper a little, given up on dma for rx

* Update preRTOS.cpp

* Update Setup.cpp

* Update MOVThread.cpp

* Slow down UART to work with new clock config

* Better ack setup for 2 byte read

* Cleanup POW_PD so cant be lost in #includes

* tipResistance -> TIP_RESISTANCE

* handle NOP race on len==2

* Update configuration.h

* Dont use neg timeout to mask anymore

* Not required for MHP

* Fix up source display Miniware

* Fix race on PD init

* Update POWThread.cpp

* Update formatting

* MHP format

* Update push.yml

* Faster TS80P I2C

* Bugfix for IRQ handlers

* Correctly handle I2C race on PD access

* Fix CI error (unused var) and MHP IRQ

* Test Pinecil alt ADC mode
2021-10-02 14:48:58 +10:00
discip
994be53ae4 Update GUIThread.cpp 2021-10-01 02:12:18 +02:00
Ben V. Brown
9964b6ee31 Use new power names 2021-09-26 07:58:33 +10:00
discip
5105f91621 Update GUIThread.cpp 2021-09-25 03:13:16 +02:00
Ben V. Brown
a936eee83e Define array of Accelerometer names 2021-09-25 10:35:23 +10:00