Matthew Kennedy
17acd065d3
cherry-pick timer from ECU and use it for sequencing logic ( #289 )
...
* enable timestamp api
* add timer class
* use unsigned integer for timestamps
* heater uses timers
* timer mocking and test adjustment
2023-11-15 17:42:37 -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
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
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
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
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
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
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
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
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
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
rusefillc
b1bf9bf185
Rev 1pwm ( #242 )
...
* f1_dual_rev1: fix analog aux output PWM definitions
(cherry picked from commit 50e346dfcb9f223c6e0ee6cdc700cb376b536834)
* fix pwm definitions
(cherry picked from commit ce9e69b997290bbd7abcfe5af2926b1d556070cf)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-05-03 11:46:32 -07:00
rusefillc
c7a8365ea3
f1_dual_rev1: update ADC, measure Un_sense, avoid clamping ( #244 )
...
(cherry picked from commit 26f12766968a1999e1f12e06720ecbc334a91add)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-28 22:02:09 -07:00
rusefillc
8bd19fcc2c
Aux2 ( #243 )
...
* auxout: manually fill pwm config
(cherry picked from commit a01876bc034264de5d6930bf2cc49cf0fc0cbb0a)
* auxout: some boards use primary PWM outputs instead of complementary
(cherry picked from commit c13b95441e7b284a36445c261199e96580e94ebd)
* auxout: implement ripple cancelation using inverted PWM
(cherry picked from commit 77cbc04990421b24021639b098ea6040af3a12f8)
* f1_common: default AUXOUT value is AFR voltage
with 'default' scaling 8.5 to 18.0 AFR is represented with 0.0 to
5.0V
(cherry picked from commit 0c62ab8f509ff0ab3ab4260e308ad4b55bd64e40)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-28 22:01:13 -07:00
rusefillc
25c5e249d9
Dual 1 ( #241 )
...
* f1_dual_rev1: add pinmux settings for port F and G
To supress compiler warning.
(cherry picked from commit 89876fe8eaad933308b63a4b0b1666deb75bfc84)
* f1_dual_rev1: fix remaps
-disable JTAG to free PA15, PB3, PB4
-use SPI3 for EGT chips without remaping
(cherry picked from commit 598f1aa0779ba6e90ccf2eb74445d074f2bfbc75)
* f1_dual_rev1: disable unused TIM1, TIM2
(cherry picked from commit 9e71c3813fd09c080c0eb2f1e63fe82b475efb4f)
* f1_dual_rev1: run at 72MHz from HSE
(cherry picked from commit eaa4577ef85bdfdba637c203646883202a1f8e02)
* f1_dual_rev1: fix can timings
(cherry picked from commit 6437b3d92047adefe6534efaa57062bdda449d37)
* f1_dual_rev1: add CAN timings for 125L, 250K and 1Mbps
(cherry picked from commit bc988d10dda43bfc8b4566de274e3b99bc6b8a5e)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 14:12:48 -07:00
rusefillc
ef1c89a51d
Dual rev1 ( #229 )
...
* f1_dual: revision 1
(cherry picked from commit 855585fcf66d5ca8d1d549236c1c472bbfcaa356)
* github: build f1_dual_rev1
(cherry picked from commit 8ac01d43831b5231303a430cdf56fcabafe9c990)
* pump_dac: support DAC as utput interface
(cherry picked from commit 5240ec1a9ed88110e63785b1611223bb4f6a023c)
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:56:27 -07:00
rusefillc
5c06f03439
doc ( #237 )
2023-04-27 12:53:37 -07:00
rusefillc
27deaf524b
doc ( #234 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-04-27 12:53:21 -07:00
rusefillc
b5947eab1d
doc ( #233 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-27 12:53:15 -07:00
rusefillc
2f90b66fdb
f1_rev2: remove duplicated definitions ( #227 )
...
(cherry picked from commit 10b482e759cf2f0aa0d55e53ad540737586e3991)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 16:25:44 -07:00
rusefillc
0abaae13e7
f1_dual: remove duplicated definitions ( #224 )
...
(cherry picked from commit 57b3ac51770fb7676d1bd93daac9384d44f18667)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-04-17 14:08:45 -07:00
rusefillc
26564a0efc
More on magic constants ( #223 )
...
* More on magic constants
* More on magic constants
* More on magic constants #223
2023-04-12 19:46:30 -07:00
Matthew Kennedy
0b27e6a8e7
Merge branch 'master' of https://github.com/mck1117/wideband
2023-03-27 23:08:08 -07:00
Matthew Kennedy
0e1161b6d7
cleanup
2023-03-27 23:08:05 -07:00
rusefillc
ebc39b3690
f1_rev3: used MCU has gpio port F and G (in bigger package) ( #221 )
...
Set safe state for gpio ports F and G to keep compiler happy.
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-03-24 14:59:06 -07:00
rusefillc
e9343db75f
fail fast ( #216 )
...
* fail fast
* More of bash magic
---------
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-21 11:20:48 -07:00
Matthew Kennedy
85e61227ab
this is port specific
2023-03-15 18:08:40 -07:00
Matthew Kennedy
00cc305d02
GetCanConfig
2023-03-15 18:07:31 -07:00
Matthew Kennedy
120b37c4b7
Merge branch 'master' of https://github.com/mck1117/wideband
2023-03-06 21:28:36 -08:00
Matthew Kennedy
9c7b9364c7
don't need to specify full path, just folder for dst
2023-03-06 21:28:31 -08:00
rusefillc
84c7c4c576
time to squash ( #213 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 21:26:32 -08:00
Matthew Kennedy
43def3f982
output to deliver dir, so that ci picks it up
2023-03-06 21:12:49 -08:00
rusefillc
fa2b205583
Openblt composite hex ( #212 )
...
* composite OpenBLT+Wideband hex file
* Install srecord for srec_cat
---------
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2023-03-06 01:32:34 -08:00
Andrey G
a9bc33abbd
LSU type from settings ( #207 )
...
* port: per-board SetupESRDriver() and GetESRSupplyR() functions
* Pick sensor type from settings
* f1_rev2: build helper for LSU4.2 FW
2023-02-25 11:46:36 -08:00
rusefillc
6d908fb110
f1_dual: sample PWM pins first than do math ( #190 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-04 18:21:22 -08:00