Matthew Kennedy
d1c878bf13
kill off helpers to get heater/sampler stuff
2023-06-23 14:38:17 -07:00
Matthew Kennedy
a588f15808
board can override CAN format
2023-03-28 00:01:21 -07:00
Matthew Kennedy
00cc305d02
GetCanConfig
2023-03-15 18:07:31 -07:00
rusefillc
2a6d13f57c
CAN: send data for all AFR channels ( #186 )
...
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2023-02-02 16:38:16 -08:00
Andrey G
1aa7c661f6
f1_rev and threads ( #173 )
...
* f1_rev3: high speed (strenght) for heater PWM output
* threads: set name for all thread
* f1_dual: enalbe CH_CFG_USE_REGISTRY so GDB can see thread
* f1_rev3: enalbe CH_CFG_USE_REGISTRY so GDB can see thread
2022-12-12 19:29:32 -08:00
Matthew Kennedy
f654cbd14b
don't keep two or three copies of the config
2022-12-02 01:46:23 -08:00
Andrey G
0a4a609db9
port: GetConfiguration() return reference, not copy ( #161 )
2022-09-19 15:27:08 -07:00
Andrey G
cddcd0d88c
Multichannel ( #134 )
...
* Multichannel AFR
* heater: fixes for multi channel mode
* f1_dual: fix configuration names
* pump_dac: fixes for multi-channel mode
* pwm: fixes for multichannel mode
* pump_control: reference instead of pointer
* sampling: reference instead of pointer
* heater_control: reference instead of pointer
* sampling: comment about heater/battery voltage
* f0_module: fixes for multi-channel update
* f1_rev2: fix for multichannel AFR
* hello rev 3
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-08-29 17:19:30 -07:00
rusefillc
4b79aa451e
refactoring: extract magic constant ( #133 )
2022-08-09 22:59:36 -07:00
rusefillc
124c403783
byteswap fix ( #108 )
...
* byteswap fix
* no usage even better
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-07-13 10:37:35 -07:00
rusefillc
1dc862229e
can: avoid stack overflow ( #77 )
...
(cherry picked from commit 6f15807902
)
Co-authored-by: Andrey Gusakov <dron0gus@gmail.com>
2022-06-25 17:27:33 -07:00
Matthew Kennedy
ea8c1a7d1a
send temperature for real
2022-05-18 23:49:34 -07:00
Matthew Kennedy
66b891bf79
heater controller pulls from CAN world instead of push
2022-04-06 01:22:09 -07:00
Matthew Kennedy
a376b54b55
report duty as float
2022-01-26 10:56:58 -08:00
Matthew Kennedy
6557809da2
send heater duty
2022-01-04 11:16:46 -08:00
Matthew Kennedy
79821c3d3f
change new format address to play nice
2022-01-01 21:05:58 -08:00
rusefillc
df47657a87
spelling ( #36 )
...
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-01-01 16:57:52 -08:00
rusefillc
28ac0c61f0
Can magic constants ( #26 )
...
* CAN api
* CAN api
* CAN api
* CAN api
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2021-11-08 11:01:16 -08:00
Matthew Kennedy
66f4921310
now it links
2021-11-07 22:53:20 -08:00
Matthew Kennedy
fb7d67ac7e
put esr in temp field fo rnow
2021-11-06 02:20:47 -07:00
Matthew Kennedy
4714f5cfef
remove aem format
2021-11-06 02:17:07 -07:00
Matthew Kennedy
f484c1ff41
extract definitions
2021-11-06 02:12:29 -07:00
Matthew Kennedy
d86f076c37
new format
2021-11-03 23:12:20 -07:00
Matthew Kennedy
1ce6981b53
rusefi data
2021-11-03 22:40:43 -07:00
Matthew Kennedy
18cc209f72
listen to heater enable bit
2021-07-15 21:50:22 -07:00
Matthew Kennedy
d645855adb
get battery voltage from CAN
2021-07-12 15:31:02 -07:00
Matthew Kennedy
475d7b8936
only read config when necessary
2021-05-19 00:53:52 -07:00
Matthew Kennedy
37ce153eac
clamp ESR value over CAN
2021-04-26 17:25:10 -07:00
Matthew Kennedy
c80d86f182
send extended
2021-03-17 23:40:15 -07:00
Matthew Kennedy
374b9aaf11
implement index set
2021-03-14 00:22:58 -08:00
Matthew Kennedy
1759245dca
move CAN to port
2021-02-25 22:57:44 -08:00
Matthew Kennedy
fc2640205d
default to index 0
2021-02-25 14:14:59 -08:00
Matthew Kennedy
9be84d5a2c
simplify can
2021-01-17 03:32:17 -08:00
Matthew Kennedy
0be5297d86
restrict bl entry msg
2020-12-19 14:56:22 -08:00
Matthew Kennedy
a0c9779b0c
set reserved bit
2020-12-15 16:41:19 -08:00
Matthew Kennedy
3a90d3aeed
log extra data over CAN
2020-12-15 15:01:38 -08:00
Matthew Kennedy
129cff8b49
can
2020-12-13 15:06:32 -08:00
Matthew Kennedy
3373f65dc4
allow FW to reboot to BL
2020-12-12 20:18:20 -08:00
Matthew Kennedy
17e6109aae
NART
2020-12-12 15:41:44 -08:00
Matthew Kennedy
00e07d5d93
fix can mode
2020-12-12 15:17:44 -08:00
Matthew Kennedy
fc01d42ddc
1 mbit
2020-12-12 02:09:01 -08:00
Matthew Kennedy
ea1f528aea
move CAN loop
2020-12-10 18:08:06 -08:00
Matthew Kennedy
7fca3663bb
emulate aem xseries
2020-12-08 23:16:47 -08:00
Matthew Kennedy
95d14ad170
correct CAN
2020-11-28 02:56:34 -08:00
Matthew Kennedy
f36033d0dd
can debug mode for now
2020-10-26 14:06:21 -07:00
Matthew Kennedy
545fd5575a
simplify
2020-09-19 20:32:33 -07:00
Matthew Kennedy
72c2c271fb
can
2020-09-19 16:50:55 -07:00