Commit Graph

9833 Commits

Author SHA1 Message Date
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
GitHub build-firmware Action 98067c6ee0 Auto-generated configs and docs 2021-03-06 17:57:53 +00:00
slowriot 47da1278e0
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 3f1bb4d79f Auto-generated configs and docs 2021-03-06 02:45:40 +00:00
GitHub build-firmware Action ada14307a3 Auto-generated configs and docs 2021-03-06 02:41:20 +00:00
GitHub build-firmware Action c510211957 Auto-generated configs and docs 2021-03-06 02:09:06 +00:00
GitHub build-firmware Action d1056e3972 Auto-generated configs and docs 2021-03-06 01:48:51 +00:00
GitHub build-firmware Action 2ecfabd28e Auto-generated configs and docs 2021-03-06 01:45:12 +00:00
GitHub build-firmware Action 8373725f5e Auto-generated configs and docs 2021-03-06 01:34:46 +00:00
rusefillc 00c890a1d7 Merge remote-tracking branch 'origin/master' into master 2021-03-05 20:17:14 -05:00
rusefillc 4cd474fe15 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 8a5d65cdbc Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
rusefillc 965d02b4ca Merge remote-tracking branch 'origin/master' into master 2021-03-05 19:56:03 -05:00
GitHub set-date Action 6bbe9e6c20 Update date 2021-03-06 00:46:28 +00:00
GitHub build-firmware Action 6d40566a10 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
rusefillc 5176e8ad50 Merge remote-tracking branch 'origin/master' into master 2021-03-05 19:29:23 -05:00
slowriot 881c3739a2
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 8d49cc3e48 Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
Matthew Kennedy b86f081d72
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 8dc17d420c Auto-generated configs and docs 2021-03-05 03:41:12 +00:00
Matthew Kennedy 6aaf02be15
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 f0098d8bc1 Auto-generated configs and docs 2021-03-05 02:01:14 +00:00
Matthew Kennedy e264029fbc
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 f22f318bdb
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 19983ee314 Update date 2021-03-05 00:47:05 +00:00
GitHub set-date Action b2232daa10 Update date 2021-03-04 00:46:46 +00:00
Matthew Kennedy 496acd7fc0
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 d71b1184fc Auto-generated configs and docs 2021-03-03 12:32:56 +00:00
Matthew Kennedy 5067b81fce
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 731e0bae73 todo 2021-03-02 22:23:17 -05:00
GitHub build-firmware Action b87d82735d Auto-generated configs and docs 2021-03-03 03:16:19 +00:00
GitHub set-date Action 20c85cb943 Update date 2021-03-03 00:45:57 +00:00
GitHub set-date Action 98520bc710 Update date 2021-03-02 00:38:34 +00:00
GitHub build-firmware Action 41a120b05d Auto-generated configs and docs 2021-03-01 14:54:41 +00:00
GitHub build-firmware Action f564a220c6 Auto-generated configs and docs 2021-03-01 03:36:14 +00:00
GitHub set-date Action 2a1d038f4f Update date 2021-03-01 00:48:45 +00:00
GitHub build-firmware Action 6d0dfed9c2 Auto-generated configs and docs 2021-03-01 00:43:17 +00:00
GitHub build-firmware Action 1fd4759358 Auto-generated configs and docs 2021-02-28 23:58:40 +00:00
Matthew Kennedy 3a8313a94a
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 e64dec2b5c Auto-generated configs and docs 2021-02-28 21:59:46 +00:00
Matthew Kennedy 59eecab421
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 3e92a8b38a Auto-generated configs and docs 2021-02-28 20:45:15 +00:00
Andrey G fbcff6f0c8
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 0d143e2a56 Auto-generated configs and docs 2021-02-28 12:32:47 +00:00
Matthew Kennedy b1873b3d8b
set all thread priorities in the same place (#2412)
* unify thread priority

* header

* mmc
2021-02-28 07:30:45 -05:00
Matthew Kennedy 6fe0cadfc0
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 306e4a230f Auto-generated configs and docs 2021-02-28 01:16:53 +00:00
GitHub set-date Action c8c444e6c4 Update date 2021-02-28 00:48:23 +00:00
GitHub set-date Action f3e14f4db7 Update date 2021-02-27 00:45:37 +00:00
GitHub build-firmware Action 13b234d97f Auto-generated configs and docs 2021-02-26 22:40:02 +00:00
Matthew Kennedy 520fc2b4ec
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 af5cefae43 Auto-generated configs and docs 2021-02-26 19:46:59 +00:00
Matthew Kennedy 886cfdbc3e
Update submodules (#2407)
* contrib

* update wideband
2021-02-26 14:44:46 -05:00
GitHub build-firmware Action 713850beda Auto-generated configs and docs 2021-02-26 13:01:20 +00:00
Matthew Kennedy 1acc1f7092
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 9233b7e8dd Update date 2021-02-26 00:45:18 +00:00
GitHub build-firmware Action c03bf4297c Auto-generated configs and docs 2021-02-25 22:11:12 +00:00
GitHub build-firmware Action 39d9f55d01 Auto-generated configs and docs 2021-02-25 18:39:40 +00:00
Matthew Kennedy 6dc3c20bab
fixes for f7, sdio/sdmmc (#2400) 2021-02-25 13:37:41 -05:00
GitHub build-firmware Action 5a990fb55d Auto-generated configs and docs 2021-02-25 06:39:30 +00:00
Matthew Kennedy d7adbe5fef
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 2e4067c210 Auto-generated configs and docs 2021-02-25 02:57:52 +00:00
Matthew Kennedy 7b33ebfa9c
build (#2399) 2021-02-24 21:55:51 -05:00
GitHub set-date Action 5f18fbee9d Update date 2021-02-25 00:48:59 +00:00
GitHub build-firmware Action e93d6855fb Auto-generated configs and docs 2021-02-24 20:04:17 +00:00
GitHub build-firmware Action 4e7e40ae00 Auto-generated configs and docs 2021-02-24 19:09:56 +00:00
Matthew Kennedy 4fe0ceec61
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 2bcdbf9394 Auto-generated configs and docs 2021-02-24 13:17:30 +00:00
Matthew Kennedy 9c591c7733
don't cache temperature samples at all (#2392) 2021-02-24 08:15:03 -05:00
Matthew Kennedy 392a7539be
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 deb285825e Auto-generated configs and docs 2021-02-24 03:57:41 +00:00
Matthew Kennedy 86233c4e62
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 8bf8c93c4e Update date 2021-02-24 00:45:24 +00:00
GitHub build-firmware Action eade11deb5 Auto-generated configs and docs 2021-02-24 00:20:19 +00:00
GitHub build-firmware Action e7ef64ca4b Auto-generated configs and docs 2021-02-24 00:13:13 +00:00
rusefillc 4177bd299f H7 compilation #2284 2021-02-23 19:11:18 -05:00
GitHub build-firmware Action 0d853dba4a Auto-generated configs and docs 2021-02-23 21:59:18 +00:00
Matthew Kennedy b6de500059
cleanup (#2386) 2021-02-23 16:57:14 -05:00
GitHub set-date Action 5509b23919 Update date 2021-02-23 00:44:52 +00:00
GitHub build-firmware Action fadda9fd62 Auto-generated configs and docs 2021-02-22 21:54:33 +00:00
GitHub build-firmware Action 50f2ffbc1e Auto-generated configs and docs 2021-02-22 21:25:20 +00:00
David Holdeman 21e8aa89e2
Fix mre pinout (#2384)
* move pins over

* rearrange
2021-02-22 16:23:08 -05:00
GitHub build-firmware Action bebcbcc182 Auto-generated configs and docs 2021-02-22 21:03:46 +00:00
GitHub set-date Action 7c6d5f433c Update date 2021-02-22 00:46:17 +00:00
GitHub build-firmware Action b6e3df01b8 Auto-generated configs and docs 2021-02-21 16:03:51 +00:00
rusefillc 5fa4e8cd1c typo 2021-02-21 11:01:35 -05:00
GitHub set-date Action 0f9c5eece6 Update date 2021-02-21 00:46:44 +00:00
GitHub build-firmware Action 78690eddfa Auto-generated configs and docs 2021-02-20 07:13:41 +00:00
Matthew Kennedy 9226f483a8
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 9e1ac5d7ed Auto-generated configs and docs 2021-02-20 05:49:05 +00:00
rusefillc 16f77d39a5 Merge remote-tracking branch 'origin/master' into master 2021-02-20 00:46:27 -05:00
rusefillc 6c9a5818b7 hellen 2021-02-20 00:45:48 -05:00
GitHub build-firmware Action 28fb127996 Auto-generated configs and docs 2021-02-20 03:26:09 +00:00
rusefillc d5729874b4 a lot of Hellen 2021-02-19 22:23:58 -05:00
GitHub build-firmware Action 0486dbf13e Auto-generated configs and docs 2021-02-20 01:50:25 +00:00
Matthew Kennedy a50d1d5ee3
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 3af1eb69b4 Update date 2021-02-20 00:44:01 +00:00
GitHub build-firmware Action 3d038877ea Auto-generated configs and docs 2021-02-19 22:52:43 +00:00
rusefillc 15e935063e Merge remote-tracking branch 'origin/master' into master 2021-02-19 17:50:34 -05:00
rusefillc 54e4e78feb hellen64 2021-02-19 17:40:32 -05:00
GitHub build-firmware Action f5586e0791 Auto-generated configs and docs 2021-02-19 22:03:28 +00:00
rusefillc 476921dfbf Merge remote-tracking branch 'origin/master' into master 2021-02-19 17:00:44 -05:00
rusefillc ec7902bd51 let's start somewhere! 2021-02-19 17:00:30 -05:00
David Holdeman 7f5c32f624
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 0c216bf3e3 Auto-generated configs and docs 2021-02-19 13:00:43 +00:00
Matthew Kennedy 31f9fb9e94
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 4b66be4db3 Auto-generated configs and docs 2021-02-19 12:42:54 +00:00
Matthew Kennedy bc85adc74e
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 067fe3b693 Update date 2021-02-19 00:53:52 +00:00
GitHub build-firmware Action e0e7363473 Auto-generated configs and docs 2021-02-18 23:20:11 +00:00
Andrey G 12b7b737dc
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 f020d7ab09 Auto-generated configs and docs 2021-02-18 22:36:03 +00:00
rusefillc 47a06394eb Merge remote-tracking branch 'origin/master' into master 2021-02-18 17:33:55 -05:00
rusefillc f750f65d4e would this give me h72 SD? 2021-02-18 17:31:03 -05:00
GitHub build-firmware Action 365a5c5667 Auto-generated configs and docs 2021-02-18 22:09:39 +00:00
rusefillc c836f766af would this give me h72 SD? 2021-02-18 17:04:51 -05:00
GitHub build-firmware Action 8e997a3369 Auto-generated configs and docs 2021-02-18 21:18:58 +00:00
rusefillc 384113a984 would this give me h72 SD? 2021-02-18 16:16:45 -05:00
GitHub build-firmware Action 62c1c3b054 Auto-generated configs and docs 2021-02-18 20:06:38 +00:00
Matthew Kennedy 90ef4c93ad
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 e984b479e2 Auto-generated configs and docs 2021-02-18 05:13:23 +00:00