Commit Graph

16108 Commits

Author SHA1 Message Date
Scott Smith f9e36f5ea4
Configuration for HPFP control algorithm. (#3475) 2021-11-05 23:15:35 -04:00
Scott Smith 675460fafb
Move fuel density to a header file so it can be accessed by other components. (#3474) 2021-11-05 22:29:56 -04:00
GitHub build-firmware Action 5e4abadd48 Auto-generated configs and docs 2021-11-06 02:01:07 +00:00
Scott Smith 16378dcf59
Convert existing tables to use the simpler 3d table definition style in rusefi_config.txt (#3473)
This fixes #3465.
2021-11-05 21:55:33 -04:00
GitHub set-date Action 744bf535e6 Update date 2021-11-06 00:59:21 +00:00
GitHub build-firmware Action acce4630df Auto-generated configs and docs 2021-11-06 00:31:14 +00:00
Matthew Kennedy 7590e4c679
log current engine phase on trigger teeth (#3471)
* log phase on trigger teeth

* ui

* guard
2021-11-05 20:02:15 -04:00
rusefillc 2a169f7d8c
Update readme.md 2021-11-05 19:53:58 -04:00
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-unit-tests Action 3222881248 Trigger wheel definitions 2021-11-05 22:25:35 +00: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 8c96be4482 fresh Windows binary 2021-11-05 11:51:32 -04:00
rusefillc bfa47da061 hex2dfu helper script 2021-11-05 11:51:21 -04:00
rusefillc 609002da76 hex2dfu as proper submodule 2021-11-05 11:50:33 -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-unit-tests Action 44b2e07b84 Trigger wheel definitions 2021-11-05 11:24:12 +00: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
rusefillc 20ea0721ee fresh item no 2021-11-04 22:56:54 -04:00
GitHub set-date Action ecb9dc2e70 Update date 2021-11-05 00:59:35 +00:00
rusefillc e8d6f3088e turbo speed turbospeed input #2935 2021-11-04 20:04:16 -04: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
rusefillc af32f31a7e eb70637ed6
this board NEEDS WORK
2021-11-04 15:53:57 -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