Commit Graph

12082 Commits

Author SHA1 Message Date
Matthew Kennedy 899795e712
simplify signature.h generation (#3480)
* simplify

* poke to force generate
2021-11-06 23:19:53 -04:00
rusefillc b8ccdfb7d8 todo: smarter online change of CAN settings, kill isCanEnabled with fire 2021-11-06 22:23:06 -04:00
GitHub build-firmware Action ef4df02ab0 Auto-generated configs and docs 2021-11-07 02:14:13 +00:00
rusefillc b244c59cd8 a bit of dead code 2021-11-06 21:19:56 -04:00
rusefillc 79b598342c Bench test problem - Coil 1 test error #3490 2021-11-06 21:11:43 -04:00
GitHub build-firmware Action e065a6ca4c Auto-generated configs and docs 2021-11-07 01:05:29 +00:00
rusefillc 4f738b366e a bit of dead code 2021-11-06 21:01:01 -04:00
Andrey 6111355e6c Remove Miata MX5 NB1 trigger #3488 2021-11-06 20:24:41 -04:00
GitHub build-firmware Action 05b494a726 Auto-generated configs and docs 2021-11-06 23:15:42 +00:00
Andrey G da01bed4fa
MRE: disable OpenBLT (#3487) 2021-11-06 18:47:22 -04:00
rusefillc 7b8821955b a bit of dead code 2021-11-06 18:43:19 -04:00
GitHub build-firmware Action b1c27c95d5 Auto-generated configs and docs 2021-11-06 22:37:34 +00:00
rusefillc 1cbe2f7bef PROTEUS_LUA_DEMO 2021-11-06 18:24:59 -04:00
GitHub build-firmware Action 6a9c38f934 Auto-generated configs and docs 2021-11-06 22:15:32 +00:00
rusefillc e9e88ff763 simplify signature.h generation #3480
part two: unused variables
2021-11-06 18:09:14 -04:00
Matthew Kennedy caab5f505d
disable (#3484) 2021-11-06 16:57:13 -04:00
GitHub build-firmware Action 8b37ba9048 Auto-generated configs and docs 2021-11-06 19:17:51 +00:00
rusefillc 03107424d7 simplify signature.h generation #3480
step 1 - access values directly
2021-11-06 15:10:50 -04:00
GitHub build-firmware Action 702b166aa8 Auto-generated configs and docs 2021-11-06 18:12:59 +00:00
Scott Smith f3df36b48e
Fix capitalization of subMenu for TS (#3482)
This fixes #3481
2021-11-06 14:06:35 -04:00
GitHub build-firmware Action 6801d99ca5 Auto-generated configs and docs 2021-11-06 17:41:14 +00:00
rusefi fb5cf8ced3 aux pins for merc128 2021-11-06 13:20:03 -04:00
GitHub build-firmware Action b2536faa9e Auto-generated configs and docs 2021-11-06 17:17:08 +00:00
rusefi 0d214c91b7 aux pins for merc128 2021-11-06 13:12:44 -04:00
GitHub build-firmware Action d9354f6d9d Auto-generated configs and docs 2021-11-06 13:26:06 +00:00
Matthew Kennedy a38b3f00c3
Remove array typedef syntax (#3477)
* remove array typedef support completely

* extraneous semicolon

* binary
2021-11-06 09:12:43 -04:00
GitHub build-firmware Action ab668c5bed Auto-generated configs and docs 2021-11-06 03:28:22 +00:00
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-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
GitHub set-date Action 0678690515 Update date 2021-11-03 00:59:18 +00:00
GitHub build-firmware Action c63ac71620 Auto-generated configs and docs 2021-11-02 23:04:43 +00:00
Matthew Kennedy 980a7cc833
autoscale fields in generated structs (#3444)
* add to grammar

* parser

* parser

* example consumer

* build config tool

* commit the right jar
2021-11-02 18:59:19 -04:00
rusefi e1a78cce41 docs 2021-11-02 17:11:44 -04:00
rusefi b102a3f979 Honda K 2021-11-02 17:11:34 -04:00
rusefi 63b3eb767b honda k 2021-11-02 17:00:08 -04:00
GitHub build-firmware Action cf51fab5f0 Auto-generated configs and docs 2021-11-02 19:09:24 +00:00
Matthew Kennedy 5b35aa8f21
log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
Andrey G 564249fa02
Prepare for openblt (#3445)
* Makefile: create and deliver srec file too

srec is used by OpenBLT tools

* Simplify common_make.sh
2021-11-02 07:41:41 -04:00
GitHub build-firmware Action 16d377b4ee Auto-generated configs and docs 2021-11-02 03:40:40 +00:00
Matthew Kennedy 75a2b5ef02
Knock retard (#3396)
* output gauge

* knock controller

* don't need that

* inject engine ref

* test knock

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-01 23:33:59 -04:00
GitHub set-date Action 6668bc382d Update date 2021-11-02 01:02:22 +00:00
GitHub set-date Action 3ab3717da6 Update date 2021-11-01 01:02:24 +00:00
rusefi 0c3dfd393c no IAR 2021-10-31 20:21:59 -04:00
rusefillc 7d43bac311 vag121 VR pin 2021-10-31 16:36:52 -04:00