Commit Graph

182 Commits

Author SHA1 Message Date
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
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
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
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
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
9df9f597eb Cleanup 2022-04-18 22:41:25 +10:00
Ben V. Brown
c3b88dc2a5 Working c++ 2022-04-18 22:32:41 +10:00
Ben V. Brown
bb28bb45b5 Trying to chase down why __libc_init_array isnt working yet 2022-04-18 22:27:25 +10:00
Ben V. Brown
ecf36b9b0a Accel on 2022-04-18 21:26:33 +10:00
Ben V. Brown
e53c657798 Poking IRQ 2022-04-18 21:23:07 +10:00
Ben V. Brown
c56772a779 Slow down I2C 2022-04-18 20:09:07 +10:00
Ben V. Brown
5edd735f72 Buttons working 2022-04-18 19:46:47 +10:00
Ben V. Brown
24c424c9d8 Update IRQ.cpp 2022-04-18 19:24:43 +10:00
Ben V. Brown
0c13aae5f0 Format adc headers 2022-04-18 19:24:23 +10:00
Ben V. Brown
fc1f28f2b8 Working scheduling of ADC 🎉 2022-04-18 19:21:40 +10:00
Ben V. Brown
1d9b4d851e Starting ADC setup 2022-04-13 21:27:04 +10:00
Ben V. Brown
8ec723a749 Roughing out scheduling timer0 2022-04-13 20:46:51 +10:00
Ben V. Brown
dda595a2e8 Turn off I2C reading for now 2022-04-13 18:28:22 +10:00