Commit Graph

9833 Commits

Author SHA1 Message Date
Matthew Kennedy 1c473934b9
plumbing for multiple vvt (#2488)
* plumb multiple vvt

* fix test

* s

* fix barra while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 07:39:23 -04:00
Matthew Kennedy ce033e04bb
add setup script for linux environment (#2486)
* fix

* setup script

* chmod

* gdb
2021-03-24 21:39:49 -04:00
GitHub set-date Action 7a0b43a255 Update date 2021-03-25 00:29:25 +00:00
GitHub set-date Action a4a4381c40 Update date 2021-03-24 00:49:15 +00:00
GitHub build-firmware Action d215291ad5 Auto-generated configs and docs 2021-03-24 00:29:05 +00:00
Matthew Kennedy 59ffc57adc
fix (#2485) 2021-03-23 20:27:10 -04:00
GitHub build-firmware Action 47c896f008 Auto-generated configs and docs 2021-03-23 19:20:23 +00:00
Matthew Kennedy c33d225d19
vvt ui (#2484) 2021-03-23 15:18:36 -04:00
GitHub set-date Action d1ff1d35c1 Update date 2021-03-23 00:48:35 +00:00
Matthew Kennedy 51a5b4d6d5
rename setBoardConfigurationOverrides (#2479)
* rename

* proteus

* comments

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-22 14:15:09 -04:00
GitHub build-firmware Action 2eaa6de822 Auto-generated configs and docs 2021-03-22 11:54:44 +00:00
Matthew Kennedy 5e88376e2c
barra vvt cam pattern (#2483)
* barra vvt cam pattern

* two tooth sync

* I think this needs to be here too
2021-03-22 07:48:29 -04:00
GitHub set-date Action 00816dd534 Update date 2021-03-22 00:49:10 +00:00
Matthew Kennedy c19f8da5d2
fix (#2478) 2021-03-20 22:07:52 -04:00
GitHub set-date Action 37b3f45160 Update date 2021-03-21 00:51:23 +00:00
rusefillc b90dfd5414 time_since_boot should be used in MAIN_RELAY_LOGIC #2258
safer implementation for now
2021-03-20 12:47:02 -04:00
Andrey G 89b631a794
Hip9011 and cleanups (#2477)
* hip9011: move hipCs out of EnginePins to hip9011 driver

* hip9011: cleanup debug output, save few RAM bytes

* Supress few signed vs unsigned warnings
2021-03-20 08:40:36 -04:00
GitHub set-date Action a768a2ae47 Update date 2021-03-20 00:48:31 +00:00
Matthew Kennedy 2196c7f9e8
embiggen MSD stack (#2475) 2021-03-19 19:56:47 -04:00
GitHub build-firmware Action fac82ed2fe Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
Matthew Kennedy 599a9b0183
USB uses its own channel, add implementations for serial channels (#2472)
* USB uses its own channel

* revise channels

* put serial ports in their own file

* h7 uart incompatible for now

* guard for sim
2021-03-19 17:05:04 -04:00
Matthew Kennedy 650d148008
Usable fuel consumption data/gauges (#2474)
* fuel consumption

* gauge names

* consumers

* obd

* binary logging

* doesn't need explicit constructor

* getters

* it works

* correct for injections per cycle

* datalog

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 17:04:42 -04:00
GitHub build-firmware Action b0948589ac Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
Matthew Kennedy 95b08c433f
Implement nonlinear fuel level sender (#2473)
* table function

* config fields

* sensor type

* switch consumers

* init the sensor

* ui

* 1mv resolution

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-19 08:39:08 -04:00
GitHub set-date Action 5a2cc14a46 Update date 2021-03-19 00:49:12 +00:00
Matthew Kennedy d7698f6703
Dedicated code path for USB console/TS (#2465)
* new apis

* dedicated USB path

* move decl

* init

* don't init usb twice

* guard

* check that we're initialized before using TS

* comment

* guard

* guard USB

* brain doesn't go good

* make tests happy

* dead define

* cypress

* ifdef != if

* s

* include priority

* don't start a thread we know we don't need

* bad-ish merge

* const

* why did this code exist...?

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-18 14:07:22 -04:00
Matthew Kennedy 57a26a7a76
fix (#2471) 2021-03-18 04:02:32 -04:00
GitHub set-date Action 16c5ba4757 Update date 2021-03-18 00:48:10 +00:00
Matthew Kennedy be70524ced
harden against various no-boot scenarios (#2468)
* zero length trigger

* validate config

* validate cylinder count

* wrong type on cylinder count

* invalid comment

* invalid SPI
2021-03-17 09:24:13 -04:00
Matthew Kennedy 248e9636db
extract CAN TS channel (#2469)
* extract CAN channel

* this is gross
2021-03-17 08:39:13 -04:00
GitHub set-date Action e0fae16fb5 Update date 2021-03-17 00:48:26 +00:00
Andrey G d9521d549e
Enable trigger stimulation after HW timer initialized (#2466)
To avoid 'CRITICAL error: hwTimer not alive' error
2021-03-16 17:31:30 -04:00
GitHub set-date Action c1d07f99ec Update date 2021-03-16 00:47:02 +00:00
Matthew Kennedy ea06358f14 more 2021-03-15 17:12:34 -04:00
Matthew Kennedy 16dfd7506f this syntax was technically illegal 2021-03-15 17:12:30 -04:00
Matthew Kennedy a931928a61 type signature, guards 2021-03-15 17:11:11 -04:00
rusefillc d1b4e9c4ca Potato Chip Day 2021 Release 2021-03-15 13:57:47 -04:00
Matthew Kennedy 3072d54717
dead code, warnings (#2461) 2021-03-15 10:23:19 -04:00
Matthew Kennedy a9c8b39dac
set 50% target for ETB autotune (#2459)
* 50% target for autotne

* pass target in

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-15 08:54:55 -04:00
rusefillc 046f486b62 VAG MQB 2021-03-14 21:20:02 -04:00
GitHub set-date Action 481e060586 Update date 2021-03-15 00:48:29 +00:00
Matthew Kennedy 1dd2180f76
VVT uses closed loop controller framework (#2453)
* vvt uses framework

* builds

* rename, update headers

* s

* testable

* write some basic tests

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-14 19:31:46 -04:00
Matthew Kennedy 9d7436c062
implement ads1015 driver (#2458)
* first approximation of ads1015

* fix ads

* misc

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-14 19:02:42 -04:00
rusefillc ef65c01a40 VAG MQB 2021-03-14 17:40:33 -04:00
GitHub build-firmware Action ee5e73b446 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
rusefillc 72aa619353 VAG MQB 2021-03-14 17:27:26 -04:00
GitHub build-firmware Action 426eed50c4 Auto-generated configs and docs 2021-03-14 21:22:47 +00:00
Matthew Kennedy 831d272be3
Add set wideband index buttons (#2455)
* update wideband firmware

* implement index set

* bench test, error on failure

* guard wideband
2021-03-14 17:20:50 -04:00
rusefillc 1a45379bb9 fix error/warning buffer overflow #2456 2021-03-14 09:53:15 -04:00
rusefillc cf4068f54a fix error/warning buffer overflow #2456 2021-03-14 09:52:27 -04:00