Commit Graph

9853 Commits

Author SHA1 Message Date
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
Matthew Kennedy b56a31143e
fix error/warning buffer overflow (#2456)
* fix error printing overflow

* make the worst offender shorter

* error as warning

* these don't need that flag set
2021-03-14 09:31:11 -04:00
GitHub set-date Action 0b56cad228 Update date 2021-03-14 00:50:10 +00:00
rusefillc 19e108b3e7 poke 2021-03-13 16:33:05 -05:00
Matthew Kennedy 5a003f8638
use full memory on STM32F42x (#2450)
* linker script

* hook it up
2021-03-13 07:26:58 -05:00
Matthew Kennedy 4d69ae7fc7
put back (#2452) 2021-03-13 06:59:33 -05:00
rusefillc 8e7846342f false positive GHA drama #2446
poke #4
2021-03-12 23:39:31 -05:00
rusefillc d9d5745d5e false positive GHA drama #2446
poke #3
2021-03-12 23:39:10 -05:00
Matthew Kennedy 2328c1be6b
Fuel pressure sensor checks (#2449)
* test for missing sensor

* test negative pressure delta checking logic

* test new hasSensor logic
2021-03-12 23:32:41 -05:00
rusefillc 0a4ca92b93 false positive GHA drama #2446
poke#2
2021-03-12 23:23:14 -05:00
rusefillc cc3e7f59d4 false positive GHA drama #2446
poke
2021-03-12 23:22:52 -05:00
GitHub build-firmware Action bc7a97e46a Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
rusefillc 7fb8d7f883 is gen_config invoked too often now? #2387 2021-03-12 23:15:18 -05:00
GitHub build-firmware Action efeb3d9289 Auto-generated configs and docs 2021-03-13 03:33:50 +00:00
rusefillc f5ae646aa9 is gen_config invoked too often now? #2387 2021-03-12 22:27:16 -05:00
rusefillc 122fe16db7 is gen_config invoked too often now? #2387 2021-03-12 22:25:03 -05:00
GitHub build-firmware Action 3266dc1e6d Auto-generated configs and docs 2021-03-13 02:26:53 +00:00
rusefillc 97e34510d0 false positive GHA drama #2446
test poke
2021-03-12 21:22:48 -05:00
GitHub set-date Action 29981cc0b9 Update date 2021-03-13 00:46:26 +00:00
GitHub build-firmware Action 05cc3b0129 Auto-generated configs and docs 2021-03-12 05:52:29 +00:00
rusefillc d3fa173c3c Merge remote-tracking branch 'origin/master' into master 2021-03-12 00:50:08 -05:00
rusefillc 490d3a6957 test_timer 2021-03-12 00:43:48 -05:00
GitHub build-firmware Action aba69aa4a7 Auto-generated configs and docs 2021-03-12 05:18:18 +00:00
Matthew Kennedy b087f328f7
default config, UI tweaks (#2444)
* s

* fix this while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-12 00:16:24 -05:00
GitHub build-firmware Action 37038eaaa2 Auto-generated configs and docs 2021-03-12 04:19:00 +00:00
rusefillc 16b8fb64ca vBatt -> SensorType::vBatt fix #2260 2021-03-11 23:07:18 -05:00
rusefillc d650271077 vBatt -> SensorType::vBatt #2260 2021-03-11 22:52:34 -05:00
rusefillc c7d8997a3a vBatt -> SensorType::vBatt #2260 2021-03-11 22:44:59 -05:00
rusefillc b8de6388cf Merge remote-tracking branch 'origin/master' into master 2021-03-11 22:44:11 -05:00
rusefillc 0c293384dd my bad 2021-03-11 22:42:59 -05:00
GitHub set-date Action 5a25ba7869 Update date 2021-03-12 00:47:42 +00:00
GitHub build-firmware Action e832e4c40b Auto-generated configs and docs 2021-03-11 19:11:45 +00:00
rusefillc f070382d6c "onTime above limit %dus", TOO_FAR_INTO_FUTURE_US 2021-03-11 14:05:15 -05:00
GitHub build-firmware Action fc918ddd02 Auto-generated configs and docs 2021-03-11 13:40:39 +00:00
Matthew Kennedy e0763c6994
stop trigger emulator PWM when disabled (#2443)
* simplify trig emulator

* spelling is hard

* fix various builds

* spelling again

* add command/button for external stimulation

* enable hw stim for HW-in-loop test

* s

* I does spelling good

* clear flag when disabled

* generate enough for console build

* don't disable that

* this test needs external stimulation enabled

* import

* ui improvements

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-11 08:38:52 -05:00
GitHub build-firmware Action af21cd11b5 Auto-generated configs and docs 2021-03-11 04:22:28 +00:00
rusefillc 54d206fdb7 Merge remote-tracking branch 'origin/master' into master 2021-03-10 23:20:36 -05:00
rusefillc e3c034cfc3 Life in the Cracks 2021 Release 2021-03-10 23:20:22 -05:00
GitHub build-firmware Action e9b9572181 Auto-generated configs and docs 2021-03-11 02:16:35 +00:00
rusefillc 82857dad8a Merge remote-tracking branch 'origin/master' into master 2021-03-10 21:11:16 -05:00
rusefillc 83533fd7f8 changelog update 2021-03-10 19:56:30 -05:00
GitHub build-firmware Action 3c355f8825 Auto-generated configs and docs 2021-03-11 00:54:18 +00:00
Matthew Kennedy df5403356c
fix h7 adc (#2442) 2021-03-10 19:52:39 -05:00
GitHub set-date Action ecf0e9762f Update date 2021-03-11 00:48:02 +00:00
GitHub build-firmware Action 2eb3a17dba Auto-generated configs and docs 2021-03-10 22:31:48 +00:00
Matthew Kennedy 208088847b
accurate bench test (#2441)
* accurate bench test

* allow shorter pulses
2021-03-10 17:30:13 -05:00
GitHub set-date Action 112aa4f57f Update date 2021-03-10 00:47:24 +00:00
GitHub build-firmware Action 00e610672f Auto-generated configs and docs 2021-03-09 23:55:38 +00:00
Matthew Kennedy 40c4238f13
enable CAN on H7 (#2393)
* enable

* guard correctly

* h7 bit timing

* allow longer frames

* allow data smaller than maximum

* mcu temperature

* typo

* tx message

* testing

* check for CAN or FDCAN

* don't need that any more

* h7 bitrate config

* undo testing

* h7-ify msg tx

* comment

* break out SID/EID macros

* guard differently

* update ChibiOS

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-09 18:54:01 -05:00
GitHub build-firmware Action 3b6d5e9b24 Auto-generated configs and docs 2021-03-09 13:45:05 +00:00
Matthew Kennedy 990c3649ae
logging cleanup before refactor (#2438)
* minor cleanup

* more cleaning

* signature

* spelling

* doy
2021-03-09 08:43:29 -05:00
GitHub set-date Action 6fb640ad96 Update date 2021-03-09 00:46:44 +00:00
GitHub build-firmware Action 7dd7d45c7a Auto-generated configs and docs 2021-03-09 00:20:19 +00:00
Matthew Kennedy 428aaca5c5
ETB uses error accumulator (#2435)
* error accumulator

* makefile

* accumulate ETB error

* comment

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-08 19:18:35 -05:00
GitHub build-firmware Action 7974f6d11a Auto-generated configs and docs 2021-03-08 19:52:22 +00:00
Matthew Kennedy 96a14fd649
ADC cleanup, enable oversampling on H7 (#2437)
* cleanup v2 adc

* simplify

* oversample on h7

* output 16b result

* port-ify ADC_MAX_VALUE

* simplify include

* guard for cypress

* make sim/tests happy

* 16x oversample + comment

* this check is uesless

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-08 14:50:50 -05:00
GitHub build-firmware Action b4f1fedc9e Auto-generated configs and docs 2021-03-08 12:42:18 +00:00
Matthew Kennedy 053835a1c0
error accumulator (#2434)
* error accumulator

* makefile
2021-03-08 07:40:46 -05:00
GitHub build-firmware Action 6afd9f25b5 Auto-generated configs and docs 2021-03-08 05:02:53 +00:00
rusefillc 4e35176e81 TDC Trigger Position #2428
any single-tooth primary trigger should automatically run with "useOnlyPrimaryForSync = true;"
2021-03-08 00:00:48 -05:00
rusefillc 5c9c97b016 Merge remote-tracking branch 'origin/master' into master 2021-03-07 23:46:03 -05:00
rusefillc e4bd0f6815 removing dead code - initialize() sets 'true' already 2021-03-07 23:37:54 -05:00
GitHub build-firmware Action 6e849712e9 Auto-generated configs and docs 2021-03-08 04:23:16 +00:00
GitHub build-firmware Action 0f43375fe0 Auto-generated configs and docs 2021-03-08 01:23:25 +00:00
Matthew Kennedy 06e32d937a
avoid various "no connect" scenarios (#2432)
* init mmc and USB earlier

* connect USB faster
2021-03-07 20:21:42 -05:00
GitHub build-firmware Action 652cab4148 Auto-generated configs and docs 2021-03-08 01:20:20 +00:00
Matthew Kennedy 3d17e62d65
finish off vbatt -> sensor model (#2433)
* more vbatt

* s

* goodbye voltage

* makefile

* apparently that part was in use

* include

* mocking
2021-03-07 20:18:32 -05:00
GitHub set-date Action fe2cb514f8 Update date 2021-03-08 00:47:40 +00:00
GitHub build-firmware Action ec5ee49018 Auto-generated configs and docs 2021-03-08 00:27:34 +00:00
Matthew Kennedy b729bdbcbf
Store ini filesystem in compressed block device (#2420)
* add module

* implement compressed block device

* enable for f7/h7

* script

* stub compressed image

* implement

* call the script

* headers, comments, fix init bug

* set msd options

* update chibios-contrib

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 19:25:34 -05:00
GitHub build-firmware Action 4c5868dfbd Auto-generated configs and docs 2021-03-07 22:33:47 +00:00
Matthew Kennedy 0c0e495607
avoid aliasing (#2431)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:32:04 -05:00
GitHub build-firmware Action 38d0a25ffd Auto-generated configs and docs 2021-03-07 22:13:26 +00:00
Matthew Kennedy 7b4ba0c836
remove lastTriggerToothEventTimeNt (#2430)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
GitHub build-firmware Action 09ddc5094f Auto-generated configs and docs 2021-03-07 21:45:17 +00:00
Matthew Kennedy 71cddcea52
build h7 proteus (#2429)
* build h7

* scripts

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:43:00 -05:00
GitHub build-firmware Action e29daa2b12 Auto-generated configs and docs 2021-03-07 21:37:29 +00:00
Matthew Kennedy 57b79ab6bb
trigger decoder timer (#2427)
* part 2

* stale comment

* include

* why was this a macro

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 16:35:58 -05:00
GitHub build-firmware Action 29f92a8db7 Auto-generated configs and docs 2021-03-07 20:34:10 +00:00
Matthew Kennedy 5a4c24f9a5
virtual zero timer (#2426)
* virtual zero timer

* it would help to call the correct function

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 15:32:41 -05:00
GitHub set-date Action c716e045ae Update date 2021-03-07 00:49:24 +00:00