Commit Graph

9700 Commits

Author SHA1 Message Date
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
GitHub build-firmware Action b6bccd2daa Auto-generated configs and docs 2021-02-24 03:57:41 +00:00
Matthew Kennedy f45d837754 update h7 clock config (#2388)
* h7 clocks

* run the core at 400

* disable LSE

* 8mhz timer clock

* osc

* it has to be even slower

* something is wrong with WFI

* this was wrong anyway
2021-02-23 22:55:38 -05:00
GitHub set-date Action 99ac654e22 Update date 2021-02-24 00:45:24 +00:00
GitHub build-firmware Action b80d4180ce Auto-generated configs and docs 2021-02-24 00:20:19 +00:00
GitHub build-firmware Action ef72cf1988 Auto-generated configs and docs 2021-02-24 00:13:13 +00:00
rusefillc 97c276bf02 H7 compilation #2284 2021-02-23 19:11:18 -05:00
GitHub build-firmware Action aa6d472166 Auto-generated configs and docs 2021-02-23 21:59:18 +00:00
Matthew Kennedy 350a047ead cleanup (#2386) 2021-02-23 16:57:14 -05:00
GitHub set-date Action f8437c80b5 Update date 2021-02-23 00:44:52 +00:00
GitHub build-firmware Action 585d66b7de Auto-generated configs and docs 2021-02-22 21:54:33 +00:00
GitHub build-firmware Action cf51ce14bc Auto-generated configs and docs 2021-02-22 21:25:20 +00:00
David Holdeman a12cc8e091 Fix mre pinout (#2384)
* move pins over

* rearrange
2021-02-22 16:23:08 -05:00
GitHub build-firmware Action e8c1f7915e Auto-generated configs and docs 2021-02-22 21:03:46 +00:00
GitHub set-date Action 6e36603c2b Update date 2021-02-22 00:46:17 +00:00
GitHub build-firmware Action 502051688b Auto-generated configs and docs 2021-02-21 16:03:51 +00:00
rusefillc 1c56c6a01a typo 2021-02-21 11:01:35 -05:00
GitHub set-date Action 555bd455f5 Update date 2021-02-21 00:46:44 +00:00
GitHub build-firmware Action c9434e5024 Auto-generated configs and docs 2021-02-20 07:13:41 +00:00
Matthew Kennedy 726be2232e yet more TS sanity (#2382)
* ts cleanup part 1

* move more stuff in to the class

* extract base class

* switch to TsChannelBase where we can

* dfu

* more to TsChannelBase

* bad merge

* another bad merge

* bootloader

* bluetooth

* format

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-20 02:11:39 -05:00
GitHub build-firmware Action 17b2172587 Auto-generated configs and docs 2021-02-20 05:49:05 +00:00
rusefillc a76839bcaf Merge remote-tracking branch 'origin/master' into master 2021-02-20 00:46:27 -05:00
rusefillc ee13021dee hellen 2021-02-20 00:45:48 -05:00
GitHub build-firmware Action b4d07f1faf Auto-generated configs and docs 2021-02-20 03:26:09 +00:00
rusefillc aa3157fbb0 a lot of Hellen 2021-02-19 22:23:58 -05:00
GitHub build-firmware Action 8839056018 Auto-generated configs and docs 2021-02-20 01:50:25 +00:00
Matthew Kennedy 12a31e5132 start making tunerstudio more sane: part 2 (#2381)
* ts cleanup part 1

* move more stuff in to the class

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-19 20:48:21 -05:00
GitHub set-date Action e37e166315 Update date 2021-02-20 00:44:01 +00:00
GitHub build-firmware Action 576a194d1d Auto-generated configs and docs 2021-02-19 22:52:43 +00:00
rusefillc 01f016833f Merge remote-tracking branch 'origin/master' into master 2021-02-19 17:50:34 -05:00
rusefillc 571f18e2c2 hellen64 2021-02-19 17:40:32 -05:00
GitHub build-firmware Action 508982d4ab Auto-generated configs and docs 2021-02-19 22:03:28 +00:00
rusefillc 8c43a15b8a Merge remote-tracking branch 'origin/master' into master 2021-02-19 17:00:44 -05:00
rusefillc f9d75db87b let's start somewhere! 2021-02-19 17:00:30 -05:00
David Holdeman 3c0d8a3206 Add missing MRE pins, fix bug (#2380)
* get type for table with multi-id pin

* add missing pins

* add missing type styles

* missing colon

* fix type

* add missing color

* use whole type
2021-02-19 16:59:57 -05:00
GitHub build-firmware Action 670c34ca11 Auto-generated configs and docs 2021-02-19 13:00:43 +00:00
Matthew Kennedy 10efd25764 dead code (#2379)
* dead code

* do nothing

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-19 07:58:52 -05:00
GitHub build-firmware Action 7808449263 Auto-generated configs and docs 2021-02-19 12:42:54 +00:00
Matthew Kennedy 43f39fa616 start making tunerstudio more sane: part 1 (#2378)
* ts cleanup part 1

* unused unused

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-19 07:40:59 -05:00
GitHub set-date Action 277904e8eb Update date 2021-02-19 00:53:52 +00:00
GitHub build-firmware Action 260aa6e333 Auto-generated configs and docs 2021-02-18 23:20:11 +00:00
Andrey G 4b5da445f1 Subaru build (#2376)
* Subaru EG33: gen_config.sh update

* gen_config and gen_enum_to_string for subaru_eg33 board too

* Subaru eg33: add to buildables

* Subaru: fix build

* Subaru eg33: fix build and cleanup

* subaru eg33: add compile script

* github: subaru_eg33: call special  gen_config.sh
2021-02-18 18:18:13 -05:00
GitHub build-firmware Action 30e7a655dc Auto-generated configs and docs 2021-02-18 22:36:03 +00:00
rusefillc 745519a26e Merge remote-tracking branch 'origin/master' into master 2021-02-18 17:33:55 -05:00
rusefillc 6dc3aead01 would this give me h72 SD? 2021-02-18 17:31:03 -05:00
GitHub build-firmware Action 1c6e33f089 Auto-generated configs and docs 2021-02-18 22:09:39 +00:00
rusefillc 369d68d464 would this give me h72 SD? 2021-02-18 17:04:51 -05:00
GitHub build-firmware Action 4ca8037178 Auto-generated configs and docs 2021-02-18 21:18:58 +00:00
rusefillc 14e8ebd034 would this give me h72 SD? 2021-02-18 16:16:45 -05:00
GitHub build-firmware Action 68780d39af Auto-generated configs and docs 2021-02-18 20:06:38 +00:00
Matthew Kennedy 8237dd6a41 merge mcuconf for f4/f7 (#2375)
* merge for f4/f7

* more

* include efifeatures

* s

* no TS serial on f7 for now

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-18 15:04:32 -05:00
GitHub build-firmware Action 8a02dcd7ef Auto-generated configs and docs 2021-02-18 05:13:23 +00:00
rusefillc b00a05aa17 aux valve to CI 2021-02-18 00:11:10 -05:00
GitHub build-firmware Action f6659cdff4 Auto-generated configs and docs 2021-02-18 04:52:54 +00:00
rusefillc 88df60db7d aux valve to CI 2021-02-17 23:50:57 -05:00
GitHub build-firmware Action 555080bb73 Auto-generated configs and docs 2021-02-18 04:34:52 +00:00
Matthew Kennedy 321fe48b27 rework FSIO LEelement (#2374)
* save

* firmware

* test parsing multiple things

* split tests
2021-02-17 23:32:44 -05:00
GitHub build-firmware Action 56792280ae Auto-generated configs and docs 2021-02-18 01:27:52 +00:00
GitHub build-firmware Action f7bf1856cd Auto-generated configs and docs 2021-02-18 00:44:07 +00:00
Matthew Kennedy f8e027990c update chibios (#2372) 2021-02-17 19:38:14 -05:00
GitHub build-firmware Action c7168d9792 Auto-generated configs and docs 2021-02-18 00:31:12 +00:00
rusefillc 32cdd1dcea h72 2021-02-17 19:25:49 -05:00
GitHub build-firmware Action 2c318835f6 Auto-generated configs and docs 2021-02-17 22:46:18 +00:00
rusefillc b63cc559fc RPM hard limit depending on CLT #455 2021-02-17 17:33:08 -05:00
Alexey Shkil 097a4739ba [WIP] RPM hard limit depending on CLT #455 (#2268)
* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455

* [WIP] RPM hard limit depending on CLT #455
2021-02-17 17:30:05 -05:00
Matthew Kennedy f9536791f0 set MCU properly (#2371) 2021-02-17 15:25:57 -05:00
Matthew Kennedy 179a3cb89e use spiPolledExchange for small transfers (#2358)
* configure for no cache

* this doesn't need a setting

* now we don't need invalidate

* reorder and comment

* mmc

* sw knock

* use spiPolledExchange for small transfers

* mock spi

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-17 14:48:21 -05:00
andreika-git 9b5a266d59 Hellen72 more defaults (#2369)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-02-17 11:20:03 -05:00
rusefi b9f8978c22 no one expects to make FSIO progress 2021-02-17 10:53:35 -05:00
rusefi 483bee389b https://github.com/andreika-git/hellen-one/issues/3 2021-02-17 10:18:46 -05:00
rusefi 79deda97ac https://github.com/andreika-git/hellen-one/issues/3 2021-02-17 10:16:21 -05:00
rusefi 07bafa81fb h72 might require this 2021-02-17 09:50:28 -05:00
rusefillc 3354691778 trying to fix AuxValves 2021-02-17 08:57:18 -05:00
rusefillc 95b78a48ed aux to vvt rename 2021-02-17 08:53:39 -05:00
rusefi 06dc9a9210 happy new year 2021-02-16 21:44:55 -05:00
GitHub set-date Action 1aa105a766 Update date 2021-02-17 00:44:00 +00:00
GitHub build-firmware Action 6b22b11d48 Auto-generated configs and docs 2021-02-16 22:27:43 +00:00
rusefi 8ce70479f6 TS does not support zero length arrays? #2366 2021-02-16 17:25:52 -05:00
Matthew Kennedy 55facb6613 use DECLARE_ENGINE_PTR for Engine class (#2365)
* engine cleanup

* do the cleanup

* one last spot

* expand_engine noop for firmware

* simulator
2021-02-16 16:58:54 -05:00
GitHub build-firmware Action 447ab1f4a5 Auto-generated configs and docs 2021-02-16 21:10:43 +00:00
rusefi cffd7964ef h72 wants control 2021-02-16 16:08:45 -05:00
rusefillc c2147799bc USB mass storage tweaking #2352 2021-02-16 14:59:54 -05:00
GitHub build-firmware Action 82d7354d6a Auto-generated configs and docs 2021-02-16 16:16:51 +00:00
rusefillc 363feb43c6 .ini fixed, TPS/ETB and dead property 2021-02-16 11:14:24 -05:00
Matthew Kennedy dbebc353a2 remove unused msg parameter (#2360)
* dead parameter

* last few
2021-02-16 09:32:16 -05:00
GitHub build-firmware Action ba52adc205 Auto-generated configs and docs 2021-02-16 03:04:34 +00:00
Matthew Kennedy 0ccb2e2a43 tps cal wording (#2359) 2021-02-15 22:02:28 -05:00
GitHub set-date Action 196845c10f Update date 2021-02-16 00:44:01 +00:00
Matthew Kennedy c75af2ac75 properly put buffers in no-cache regions (#2357)
* configure for no cache

* this doesn't need a setting

* now we don't need invalidate

* reorder and comment

* mmc

* sw knock
2021-02-15 17:39:11 -05:00
GitHub build-firmware Action 9c18e0151f Auto-generated configs and docs 2021-02-15 03:38:10 +00:00
rusefi 27ce354ea3 https://rusefi.com/forum/viewtopic.php?p=39775#p39775 2021-02-14 22:35:59 -05:00
David Holdeman 70341538f0 MRE connectors (#2354)
* Add MRE connector images

* fix name

* missing colon
2021-02-14 20:56:25 -05:00
GitHub set-date Action df1b9aab05 Update date 2021-02-15 00:44:26 +00:00
Matthew Kennedy a576c2e109 USB mass storage tweaking (#2352)
* disable TS in case of USB MSD

* housekeeping while we're here

* enable on MRE

* changelog
2021-02-14 15:03:07 -05:00
Andrey G b5ebd7e4c4 RusEFI is green: put cpu in standby in idle (#2342)
* MRE is green: put cpu in standby in idle

* Revert "MRE is green: put cpu in standby in idle"

This reverts commit 62b5cadda014ace749b145b629da62b182b5e3ce.

* RusEFI is green on all boards
2021-02-14 10:24:21 -05:00
Matthew Kennedy 5391b4260f automatic switch between internal and MSD SD card (#2349)
* auto enable usb msd

* guard and turn on for proteus
2021-02-14 08:10:39 -05:00
Matthew Kennedy f9e30057fa pullup (#2348) 2021-02-14 08:04:09 -05:00
Matthew Kennedy d27b8f8d13 rewrite SD initialization (#2346)
* rewrite SD init

* static

* return a pointer instead
2021-02-13 21:26:11 -05:00
GitHub set-date Action 947dcbcc20 Update date 2021-02-14 00:45:36 +00:00
Andrey G c9ccf021d2 Config cleanups (#2347)
* Remove duplication

* Ports: STM32F7: we want PAL_USE_CALLBACKS for F7 too
2021-02-13 18:45:33 -05:00
Matthew Kennedy ba3bf4169d usb mass storage progress (#2345)
* usb mass storage

* remove old files

* this file is gone
2021-02-13 15:06:05 -05:00
Matthew Kennedy fb275df5a7 update (#2344) 2021-02-13 14:24:35 -05:00
Matthew Kennedy 392bfbc859 cleanup (#2343) 2021-02-13 14:23:39 -05:00
rusefi fc2f44b7e9 not great solution to code duplication, also helping QC build 2021-02-13 11:19:39 -05:00
rusefillc 5f964aa9dd Gather Nissan CAN data #2278
one step back
2021-02-13 09:32:45 -05:00
Matthew Kennedy e7895f80d5 USB mass storage descriptor (#2330)
* enable msd

* modify descriptors for composite device

* makefile cleanup

* format

* define

* embiggen fifos

* needed that

* cleanup too while we're at it

* rename endpoints

* switchable descriptors

* guard the request hook too

* don't need this changed yet

* cleanup

* update ep0 response

* cleanup

* use the msd hook from chibios

* this was wrong

* this was covered by other PR

* this is also covered

* s
2021-02-13 08:54:08 -05:00
Matthew Kennedy e3dadd3d51 implement null block device (#2341)
* implement null device

* fix build
2021-02-13 08:53:10 -05:00
Matthew Kennedy 70eee46e3a fix usb descriptor mistakes (#2340)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-13 01:06:55 -05:00
rusefillc 2d68405d96 Gather Nissan CAN data #2278 2021-02-12 23:07:21 -05:00
GitHub build-firmware Action adbaa27eea Auto-generated configs and docs 2021-02-13 01:50:56 +00:00
rusefillc 8d74b26beb Gather Nissan CAN data #2278 2021-02-12 20:47:12 -05:00
GitHub build-firmware Action b120d4a8dc Auto-generated configs and docs 2021-02-13 01:43:05 +00:00
rusefillc 4c19dbdea6 Merge remote-tracking branch 'origin/master' into master 2021-02-12 20:40:59 -05:00
rusefillc 5742b32be1 no way to change bluetooth serial speed on MRE fix #2338 2021-02-12 20:40:50 -05:00
GitHub build-firmware Action 1bad7f3e69 Auto-generated configs and docs 2021-02-13 01:30:02 +00:00
Matthew Kennedy 71d68b51f4 cleanup too while we're at it (#2336) 2021-02-12 20:27:43 -05:00
rusefillc b83139744f no way to change bluetooth serial speed on MRE fix #2338 2021-02-12 20:27:09 -05:00
GitHub set-date Action 92b0b8d47b Update date 2021-02-13 00:43:49 +00:00
Matthew Kennedy 56c2315115 Rename USB endpoints, update ChibiOS-Contrib (#2334)
* rename endpoints

* update chibios contrib

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-12 14:21:56 -05:00
Matthew Kennedy 594c9a76eb increase SD card speed (#2333)
* fast sd card

* fair enough
2021-02-11 20:42:23 -05:00
GitHub set-date Action babd74acd8 Update date 2021-02-12 00:43:44 +00:00
Matthew Kennedy b833b58c3f turn in to a composite device (#2332) 2021-02-11 15:52:06 -05:00
rusefi 94ea5a8ecc M62T vanos support #2243 2021-02-10 22:20:17 -05:00
GitHub build-firmware Action 33db7786d0 Auto-generated configs and docs 2021-02-11 02:49:50 +00:00
rusefillc 9ad4cf9ebd M62T vanos support #2243 2021-02-10 21:46:52 -05:00
rusefillc b79fb2ac5f M62T vanos support #2243 2021-02-10 21:44:21 -05:00
GitHub build-firmware Action 20252d0c79 Auto-generated configs and docs 2021-02-11 01:23:22 +00:00
rusefillc 66cfa9eb68 M62T vanos support #2243 2021-02-10 20:21:05 -05:00
rusefillc dcbcd21964 Merge remote-tracking branch 'origin/master' into master 2021-02-10 19:51:27 -05:00
rusefillc 8d730b6ea9 M62T vanos support #2243 2021-02-10 19:51:14 -05:00
GitHub set-date Action 703547ff74 Update date 2021-02-11 00:43:33 +00:00
Matthew Kennedy adff68748c move chconf/mcuconf/halconf in to hw_ports (#2321)
* move f4 config files

* don't need this

* f7

* f7

* h7

* this was duplicated

* turn off smart build

* loader too

* update prometheus paths

* bootloader should include confdir

* fix the flash size while we're at it

* move chconf_common

* use wait

* normalize board.mk

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-10 19:38:24 -05:00
GitHub build-firmware Action a283051a49 Auto-generated configs and docs 2021-02-10 23:57:38 +00:00
rusefillc e3512eb5ab M62T vanos support #2243
bugfix - vvt .ini
2021-02-10 18:55:24 -05:00
rusefillc f312c9ab94 M62T vanos support #2243
need a bit of RAM
2021-02-10 13:31:39 -05:00
rusefi 6c9416daa9 aux pid is now VVT 2021-02-10 12:41:38 -05:00
GitHub build-firmware Action bd441017ea Auto-generated configs and docs 2021-02-10 17:26:25 +00:00
rusefillc e21cfd6131 M62T vanos support #2243 2021-02-10 12:23:06 -05:00
Matthew Kennedy a3d0b61cf1 get mcu temperature within port (#2326)
* remove EFI_ADC_TEMP_SENSOR

* implement

* comment

* s

* switch adc_inputs over

* header

* s

* I think aligned-on-stack should work ok

* num channels

* cache safety

* move adc init too

* don't compile that file for the h7

* cypress & kinetis

* ports

* guard against bootloader

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-02-09 22:04:36 -05:00
GitHub set-date Action f27b4ba4e0 Update date 2021-02-10 00:42:28 +00:00
GitHub build-firmware Action 9e31ea8abb Auto-generated configs and docs 2021-02-09 19:01:08 +00:00
rusefillc a8befe0564 Merge remote-tracking branch 'origin/master' into master 2021-02-09 13:58:35 -05:00
rusefillc c5208c22ca M62T vanos support #2243 2021-02-09 13:58:05 -05:00
rusefillc 63bd40c706 Create readme.md 2021-02-09 13:43:26 -05:00
rusefillc 5b47578f3b M62T vanos support #2243 2021-02-09 09:40:08 -05:00
rusefillc 1539bb56ed Merge remote-tracking branch 'origin/master' into master 2021-02-09 00:34:32 -05:00
rusefillc e1f5fff949 M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:29:04 -05:00
GitHub build-firmware Action 6a37d337af Auto-generated configs and docs 2021-02-09 05:26:52 +00:00
rusefillc 5f88ad4562 M62T vanos support #2243
still trying to fix Kinetis
2021-02-09 00:25:02 -05:00
rusefillc 9dcc54644d M62T vanos support #2243
RAM everything takes a bit of RAM
2021-02-09 00:08:00 -05:00
GitHub build-firmware Action 1ae2b1220a Auto-generated configs and docs 2021-02-09 04:49:57 +00:00
rusefillc f7ad1ae8b7 code generator: better handing of array size 1 2021-02-08 23:47:48 -05:00
GitHub build-firmware Action 9147c77ec3 Auto-generated configs and docs 2021-02-09 04:23:45 +00:00
rusefillc 8adc54e530 trying to help kinetis by reducing RAM usage back to where it was 2021-02-08 23:21:34 -05:00
rusefillc d0a5cb6e38 M62T vanos support #2243 2021-02-08 22:30:02 -05:00
rusefillc 654a739e6b M62T vanos support #2243 2021-02-08 22:21:02 -05:00
rusefillc f5816e47fd Merge remote-tracking branch 'origin/master' into master 2021-02-08 22:09:13 -05:00
rusefillc dc79ee1511 M62T vanos support #2243 2021-02-08 22:07:14 -05:00