Commit Graph

9657 Commits

Author SHA1 Message Date
Matthew Kennedy 53a579abbf move some initialization steps earlier (#2480)
* early hw init

* s

* Revert "s"

This reverts commit 10d3039168613cfb2b0cf1c960d2f18894745ce3.

* bor

* I can't type

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-25 16:22:03 -04:00
Matthew Kennedy 4e1d30f86d 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 a97a2393d9 add setup script for linux environment (#2486)
* fix

* setup script

* chmod

* gdb
2021-03-24 21:39:49 -04:00
GitHub set-date Action 904717b77b Update date 2021-03-25 00:29:25 +00:00
GitHub set-date Action 59c589a177 Update date 2021-03-24 00:49:15 +00:00
GitHub build-firmware Action 00f7b19e0d Auto-generated configs and docs 2021-03-24 00:29:05 +00:00
Matthew Kennedy 89cdb7fe89 fix (#2485) 2021-03-23 20:27:10 -04:00
GitHub build-firmware Action 7cdd6f8228 Auto-generated configs and docs 2021-03-23 19:20:23 +00:00
Matthew Kennedy 9b5ec4bdef vvt ui (#2484) 2021-03-23 15:18:36 -04:00
GitHub set-date Action e9cd88a926 Update date 2021-03-23 00:48:35 +00:00
Matthew Kennedy 92d249918b 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 335d55b48d Auto-generated configs and docs 2021-03-22 11:54:44 +00:00
Matthew Kennedy db7856523c 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 77b0b8f5d2 Update date 2021-03-22 00:49:10 +00:00
Matthew Kennedy e38aa3aa8c fix (#2478) 2021-03-20 22:07:52 -04:00
GitHub set-date Action 0b021cf416 Update date 2021-03-21 00:51:23 +00:00
rusefillc 1162e5e75b 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 aa05ff195d 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 3cfbd336e2 Update date 2021-03-20 00:48:31 +00:00
Matthew Kennedy d65190b8a5 embiggen MSD stack (#2475) 2021-03-19 19:56:47 -04:00
GitHub build-firmware Action 1144514671 Auto-generated configs and docs 2021-03-19 21:20:54 +00:00
Matthew Kennedy 7cdad67f3f 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 2bf833a1ee 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 62c38de068 Auto-generated configs and docs 2021-03-19 12:41:10 +00:00
Matthew Kennedy 5e6746c3aa 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 c16757b75a Update date 2021-03-19 00:49:12 +00:00
Matthew Kennedy cb33bb77ae 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 d9f58c2993 fix (#2471) 2021-03-18 04:02:32 -04:00
GitHub set-date Action 058046ceb0 Update date 2021-03-18 00:48:10 +00:00
Matthew Kennedy 925a6ca086 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 34b678728a extract CAN TS channel (#2469)
* extract CAN channel

* this is gross
2021-03-17 08:39:13 -04:00
GitHub set-date Action d32e1bba4f Update date 2021-03-17 00:48:26 +00:00
Andrey G 4b9181a5cd 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 2dc0c9306f Update date 2021-03-16 00:47:02 +00:00
Matthew Kennedy 2d4b434534 more 2021-03-15 17:12:34 -04:00
Matthew Kennedy a4da2322ef this syntax was technically illegal 2021-03-15 17:12:30 -04:00
Matthew Kennedy a26002bc02 type signature, guards 2021-03-15 17:11:11 -04:00
rusefillc d9a3638dc6 Potato Chip Day 2021 Release 2021-03-15 13:57:47 -04:00
Matthew Kennedy c168c748ea dead code, warnings (#2461) 2021-03-15 10:23:19 -04:00
Matthew Kennedy 10a5d1fd76 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 876382d529 VAG MQB 2021-03-14 21:20:02 -04:00
GitHub set-date Action d84c4e28f3 Update date 2021-03-15 00:48:29 +00:00
Matthew Kennedy 910f46267f 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 540b9000d5 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 7b66ec5cf3 VAG MQB 2021-03-14 17:40:33 -04:00
GitHub build-firmware Action 8fd70f63a1 Auto-generated configs and docs 2021-03-14 21:30:08 +00:00
rusefillc 99787df047 VAG MQB 2021-03-14 17:27:26 -04:00
GitHub build-firmware Action 3d9483144a Auto-generated configs and docs 2021-03-14 21:22:47 +00:00
Matthew Kennedy 4171ab2d11 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 30d3358d84 fix error/warning buffer overflow #2456 2021-03-14 09:53:15 -04:00
rusefillc 212b9d6684 fix error/warning buffer overflow #2456 2021-03-14 09:52:27 -04:00
Matthew Kennedy 962e0b32e7 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 55b7a60f06 Update date 2021-03-14 00:50:10 +00:00
rusefillc 242d173e5a poke 2021-03-13 16:33:05 -05:00
Matthew Kennedy 5cc2efc3e5 use full memory on STM32F42x (#2450)
* linker script

* hook it up
2021-03-13 07:26:58 -05:00
Matthew Kennedy 19e77b31f4 put back (#2452) 2021-03-13 06:59:33 -05:00
rusefillc 344844745f false positive GHA drama #2446
poke #4
2021-03-12 23:39:31 -05:00
rusefillc 7c1a414673 false positive GHA drama #2446
poke #3
2021-03-12 23:39:10 -05:00
Matthew Kennedy 765895d913 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 94f974f229 false positive GHA drama #2446
poke#2
2021-03-12 23:23:14 -05:00
rusefillc 19078969a4 false positive GHA drama #2446
poke
2021-03-12 23:22:52 -05:00
GitHub build-firmware Action da272532ff Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
rusefillc 35fb69e920 is gen_config invoked too often now? #2387 2021-03-12 23:15:18 -05:00
GitHub build-firmware Action 8e9c938434 Auto-generated configs and docs 2021-03-13 03:33:50 +00:00
rusefillc b425804843 is gen_config invoked too often now? #2387 2021-03-12 22:27:16 -05:00
rusefillc 8ba2658406 is gen_config invoked too often now? #2387 2021-03-12 22:25:03 -05:00
GitHub build-firmware Action c9c39ed728 Auto-generated configs and docs 2021-03-13 02:26:53 +00:00
rusefillc 2086f073da false positive GHA drama #2446
test poke
2021-03-12 21:22:48 -05:00
GitHub set-date Action ce848c06a6 Update date 2021-03-13 00:46:26 +00:00
GitHub build-firmware Action d5e0f7a016 Auto-generated configs and docs 2021-03-12 05:52:29 +00:00
rusefillc 6f5b625ec2 Merge remote-tracking branch 'origin/master' into master 2021-03-12 00:50:08 -05:00
rusefillc 3651883bcf test_timer 2021-03-12 00:43:48 -05:00
GitHub build-firmware Action 5b25a39955 Auto-generated configs and docs 2021-03-12 05:18:18 +00:00
Matthew Kennedy 72214b8b77 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 17c2ecc227 Auto-generated configs and docs 2021-03-12 04:19:00 +00:00
rusefillc 9f90387d09 vBatt -> SensorType::vBatt fix #2260 2021-03-11 23:07:18 -05:00
rusefillc 98eae45094 vBatt -> SensorType::vBatt #2260 2021-03-11 22:52:34 -05:00
rusefillc 416c65b475 vBatt -> SensorType::vBatt #2260 2021-03-11 22:44:59 -05:00
rusefillc a0a6e445dd Merge remote-tracking branch 'origin/master' into master 2021-03-11 22:44:11 -05:00
rusefillc 5d6db3fbc5 my bad 2021-03-11 22:42:59 -05:00
GitHub set-date Action ffb55722fb Update date 2021-03-12 00:47:42 +00:00
GitHub build-firmware Action d94ed8a45a Auto-generated configs and docs 2021-03-11 19:11:45 +00:00
rusefillc b56bc1f167 "onTime above limit %dus", TOO_FAR_INTO_FUTURE_US 2021-03-11 14:05:15 -05:00
GitHub build-firmware Action 08081f179f Auto-generated configs and docs 2021-03-11 13:40:39 +00:00
Matthew Kennedy ce3878949c 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 55caa17ac8 Auto-generated configs and docs 2021-03-11 04:22:28 +00:00
rusefillc 219ef5afa9 Merge remote-tracking branch 'origin/master' into master 2021-03-10 23:20:36 -05:00
rusefillc db836754dd Life in the Cracks 2021 Release 2021-03-10 23:20:22 -05:00
GitHub build-firmware Action 035d783120 Auto-generated configs and docs 2021-03-11 02:16:35 +00:00
rusefillc 6f93430d47 Merge remote-tracking branch 'origin/master' into master 2021-03-10 21:11:16 -05:00
rusefillc bae33a1230 changelog update 2021-03-10 19:56:30 -05:00
GitHub build-firmware Action 20ec3009ee Auto-generated configs and docs 2021-03-11 00:54:18 +00:00
Matthew Kennedy 66fa7be31b fix h7 adc (#2442) 2021-03-10 19:52:39 -05:00
GitHub set-date Action 91ec7c1536 Update date 2021-03-11 00:48:02 +00:00
GitHub build-firmware Action fa1f266012 Auto-generated configs and docs 2021-03-10 22:31:48 +00:00
Matthew Kennedy b3d132278d accurate bench test (#2441)
* accurate bench test

* allow shorter pulses
2021-03-10 17:30:13 -05:00
GitHub set-date Action a4687d7c5a Update date 2021-03-10 00:47:24 +00:00
GitHub build-firmware Action 73cb28a291 Auto-generated configs and docs 2021-03-09 23:55:38 +00:00
Matthew Kennedy dafd28d751 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 d9d05c99e9 Auto-generated configs and docs 2021-03-09 13:45:05 +00:00
Matthew Kennedy 943e6078c8 logging cleanup before refactor (#2438)
* minor cleanup

* more cleaning

* signature

* spelling

* doy
2021-03-09 08:43:29 -05:00
GitHub set-date Action 3a291058c5 Update date 2021-03-09 00:46:44 +00:00
GitHub build-firmware Action c3647b12c8 Auto-generated configs and docs 2021-03-09 00:20:19 +00:00
Matthew Kennedy 64a36a8003 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 a52c5c67af Auto-generated configs and docs 2021-03-08 19:52:22 +00:00
Matthew Kennedy c111d23b3d 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 94910b7387 Auto-generated configs and docs 2021-03-08 12:42:18 +00:00
Matthew Kennedy ff5bf3e3c3 error accumulator (#2434)
* error accumulator

* makefile
2021-03-08 07:40:46 -05:00
GitHub build-firmware Action 867d144649 Auto-generated configs and docs 2021-03-08 05:02:53 +00:00
rusefillc c954803292 TDC Trigger Position #2428
any single-tooth primary trigger should automatically run with "useOnlyPrimaryForSync = true;"
2021-03-08 00:00:48 -05:00
rusefillc d12e12fe8c Merge remote-tracking branch 'origin/master' into master 2021-03-07 23:46:03 -05:00
rusefillc 1b1bd0065d removing dead code - initialize() sets 'true' already 2021-03-07 23:37:54 -05:00
GitHub build-firmware Action edfc6b334c Auto-generated configs and docs 2021-03-08 04:23:16 +00:00
GitHub build-firmware Action 34a0a10ddd Auto-generated configs and docs 2021-03-08 01:23:25 +00:00
Matthew Kennedy e6d24d3010 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 6b4b5c0b64 Auto-generated configs and docs 2021-03-08 01:20:20 +00:00
Matthew Kennedy d7536bf059 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 fc5aa6b690 Update date 2021-03-08 00:47:40 +00:00
GitHub build-firmware Action 908b313bc2 Auto-generated configs and docs 2021-03-08 00:27:34 +00:00
Matthew Kennedy 506fb55f5c 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 5b35f69e84 Auto-generated configs and docs 2021-03-07 22:33:47 +00:00
Matthew Kennedy 2dcfb0c272 avoid aliasing (#2431)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:32:04 -05:00
GitHub build-firmware Action f9483cb999 Auto-generated configs and docs 2021-03-07 22:13:26 +00:00
Matthew Kennedy a7a82b1aab remove lastTriggerToothEventTimeNt (#2430)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:11:50 -05:00
GitHub build-firmware Action b47718226f Auto-generated configs and docs 2021-03-07 21:45:17 +00:00
Matthew Kennedy 792de13069 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 c0a06bcb57 Auto-generated configs and docs 2021-03-07 21:37:29 +00:00
Matthew Kennedy d5bc14719e 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 6d3b1bb096 Auto-generated configs and docs 2021-03-07 20:34:10 +00:00
Matthew Kennedy abdce83190 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 b43b22c8dc Update date 2021-03-07 00:49:24 +00:00
GitHub build-firmware Action 5ee8983422 Auto-generated configs and docs 2021-03-06 17:57:53 +00:00
slowriot b70e39d425 update all compile scripts to use available cores rather than a hardcoded value (#2425)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders

* update all compile scripts to use available cores rather than a hardcoded value
2021-03-06 12:55:46 -05:00
GitHub build-firmware Action 76b1bb5f4d Auto-generated configs and docs 2021-03-06 02:45:40 +00:00
GitHub build-firmware Action 4d21cde18b Auto-generated configs and docs 2021-03-06 02:41:20 +00:00
GitHub build-firmware Action bd58c2cdc0 Auto-generated configs and docs 2021-03-06 02:09:06 +00:00
GitHub build-firmware Action 80d6a84ddd Auto-generated configs and docs 2021-03-06 01:48:51 +00:00
GitHub build-firmware Action ea78c87b0f Auto-generated configs and docs 2021-03-06 01:45:12 +00:00
GitHub build-firmware Action 382d45c18c Auto-generated configs and docs 2021-03-06 01:34:46 +00:00
rusefillc bb197e7ad2 Merge remote-tracking branch 'origin/master' into master 2021-03-05 20:17:14 -05:00
rusefillc ea8bed584c is gen_config invoked too often now? #2387
London is the start of time
2021-03-05 20:16:59 -05:00
GitHub build-firmware Action 306737f17d Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
rusefillc e0e8ec7309 Merge remote-tracking branch 'origin/master' into master 2021-03-05 19:56:03 -05:00
GitHub set-date Action 05e34512dd Update date 2021-03-06 00:46:28 +00:00
GitHub build-firmware Action b2a3b3b1b2 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
rusefillc 0d3d4acf17 Merge remote-tracking branch 'origin/master' into master 2021-03-05 19:29:23 -05:00
slowriot 9a8c2516ee Add two new V8 firing orders (#2423)
* fix typos, spelling

* add two V8 firing orders

* use the available number of CPU cores, not just 4

* add new firing orders to config

* updating generated files to include new v8 firing orders

* reverting update of auto-generated files

* correct firing order labels for new firing orders
2021-03-05 19:28:17 -05:00
GitHub build-firmware Action b8dc34493c Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
Matthew Kennedy ce360e8c36 don't update ramdisk image in master (#2422)
* put back the default file

* gitignore
2021-03-05 17:42:22 -05:00
GitHub build-firmware Action 960afe1514 Auto-generated configs and docs 2021-03-05 03:41:12 +00:00
Matthew Kennedy 122f31fe4a hook up lps25 on proteus (#2418)
* hook up lps25

* it would help to include all the files

* unguard some stuff

* unguard more

* guarding

* s

* guard

* only register if init worked

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 22:39:20 -05:00
GitHub build-firmware Action 7430bad8d7 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
Matthew Kennedy caa161db42 STM32H7 Slow ADC (#2421)
* extract

* guard

* put some back

* put back

* slow is actually 500hz so slow is fine here

* no magic

* fix printFullAdcReport

* cast

* implement h7 adc ish

* analog switches

* bad merge

* no map avg on h7

* fix master while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 20:58:56 -05:00
Matthew Kennedy b9e0d4db47 Extract slow adc (#2402)
* extract

* guard

* put some back

* put back

* slow is actually 500hz so slow is fine here

* no magic

* fix printFullAdcReport

* cast

* if we turn those off is it happy

* stub cypress/kinetis

* guard fast stuff better

* bad merge

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-04 19:55:09 -05:00
GitHub set-date Action 3ed32baf46 Update date 2021-03-05 00:47:05 +00:00
GitHub set-date Action 625f0fd121 Update date 2021-03-04 00:46:46 +00:00
Matthew Kennedy 8edb115113 Embed ini (#2417)
* replace null device with rusefi ini

* comment

* warning

* stub ramdisk for when we don' thave an image

* maybe generate the image with a build

* install mtools

* fail on error

* install deps _before_ we need them

* embed a little readme

* oops
2021-03-03 07:50:53 -05:00
GitHub build-firmware Action ccbc4f2a2a Auto-generated configs and docs 2021-03-03 12:32:56 +00:00
Matthew Kennedy 89d71e4379 Compute injection duration later in the pipeline (#2175)
* injector model, test

* new math

* inject fuel based on new math

* tests

* fix

* it should work like this

* format

* update TPS AE even when we're cutting fuel

* comment

* conversion factor

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-03 07:30:56 -05:00
rusefillc db6b4f27e7 todo 2021-03-02 22:23:17 -05:00
GitHub build-firmware Action 59ecd6d594 Auto-generated configs and docs 2021-03-03 03:16:19 +00:00
GitHub set-date Action d5adf0bdfe Update date 2021-03-03 00:45:57 +00:00
GitHub set-date Action f9e610ffa0 Update date 2021-03-02 00:38:34 +00:00
GitHub build-firmware Action 9e3fb6b527 Auto-generated configs and docs 2021-03-01 14:54:41 +00:00
GitHub build-firmware Action cd5df39d8d Auto-generated configs and docs 2021-03-01 03:36:14 +00:00
GitHub set-date Action ad177fca88 Update date 2021-03-01 00:48:45 +00:00
GitHub build-firmware Action 18324fb325 Auto-generated configs and docs 2021-03-01 00:43:17 +00:00
GitHub build-firmware Action a3e09408a3 Auto-generated configs and docs 2021-02-28 23:58:40 +00:00
Matthew Kennedy 4d080c4e86 try rpm calculator timer (#2053)
* add api

* rpm calculator

* fix fsio

* fix float

* remove wrong comment

* fix timer

* clang didn't like this

* oops

* format

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 18:56:34 -05:00
GitHub build-firmware Action e6ae97d905 Auto-generated configs and docs 2021-02-28 21:59:46 +00:00
Matthew Kennedy 243ecdf3dd prep proteus config for h7 (#2413)
* prep for h7

* weak link that

* make those weak

* remove other stubs

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 16:57:57 -05:00
GitHub build-firmware Action 8ac66759ce Auto-generated configs and docs 2021-02-28 20:45:15 +00:00
Andrey G cd548b4db2 hip9011 compilation fix, cosmetic clean-ups (#2414)
* Board subaru eg33: has HIP9011 knock sensor

* hip9011: lastExecutionCount does not exist any more

* hip9011: extranc commands to header, use logic math for bitfields
2021-02-28 15:42:57 -05:00
GitHub build-firmware Action cd97a2605f Auto-generated configs and docs 2021-02-28 12:32:47 +00:00
Matthew Kennedy f8747a35bf set all thread priorities in the same place (#2412)
* unify thread priority

* header

* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy f347b92f45 allow disabling fast ADC (#2406)
* mostly guard against no fast adc

* disable on h7

* guard more

* guard adc init

* you can't do that in c++

* we need that

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-28 07:30:19 -05:00
GitHub build-firmware Action 405578d90a Auto-generated configs and docs 2021-02-28 01:16:53 +00:00
GitHub set-date Action 5de4b67f6f Update date 2021-02-28 00:48:23 +00:00
GitHub set-date Action ddc9792e60 Update date 2021-02-27 00:45:37 +00:00
GitHub build-firmware Action 4fc2083cc5 Auto-generated configs and docs 2021-02-26 22:40:02 +00:00
Matthew Kennedy dcd72a87f9 H7 flash (#2408)
* enable

* defines and mpu util

* implement flash for h7

* format
2021-02-26 17:38:17 -05:00
GitHub build-firmware Action 2e3985657c Auto-generated configs and docs 2021-02-26 19:46:59 +00:00
Matthew Kennedy c4e849d143 Update submodules (#2407)
* contrib

* update wideband
2021-02-26 14:44:46 -05:00
GitHub build-firmware Action 1ffbce9d6c Auto-generated configs and docs 2021-02-26 13:01:20 +00:00
Matthew Kennedy 4c98c99162 make h7 chconf like f4 (#2405)
* make h7 chconf like f4

* clean up f7 while we're at it

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-26 07:59:39 -05:00
GitHub set-date Action f4e12d2c22 Update date 2021-02-26 00:45:18 +00:00
GitHub build-firmware Action 7b5c982939 Auto-generated configs and docs 2021-02-25 22:11:12 +00:00
GitHub build-firmware Action 5b5b825430 Auto-generated configs and docs 2021-02-25 18:39:40 +00:00
Matthew Kennedy daf52f85de fixes for f7, sdio/sdmmc (#2400) 2021-02-25 13:37:41 -05:00
GitHub build-firmware Action bd174f2977 Auto-generated configs and docs 2021-02-25 06:39:30 +00:00
Matthew Kennedy f18ef02fa6 maybe hook up sdmmc (#2398)
* maybe hook up sdmmc

* the complier didn't like that very much

* mcuconf

* guard properly

* fix

* duh

* omg that's an extra close paren

* explicitly set which device fatfs should use

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-25 01:37:44 -05:00
GitHub build-firmware Action 429c5da521 Auto-generated configs and docs 2021-02-25 02:57:52 +00:00
Matthew Kennedy 5cf2ad4968 build (#2399) 2021-02-24 21:55:51 -05:00
GitHub set-date Action 50af3c95df Update date 2021-02-25 00:48:59 +00:00
GitHub build-firmware Action 1c8a8c24c6 Auto-generated configs and docs 2021-02-24 20:04:17 +00:00
GitHub build-firmware Action 6267b525f8 Auto-generated configs and docs 2021-02-24 19:09:56 +00:00
Matthew Kennedy 6e41aeb165 deduplication in halconf (#2377)
* rusefi_halconf

* h7 gpt

* don't redefine that

* maybe this was necessary

* format

* no usb in cypress

* flags for bl

* cypress

* maybe bootloader

* no smart build for cypress/kinetis

* no smart build

* no really, disable smart build

* don't need to clean that env var

* cypress

* format
2021-02-24 14:08:03 -05:00
GitHub build-firmware Action 68edc17efd Auto-generated configs and docs 2021-02-24 13:17:30 +00:00
Matthew Kennedy 84a43ec10b don't cache temperature samples at all (#2392) 2021-02-24 08:15:03 -05:00
Matthew Kennedy 76c423ccca enable H7 spi (#2391)
* enable features

* move MMC SPI config to port

* correct word length

* related cleanup

* doesn't need nocache

* include

* enable that
2021-02-24 08:14:21 -05:00