Commit Graph

11997 Commits

Author SHA1 Message Date
GitHub build-firmware Action 16f8d60d29 Auto-generated configs and docs 2021-11-05 23:52:02 +00:00
Andrey G e3be563b27
Openblt (#3430)
* Makefile: define BOOTLOADER=1 for linker in case of OpenBLT too

This will reserve first 32K of flash for bootloader.

* OpenBLT: include into build

* board: subaru eg33: add OpenBLT board code

* board: subaru eg33: use OpenBLT

* Board: Subaru EG33: OpenBLT: reuse HAL and CMSIS from OpenBLT submodule

* Board: Subaru EG33: OpenBLT: reuse linker file from OpenBLT too

* OpenBLT for MRE

* OpenBLT: MRE: adjust LD memory map for smallest variat of MCU on MRE

* OpenBLT: enable for MRE

* OpenBLT: disable CRC check of user application

This allows us to use DFU tool to flash main application too.

* hex2dfu: fresh binary for linux

* OpenBLT: extract common part of OpenBLT makefiles to openblt.mk

* OpenBLT: enable CRC check of user application for MRE and EG33

CRC (actually just a summ) of few first vectors is stored at 0x1c
offset. This is reserved vector for Cortex-M3, M4 and M7

* common_make: append OpenBLT CRC to dfu files

This should allow to use DFU to do main application update when
when OpenBLT is used as bootloader. hex2dfu will store same
styled CRC as OpenBLT expects to see in user app.

* OpenBLT reorganization

Move common stuff to hw_layer/ports/

* OpenBLT: proteus

* Proteus: enable OpenBLT for F4 and F7

Compilation tested only
2021-11-05 19:28:55 -04:00
Scott Smith eb781f38b4
Determine the correct mul/div for autoscale from the TS config line instead of specifying it twice. (#3470) 2021-11-05 19:26:25 -04:00
GitHub build-firmware Action 5adc7d27b8 Auto-generated configs and docs 2021-11-05 22:21:29 +00:00
Matthew Kennedy 3348c0404b
configurable etb maximum (#3469)
* etb maximum

* update tests and test new behavior
2021-11-05 18:16:19 -04:00
Scott Smith 6d38fe1eb3
Allow scaled_channel to have both multiplier and divisor (#3468)
Disallow scaled_channel for float.  I can't think of a reason to allow it, and it gets in the way
of rounding.

Add separate template param to setTable; let the compiler sort out whether assignment can happen
between TElement and VElement without forcing them to be the same at function call time.
2021-11-05 17:34:22 -04:00
Andrey f6a20ca1ea lua curve progress 2021-11-05 16:08:48 -04:00
Andrey b4f1f7b8d2 lua curve progress 2021-11-05 16:08:34 -04:00
Matthew Kennedy 036c1b17d3
make master happy (#3467) 2021-11-05 16:01:13 -04:00
GitHub build-firmware Action 9e8d55177a Auto-generated configs and docs 2021-11-05 19:42:05 +00:00
Matthew Kennedy 2b9696442e
nissan MR18DE VVT cam pattern (#3466)
* refactoring nissan trigger

* comments

* plumbing

* b

* enums

* image

* image

* implement decoder

* reshuffle

* don't case unused

* dead trigger enums
2021-11-05 15:33:22 -04:00
GitHub build-firmware Action 267e631f42 Auto-generated configs and docs 2021-11-05 18:40:32 +00:00
Scott Smith 8e5d65978a
Add 3d table support to the java config file parser. (#3464)
This removes the need to use custom for 3d tables.  Syntax (to avoid changing the ANTLR parser) is
to use 'x' instead of separate [], i.e.:
        uint16_t[HPFP_TARGET_SIZE x HPFP_TARGET_SIZE] hpfpTarget;;"kPa", 1, 0, 0, 65000, 0
2021-11-05 14:27:32 -04:00
rusefillc 610c2b0ad1 lua curve progress 2021-11-05 10:34:12 -04:00
rusefillc b7feea1aa5 minor todo 2021-11-05 10:01:58 -04:00
GitHub build-firmware Action 618e7edc2c Auto-generated configs and docs 2021-11-05 11:19:56 +00:00
Matthew Kennedy 365691cb37
nissan 4yl crank pattern (#3462)
* refactoring nissan trigger

* comments

* plumbing

* b
2021-11-05 07:15:03 -04:00
rusefillc 1ead914f93 more curves! also names for curves 2021-11-04 23:59:04 -04:00
GitHub build-firmware Action 310336eb7e Auto-generated configs and docs 2021-11-05 03:37:40 +00:00
rusefillc 0d0a9bbe5e more curves! also names for curves 2021-11-04 23:27:48 -04:00
rusefillc 77be92e2c3 more curves! also names for curves 2021-11-04 23:22:37 -04:00
rusefillc 85984928ca more curves! also names for curves 2021-11-04 23:19:44 -04:00
GitHub build-firmware Action bcd2d866d7 Auto-generated configs and docs 2021-11-05 03:03:11 +00:00
rusefillc 423d61ec45 more curves! also names for curves 2021-11-04 22:56:54 -04:00
rusefillc 8f2bd93596 turbo speed turbospeed input #2935 2021-11-04 22:56:54 -04:00
GitHub set-date Action ecb9dc2e70 Update date 2021-11-05 00:59:35 +00:00
GitHub build-firmware Action 72c4c0e14c Auto-generated configs and docs 2021-11-04 23:48:48 +00:00
rusefi 433d526ee5 turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
rusefi 1d9aa8bd12 turboSpeedSensorMultiplier 2021-11-04 19:35:58 -04:00
Scott Smith d508d0d7d7
Remove correct file in create_ini_image.sh (#3460) 2021-11-04 16:06:44 -04:00
racer-coder 31539035b7
Create an interpolate3d function to match the interpolate2d, but for 3d tables. (#3459)
Remove some implicit C array to pointer conversions in Map3D by adding
(), *, and & where appropriate.  This allows us to remove getBinPtr.

Call interpolate3d from Map3d so there's no code duplication.
2021-11-04 14:07:37 -04:00
racer-coder 2612db570f
Fix the types in various fuel functions that actually refer to grams, not ms. (#3458) 2021-11-04 11:50:19 -04:00
rusefillc 6462db9aed https://rusefi.com/forum/viewtopic.php?f=16&t=2194
NA6 defaults IO
2021-11-04 11:15:46 -04:00
GitHub build-firmware Action 1b659a288d Auto-generated configs and docs 2021-11-04 14:24:01 +00:00
rusefillc 4f05d088dd https://rusefi.com/forum/viewtopic.php?f=16&t=2194
NA6 defaults IO
2021-11-04 10:18:47 -04:00
rusefillc f0248307b4 dead 2021-11-04 10:18:17 -04:00
rusefillc d8d4db0b9c Tachometer duplicate 2021-11-04 09:56:23 -04:00
rusefillc db310a4bd0 most dead miata config 2021-11-04 09:56:05 -04:00
Matthew Kennedy 5456e65c82
uppppppdate (#3455)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-04 05:52:25 -04:00
Matthew Kennedy 59e9d05fc7
extract engine phase function (#3456)
* extract getCurrentEnginePhase

* inject engine ref

* never invalid RPM, use 0 instead

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-04 05:46:16 -04:00
GitHub set-date Action d6d0200b14 Update date 2021-11-04 00:59:56 +00:00
GitHub build-firmware Action d07094338e Auto-generated configs and docs 2021-11-03 23:58:42 +00:00
Matthew Kennedy 24224729a3
support autoscale on table axes (#3452)
* scale map Y axis

* allow different row/col types

* scaled channel detector

* interpolation

* looks like this actually works

* tests, no manual scaling

* comment
2021-11-03 19:53:26 -04:00
GitHub build-firmware Action e1b085cf32 Auto-generated configs and docs 2021-11-03 21:10:50 +00:00
rusefillc ea5296bf5e pieces of Ts tips update2 #3446 2021-11-03 16:56:21 -04:00
rusefillc b80f802196 docs 2021-11-03 16:56:21 -04:00
Andrey 74a34bbea3 On Proteus Main relay control #3447 2021-11-03 13:29:04 -04:00
Andrey 44fa9b028b lua interpolate 2021-11-02 23:35:48 -04:00
Andrey b188c70823 docs 2021-11-02 23:34:44 -04:00
Andrey e4a872c251 refatoring: splitting lua hooks into multiple files 2021-11-02 23:27:48 -04:00