Commit Graph

492 Commits

Author SHA1 Message Date
rusefillc 3a77efb9cc
Reduce heater supply stabilization delay from 3s to 0.5s (#276)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-11-13 14:20:52 -08:00
Matthew Kennedy c2cb3b9015 test heater state machine 2023-11-13 14:15:22 -08:00
Matthew Kennedy 7f5b7097e3 tests for heater output 2023-11-13 13:56:03 -08:00
Matthew Kennedy 5c128f4034 uninitialized variable! 2023-11-13 13:51:59 -08:00
Matthew Kennedy ff5b3ac3bb split heater thread and heater logic 2023-11-13 13:30:23 -08:00
Matthew Kennedy a7b081b882 extract heater class declaration 2023-11-13 12:55:48 -08:00
Matthew Kennedy ffbc6140c3 f1 configuration typo 2023-11-13 02:21:58 -08:00
Matthew Kennedy 0bbc32104d only reboot one controller at a time 2023-11-11 21:37:05 -08:00
Matthew Kennedy a4eb0f7e74 static 2023-11-11 17:58:47 -08:00
rusefillc 1b1103952f
let's have gcc help us (#278)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-11-03 20:27:49 -07:00
Matthew Kennedy 49734dec08 f0 loader 2023-08-09 13:36:38 -07:00
Matthew Kennedy 5e1bf36caa stub enough for tests to build? 2023-08-09 13:24:21 -07:00
Matthew Kennedy 6f8aca6ce4 extract sampling thread 2023-08-09 12:40:01 -07:00
Matthew Kennedy b7d64dc4f7 extract mk 2023-08-09 12:34:37 -07:00
Matthew Kennedy 58a09843eb extract sampler class 2023-08-09 12:31:49 -07:00
rusefillc 14f3a341f9
explicit struct fields (#272)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-07-22 15:34:22 -07:00
rusefillc b80b49753f
unused includes (#274) 2023-07-22 15:34:06 -07:00
rusefillc f833e13536
unused PWM api? (#273) 2023-07-22 15:33:56 -07:00
Matthew Kennedy c0609b0da2 remove GetInternalBatteryVoltage helper 2023-06-23 14:45:50 -07:00
Matthew Kennedy 2628d1d05c cycle 2023-06-23 14:41:40 -07:00
Matthew Kennedy d1c878bf13 kill off helpers to get heater/sampler stuff 2023-06-23 14:38:17 -07:00
Matthew Kennedy a8ac2698c4 class-ify HeaterController 2023-06-23 13:50:01 -07:00
rusefillc 324eae132a
Include elf files to deliver (#270)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-22 02:23:09 -07:00
rusefillc 2e06719ec5
f1_dual_rev1: no need in GD32 hack as rev1 use original STM32 (#269)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-22 02:22:58 -07:00
Matthew Kennedy b8f11741b5 heater uses sampling class 2023-06-20 17:26:54 -07:00
Matthew Kennedy 2907a5378f add isampler 2023-06-20 17:24:48 -07:00
Matthew Kennedy 6ebbe939ad extract sampling class 2023-06-20 17:09:44 -07:00
Matthew Kennedy e2791d8099 split out AnalogChannelResult 2023-06-20 16:58:47 -07:00
rusefillc 0f8fe7aec5
OpenBLT: shared params between BL and main FW (#268)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-15 02:04:08 -07:00
rusefillc 790232b778
f1_dual_rev1: enable OpenBLT by default (#267)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-15 02:03:36 -07:00
rusefillc b7004cd579
f1_dual_rev1: debug and no-bootloader build helper (#266)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-15 02:03:05 -07:00
rusefillc 8646d10067
OpenBLT reset functionality (#259)
* ts: support reset and reset to OpenBLT commands

(cherry picked from commit 2f2fca401d7dc9a29e806013efec4d41570dd613)

* f1_xxx: ini: reset commands

(cherry picked from commit 628994ba0a70901edb9b59360646aa195b3307cf)

* typo

* f1_xxx: ini: update signature

(cherry picked from commit 7aa57fe09c6c684855838e36c9b65d8ae3618a7a)

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-11 12:51:41 -07:00
rusefillc 7f0186705a
pump_dac: implement GetPumpOutputDuty() for DAC output (#265)
(cherry picked from commit 4ab46ce6c48f3a7fe9ad68e4254ac38b2845c872)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-07 00:10:14 -07:00
rusefillc 6021a5eb6f
max3185x: fix compilation warning (#264)
(cherry picked from commit 083defaaf2dd20498939ca5ddd40195a2484c33b)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-06-07 00:07:44 -07:00
Matthew Kennedy 1dd87975a3 missed include 2023-06-06 21:30:16 -07:00
Matthew Kennedy 11af5acbc1 now it actually fails? 2023-06-06 21:21:42 -07:00
rusefillc a454635612
TunerStudio: cleanup (#263) 2023-06-01 21:44:01 -07:00
rusefillc 51c2446889
f1_dual_rev1: OpenBLT (#261)
(cherry picked from commit 790de260f6e335a22737bb7d17d82687e620c838)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 16:08:21 -07:00
rusefillc 96a40b4da4
f1_common: fix MFS flash allocation for STM32F103RCT6 used on dual_rev1 (#260)
(cherry picked from commit 258d33e8a7b79846afd4e0db791d87476b9d2041)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 16:07:23 -07:00
rusefillc 4022b40b31
Sample script to flash using OpenBLT over CAN (#257)
(cherry picked from commit 4c877b63e44966f5373c264a3c82556ac9883761)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:49:57 -07:00
rusefillc bd4646d87c
f1_port: handle MFS errors (#258)
(cherry picked from commit b23b04edf24fabfd99461e7ca38ea165836645e6)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:49:11 -07:00
rusefillc d8f8783d8c
OpenBLT: extract common code for f1 boards (#255)
(cherry picked from commit b892ed7520b20f00f1dbae88001798453a5bb07d)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:17:22 -07:00
rusefillc 5ae6cfbb41
f1_dual_rev1: fix LD file (#254)
(cherry picked from commit e9c0a26692d5f7bd8c0f1c46a2fd9b74edd223bf)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:16:45 -07:00
rusefillc 4667e991d4
max3185x: support also max31856 (#253)
(cherry picked from commit 703985dc709afad2df0ff69d929751894da51b34)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:16:28 -07:00
rusefillc e52e4a0768
f1_dual_rev1: fix SPI1 remap (#252)
(cherry picked from commit 38037e8b46ea4f9c2dd370560e6138ed35ade2f7)

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 15:12:12 -07:00
rusefillc f8ad24484f
dual-rev1 Secondary uart settings (#247)
* f1_dual_rev1: secondary TS port (BT)

* f1_dual_rev1: two TS serial ports: primary over BT, secondary over J3

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 14:45:37 -07:00
rusefillc 025b687673
auxout: no need to invert PWM signal in software (#248)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 14:45:08 -07:00
rusefillc 9534851a66
livedata: temp is now packed int16 (#250)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-29 13:11:55 -07:00
rusefillc 94de9fd776
TS: report Nernst AC too, convert Nernst voltages to uint16 (#249)
* TS: report Nernst AC too, convert Nernst voltages to uint16

* TS: report Nernst AC too, convert Nernst voltages to uint16

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-05-03 14:51:34 -07:00
rusefillc 9519ad51dd
indication: advanced indication with per-channel status led (#235)
* indication: advanced indication with per-channel status led

(cherry picked from commit b486dfe682622c9835cf00457834cebf6e34da2f)

* f1_dual_rev1: enable advanced indication

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 13:18:05 -07:00