Commit Graph

585 Commits

Author SHA1 Message Date
Ben V. Brown
a24d0ff44f Tip res =0 protection 2022-07-07 22:07:48 +10:00
Ben V. Brown
41dee449ce Get Thermal mass 2022-07-07 22:07:33 +10:00
Ben V. Brown
0d248a601b Hold PD negotiation until detection is done for tip res 2022-07-01 20:01:59 +10:00
Ben V. Brown
1b43f71a2e Add tip resistance view 2022-07-01 19:37:13 +10:00
Ben V. Brown
39b7fe1e45 QC3 2022-07-01 17:54:59 +10:00
Ben V. Brown
7614a5b92b Fix timer output 2022-07-01 17:54:54 +10:00
Ben V. Brown
e174dba676 Update BSP.cpp 2022-06-28 09:57:03 +10:00
Ben V. Brown
62db8af8ce Perform pow step after PPS 2022-06-24 23:40:39 +10:00
Ben V. Brown
c7dbaea08a Fix > 25V input 2022-06-24 23:40:26 +10:00
Ben V. Brown
19acd7ace2 EPR 2022-06-24 23:40:19 +10:00
Ben V. Brown
5136d44c26 Rough handler for capabilities 2022-06-24 18:03:12 +10:00
Ben V. Brown
be02d60f75 Better gui for showing pd specs 2022-06-24 18:03:03 +10:00
Ben V. Brown
92eaadcaa1 EPR decode 2022-06-24 15:37:59 +10:00
Ben V. Brown
8c7cfcd06f io 2022-06-24 15:37:55 +10:00
Ben V. Brown
86d6715c79 Update usb-pd 2022-06-24 09:25:26 +10:00
Ben V. Brown
72fc02ea71 Update power.cpp 2022-06-24 09:25:17 +10:00
Ben V. Brown
ec25561d4c Update bl702_pwm.c 2022-06-23 23:53:19 +10:00
Ben V. Brown
f7078da587 PD cleanups 2022-06-23 22:45:29 +10:00
Ben V. Brown
c4973a07b0 Safer PWM Init 2022-06-23 22:45:10 +10:00
Ben V. Brown
0177ba124e Logic refactor 2022-06-21 23:33:51 +10:00
Ben V. Brown
069034093a wip starting epr 2022-06-21 22:57:38 +10:00
Ben V. Brown
85f30f2da6 Device validation 2022-06-21 20:52:05 +10:00
Ben V. Brown
51ad2f71c7 crc32 2022-06-21 20:51:47 +10:00
Ben V. Brown
9fb063ba29 Enable debug 2022-06-21 20:51:42 +10:00
Ben V. Brown
b29bcb7cc3 Expose w0 w1 2022-06-21 20:51:31 +10:00
Ben V. Brown
994f6d8381 Create access for w0w1 2022-06-21 18:25:38 +10:00
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