Commit Graph

691 Commits

Author SHA1 Message Date
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
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
Matthew Kennedy 9c938db3b8 Merge branch 'master' of https://github.com/mck1117/wideband 2023-06-06 21:15:57 -07:00
Matthew Kennedy 7a45c97dff x 2023-06-06 21:15:56 -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