Commit Graph

651 Commits

Author SHA1 Message Date
Matthew Kennedy 2469315a35 EOL in build yaml 2023-11-15 16:20:34 -08:00
rusefillc 9e2cea57ab
TS: send Ok response on Reset/Reboot commands to make TS happy (#285)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-11-15 00:36:22 -08:00
rusefillc 9cd5c23d7a
Mess (#282)
* f1_dual_rev1: fix Heater vs Battery naming mess

* f1_dual: fix Heater vs Battery naming mess

* fix f1_dual_rev1

---------

Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-11-14 22:22:32 -08:00
Matthew Kennedy e7bc7132d9 Merge branch 'master' of https://github.com/mck1117/wideband 2023-11-13 15:02:15 -08:00
Matthew Kennedy b57bee77fc LSU ADV getPhi 2023-11-13 15:02:13 -08:00
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 b3b73135a6 unit test debug launch config 2023-11-13 13:56:11 -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 ce7d85ccc5 werror=unused-function 2023-11-13 13:15:36 -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 013a016a62 add CAN format DBC file 2023-09-22 18:28:37 -07:00
Matthew Kennedy 1996043323 accurate comment 2023-08-09 13:47:19 -07:00
Matthew Kennedy 1d7c2284e8 test sampler AC 2023-08-09 13:44:12 -07:00
Matthew Kennedy 1897917dd7 dc sampler test 2023-08-09 13:36:48 -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 a84e35edb5 can we link real logic in test? 2023-08-09 12:42:16 -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
Matthew Kennedy d549b42629 stub some tests 2023-08-09 12:26:56 -07:00
rusefillc b73770fe85
bugfix: adding brackets for proper Operator Precedence (#275)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-08-09 11:59:46 -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 6627ba6c89 test ci 2023-06-23 15:05:23 -07:00
Matthew Kennedy 0451c6ba00 tests build and run! 2023-06-23 15:04:04 -07:00
Matthew Kennedy 1d66716c62 add gtest 2023-06-23 15:02:04 -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