Commit Graph

2400 Commits

Author SHA1 Message Date
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
Matthew Kennedy 5a003f8638
use full memory on STM32F42x (#2450)
* linker script

* hook it up
2021-03-13 07:26:58 -05:00
GitHub build-firmware Action bc7a97e46a Auto-generated configs and docs 2021-03-13 04:21:15 +00:00
GitHub build-firmware Action efeb3d9289 Auto-generated configs and docs 2021-03-13 03:33:50 +00: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 fc918ddd02 Auto-generated configs and docs 2021-03-11 13:40:39 +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
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
Matthew Kennedy 0c0e495607
avoid aliasing (#2431)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-03-07 17:32:04 -05: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
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 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
GitHub build-firmware Action 8a5d65cdbc Auto-generated configs and docs 2021-03-06 01:00:28 +00:00
GitHub build-firmware Action 6d40566a10 Auto-generated configs and docs 2021-03-06 00:30:16 +00:00
GitHub build-firmware Action 8d49cc3e48 Auto-generated configs and docs 2021-03-05 22:44:12 +00:00
GitHub build-firmware Action 8dc17d420c Auto-generated configs and docs 2021-03-05 03:41:12 +00: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 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
GitHub build-firmware Action b87d82735d Auto-generated configs and docs 2021-03-03 03:16:19 +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 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
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 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 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
GitHub build-firmware Action 713850beda Auto-generated configs and docs 2021-02-26 13:01:20 +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
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 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