Commit Graph

559 Commits

Author SHA1 Message Date
Ben V. Brown
6e062bfa59 tip measurement 2022-06-20 20:23:11 +10:00
Ben V. Brown
60f9931b6e Show validation code 2022-06-16 23:41:52 +10:00
Ben V. Brown
5de5dd48a2 Shorter ID padding 2022-06-16 22:40:33 +10:00
Ben V. Brown
21811b7ad6 DrawHex dynamicLength 2022-06-16 22:40:21 +10:00
Ben V. Brown
222c251a98 Update BSP.cpp 2022-06-16 22:37:48 +10:00
Ben V. Brown
14750c474c Update BSP_Power.h 2022-06-16 22:37:44 +10:00
Ben V. Brown
af430eaaf0 Add device ID 2022-06-16 22:37:41 +10:00
Ben V. Brown
edaa75c2a6 Update USBPD.h 2022-06-16 21:47:03 +10:00
Ben V. Brown
ca0f35ceea Merge branch 'dev' of https://github.com/Ralim/IronOS into magic 2022-06-16 21:44:24 +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
3efc7a033c Merge remote-tracking branch 'origin/dev' into magic 2022-06-16 20:35:21 +10:00
Ben V. Brown
8c9f7d7a92 Lesser adc backoff 2022-06-16 20:30:50 +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
f5cb42c9d7 Infinite logo (#1309)
* Check for button timeout of infinite

* Dedupe

* Alpine bump
2022-06-16 20:21:30 +10:00
Ben V. Brown
e233b3ec14 Update PIDThread.cpp 2022-06-16 20:18:52 +10:00
Ben V. Brown
74b74c3e35 ADC Setup 2022-06-16 20:18:37 +10:00
discip
e2eea84e36 removed some more redundant entries (#1312) 2022-06-14 15:12:20 +10:00
Ben V. Brown
df1c7c4659 Can read same ADC twice in a row 2022-05-30 20:22:48 +10:00
Ben V. Brown
273f279921 Update configuration.h 2022-05-24 23:32:53 +10:00
Ben V. Brown
9fd1d366b9 Make adc range scalable 2022-05-24 23:31:45 +10:00
Ben V. Brown
7c6534a339 ADC tweaking 2022-05-24 22:44:24 +10:00
Ben V. Brown
2f117ca18e Tweaking ADC 2022-05-24 19:59:25 +10:00
Ben V. Brown
ad6d90dc8d better adc settings 2022-05-24 19:30:55 +10:00
Ben V. Brown
9decdcc89c Scratch out resistance awareness of the tip 2022-05-23 22:25:00 +10:00
Ben V. Brown
75b3f09438 Rough tip resistance progress 2022-05-23 21:42:56 +10:00
Ben V. Brown
226750df4c Correct adc gain 2022-05-23 19:34:33 +10:00
Ben V. Brown
4e95cb47a7 NTC thermistor 2022-05-23 19:11:39 +10:00
Ben V. Brown
8e0d2d41f5 Cleanup 2022-05-23 18:48:54 +10:00
Ben V. Brown
2f54bc5889 Update to prod model 2022-05-23 18:17:04 +10:00
discip
cc269361b5 Merge pull request #2 from discip/patch-2
Update Font.h
2022-05-04 00:18:15 +02:00
discip
9ec92298f3 Update Font.h 2022-05-04 00:17:34 +02:00
discip
c0bde3c678 Merge pull request #1 from discip/patch-2
Update Power.cpp
2022-05-04 00:15:59 +02:00
discip
a5975b3385 Update Power.cpp 2022-05-04 00:13:46 +02:00
discip
14eb587856 Update Pins.h 2022-05-04 00:10:44 +02:00
Ben V. Brown
289f770f95 Working settings save & restore 2022-04-22 19:01:57 +10:00
Ben V. Brown
49be70c667 Draft flash settings 2022-04-22 18:22:33 +10:00
Ben V. Brown
848863003d Remove unused hal 2022-04-22 18:22:24 +10:00
Ben V. Brown
1c4dfd8f5f Wake PID after ADC 2022-04-21 18:30:18 +10:00
Ben V. Brown
8ea1edf7a7 Tuning in ADC 2022-04-21 18:25:14 +10:00
Ben V. Brown
82a8eb5a2c Remove boot banner 2022-04-20 21:21:56 +10:00
Ben V. Brown
92f4e2060c Silence 2022-04-20 21:19:07 +10:00
Ben V. Brown
3a82210b73 ADC timing faster + timer without HAL 2022-04-20 21:18:01 +10:00
Ben V. Brown
25283e434f Stable enough ADC 2022-04-19 22:23:48 +10:00
Ben V. Brown
f397e49533 Hookup PWM 2022-04-19 19:39:59 +10:00
Ben V. Brown
7e93e196e2 qc draft 2022-04-19 19:38:04 +10:00
Ben V. Brown
8531d2222a Working PWM init 2022-04-19 19:37:57 +10:00
Ben V. Brown
2ab5c83e52 Cleanup 2022-04-19 18:10:16 +10:00
Ben V. Brown
5853261ddf I2C wake part workaround 2022-04-19 17:47:38 +10:00
Ben V. Brown
1b562c6466 Update version.h 2022-04-19 09:20:53 +10:00