Commit Graph

12017 Commits

Author SHA1 Message Date
GitHub build-firmware Action 2762268d58 Auto-generated configs and docs 2021-11-14 03:02:10 +00:00
Matthew Kennedy 8edc91f657 mercedes two lobe trigger testing (#3543)
* mercedes

* config

* break;

* I did the gap ratio math wrong

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 21:50:04 -05:00
GitHub set-date Action 7e1fe984f8 Update date 2021-11-14 01:02:27 +00:00
rusefi 1441163bf1 pid demo progress 2021-11-13 16:41:20 -05:00
rusefi eaf7f15eef speed into caninfo 2021-11-13 10:41:23 -05:00
GitHub build-firmware Action 625eda6d09 Auto-generated configs and docs 2021-11-13 15:38:11 +00:00
rusefi 9808acc07b pid demo progress 2021-11-13 10:33:13 -05:00
rusefi c56dbce5a4 cmd_test_debug_mode_can 2021-11-13 10:33:03 -05:00
rusefi 13b8d92fec pid demo progress 2021-11-13 10:02:45 -05:00
rusefi d172961577 findTableIndex 2021-11-13 10:02:01 -05:00
rusefillc f7d1a3e542 lua can 2021-11-13 08:23:44 -05:00
rusefillc 731906b2be lua can 2021-11-13 08:20:30 -05:00
rusefillc 14281da180 lua can 2021-11-13 04:44:17 -05:00
GitHub build-firmware Action b702a7f419 Auto-generated configs and docs 2021-11-13 09:41:01 +00:00
rusefillc 28cc1bc51a little mess 2021-11-13 04:35:45 -05:00
rusefillc 4803a6def5 Something something Automatic Compression Release #3442 2021-11-13 04:24:53 -05:00
rusefillc 93a5b8c3e5 UART pins validation and dynamic alternative function recognition #3536 2021-11-13 04:13:11 -05:00
Matthew Kennedy 31848f5bf4 lua pid class (#3411)
* lua pid

* no luaaa stl

* update luaaa

* finality

* luaaa

* luaaa

* = default

* bad merge

* gitmodules

* lua

* proteus demo script

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-13 03:18:16 -05:00
Matthew Kennedy 569ec1013b update luaaa (#3540)
* lua update

* no stdlib mode

* turn off system luaaa for now since it makes luaaa sad

* let user heap do a little

* gitmodules

* memory shuffling

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-12 22:10:05 -05:00
GitHub build-firmware Action 015a07576d Auto-generated configs and docs 2021-11-13 03:01:55 +00:00
rusefillc d96755ec15 Proteus Harley 2021-11-12 21:56:07 -05:00
GitHub set-date Action 187f58078e Update date 2021-11-13 01:04:13 +00:00
rusefi f5dedb4c6f maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 13:45:07 -05:00
rusefillc 7080bb5bb9 maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 13:11:32 -05:00
rusefi 0747a6ceec maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 12:51:05 -05:00
rusefi cdf069ff16 maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 12:45:53 -05:00
rusefi 9126b6f405 pid demo progress 2021-11-12 00:20:52 -05:00
GitHub build-firmware Action 44fc5651bf Auto-generated configs and docs 2021-11-12 04:15:01 +00:00
Matthew Kennedy 4f9df2a110 new parser handles enum values (#3492)
* simplify

* poke to force generate

* enums

* jar

* jar

* poke

* prepends formatted

* prepends

* eol

* eol

* allow no endl at eof

* Revert "eol"

This reverts commit 022029faef338281b1a3551f82e46c4b6a7578a5.

* Revert "eol"

This reverts commit 6274502db740569235210916fde4ec84863d7fb3.
2021-11-11 23:09:39 -05:00
GitHub build-firmware Action 17a6f81365 Auto-generated configs and docs 2021-11-12 04:00:30 +00:00
rusefi c92b032728 lua wants your pins! 2021-11-11 22:54:48 -05:00
rusefi 2ac0cdd2ed curve names 2021-11-11 22:54:48 -05:00
GitHub build-firmware Action 8a5f3a3a0c Auto-generated configs and docs 2021-11-12 03:51:31 +00:00
rusefi fe07fee8b1 pid demo progress 2021-11-11 22:38:50 -05:00
Andrey 31b50ff021 Something something Automatic Compression Release #3442 2021-11-11 21:38:49 -05:00
Andrey db6a1ae7e2 docs 2021-11-11 21:31:24 -05:00
Andrey aecdc84ab8 UART pins validation and dynamic alternative function recognition #3536 2021-11-11 21:29:18 -05:00
GitHub build-firmware Action cf7231a8a0 Auto-generated configs and docs 2021-11-12 01:54:56 +00:00
Andrey 37adc7e713 Bench Test IAC Valve fails #3534
that's not even funny
2021-11-11 20:39:01 -05:00
Andrey 06f7098cae Bench Test IAC Valve fails #3534 2021-11-11 20:31:46 -05:00
Andrey 5136d0b994 Bench Test IAC Valve fails #3534 2021-11-11 20:28:01 -05:00
GitHub build-firmware Action 132e70befe Auto-generated configs and docs 2021-11-12 01:22:13 +00:00
Andrey 1aca049c47 Something something Automatic Compression Release #3442 2021-11-11 20:16:46 -05:00
Andrey 7d3d93d469 dead line 2021-11-11 20:16:46 -05:00
Andrey f3bcf6c917 https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 20:16:46 -05:00
Andrey 9aa98cd523 refactoring: less hacky implementation 2021-11-11 20:16:46 -05:00
GitHub set-date Action a5ca40bebe Update date 2021-11-12 01:01:37 +00:00
rusefi 1d078c114b lua PID example 2021-11-11 19:16:04 -05:00
GitHub build-firmware Action c57174f2ac Auto-generated configs and docs 2021-11-11 23:37:47 +00:00
Andrey 58588cdf6b https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 18:31:54 -05:00
rusefillc 0db5f673dc Overflow in currentTimeMillis and getTimeNowSeconds #3531 2021-11-11 17:54:31 -05:00
rusefillc 29b21e6eb6 Overflow in currentTimeMillis and getTimeNowSeconds #3531
it now takes 1000 times longer to overflow
2021-11-11 16:43:41 -05:00
rusefillc 677a2ede70 Overflow in currentTimeMillis and getTimeNowSeconds #3531
it now takes 1000 times longer to overflow
2021-11-11 16:39:23 -05:00
Matthew Kennedy baf11a27b9 load lua libs correctly (#3529)
* fix lua lib loading

* test
2021-11-11 13:44:13 -05:00
Scott Smith 93d31c6c9b Convert TriggerWaveform::wave to a pointer in preparation for code-defined sequences. (#3528)
It will eventually be class to support dynamic universal patterns in addition to ROM-based
tables.
2021-11-11 13:19:25 -05:00
Scott Smith 7843b5a28d Print BSS and RAM4 totals at the end of make. (#3527)
If java is unable to run, don't error out the Makefile, just complain a little and move on.  Until
the gcc_map_reader actually works with RAM4, we print it manually.
2021-11-11 11:51:35 -05:00
rusefillc e117292d62 where are we now? 2021-11-11 11:11:40 -05:00
rusefillc ad7c5d9aae where are we now? 2021-11-11 10:36:31 -05:00
Scott Smith aec887efc8 Change users of MultiChannelStateSequence to use the API (#3524)
Better than reaching into members that should be private. I didn't feel like actually making
them private though, as one user validates pinStates isn't NULL.
2021-11-11 09:19:22 -05:00
rusefi fb09cecd69 pid demo progress 2021-11-10 22:27:21 -05:00
rusefillc 1f415a0212 Idle valve outputs not available in TS #3523 2021-11-10 21:07:38 -05:00
GitHub build-firmware Action 17b786734c Auto-generated configs and docs 2021-11-11 01:46:41 +00:00
rusefillc 371f0ca72c Idle valve outputs not available in TS #3523 2021-11-10 20:40:42 -05:00
GitHub build-firmware Action 993a2111dd Auto-generated configs and docs 2021-11-11 01:09:25 +00:00
rusefillc 469294c919 helle88 second idle wire 2021-11-10 19:53:02 -05:00
Scott Smith 1a299a3221 Move phaseCount into MultiChannelStateSequence (#3520)
We can them drop the field from a bunch of callers, simplifying the code.
2021-11-10 19:47:27 -05:00
rusefi 35f6ac4305 open q 2021-11-10 19:24:17 -05:00
Matthew Kennedy 26749e0384 test TS writes (#3515)
* test TS writes

* s

* this must be a gcc extension
2021-11-10 07:29:40 -05:00
Scott Smith 5bd7d8e372 Don't keep a separate MultiChannelStateSequence for the trigger emulator, version 2. (#3517)
All it wants is to use the main trigger state, so don't bother copying it.  Instead, change
PwmConfig to take a const pointer to a Multi.*Sequence, then make all the users adapt.  Worse
fallout is that SimplePwm now has its own Multi.*Sequence, but PwmConfig is downgraded to a
pointer, so that's only a net +4 bytes.  And we can make the overhead of Multi.*Sequence much lower
using embedded arrays, which only the caller can do since it knows the maximum size... (for another
day...)

Also remove SimplePwm's 2nd copy of SingleChannelStateSequence.  It served no purpose.

Saves 1992 bytes of BSS and 24 bytes of RAM4 (latter probably due to SimplePwm change)
2021-11-10 07:01:20 -05:00
rusefillc 38ea0d1835 Revert "Don't keep a separate MultiChannelStateSequence for the trigger emulator. (#3513)"
This reverts commit 4e220dc163.
2021-11-09 20:42:23 -05:00
GitHub set-date Action 150019b0ed Update date 2021-11-10 01:00:05 +00:00
GitHub build-firmware Action 6b39c9f5f1 Auto-generated configs and docs 2021-11-09 20:43:52 +00:00
rusefi 01f259404a hellen88 2021-11-09 15:33:01 -05:00
Scott Smith 4e220dc163 Don't keep a separate MultiChannelStateSequence for the trigger emulator. (#3513)
All it wants is to use the main trigger state, so don't bother copying it.  Instead, change
PwmConfig to take a const pointer to a Multi.*Sequence, then make all the users adapt.  Worse
fallout is that SimplePwm now has its own Multi.*Sequence, but PwmConfig is downgraded to a
pointer, so that's only a net +4 bytes.  And we can make the overhead of Multi.*Sequence much lower
using embedded arrays, which only the caller can do since it knows the maximum size... (for another
day...)

Also remove SimplePwm's 2nd copy of SingleChannelStateSequence.  It served no purpose.

Saves 1992 bytes of BSS and 24 bytes of RAM4 (latter probably due to SimplePwm change)
2021-11-09 14:35:07 -05:00
rusefillc 2fe84449cf LUA_USER_HEAP for 407 2021-11-09 09:36:42 -05:00
Scott Smith 9b40e68155 Save ~2800 bytes of RAM by not caching angle->trigger mapping (#3506)
Memory seems more valuable than CPU; use the O(lg n) lookup by angle.  A side effect is that it
seems to fix trigger lookup for the second phase of TRIGGERTYPE 53 544 TT_TRI _TACH 0.00
2021-11-09 07:03:27 -05:00
GitHub build-firmware Action 3484c3270b Auto-generated configs and docs 2021-11-09 02:36:07 +00:00
rusefi a7698a290f lua pid 2021-11-08 21:30:38 -05:00
rusefi 39fb7fddfd stefan has not yet asked for MAF 2021-11-08 21:30:38 -05:00
GitHub build-firmware Action e63e942fb5 Auto-generated configs and docs 2021-11-09 02:26:06 +00:00
rusefi 7520d9f0c0 stefan is asking for TPS/IAT/CLT 2021-11-08 21:12:53 -05:00
rusefi 99a90309ef why is meat allowed to touch machine?! 2021-11-08 20:49:12 -05:00
rusefi 8bab53c1fd nicer messages 2021-11-08 20:49:12 -05:00
GitHub build-firmware Action 464332e5be Auto-generated configs and docs 2021-11-09 01:26:41 +00:00
rusefillc 07711b4691 Proteus Lua Demo 2021-11-08 20:19:57 -05:00
GitHub set-date Action 3168ccd62c Update date 2021-11-09 01:00:19 +00:00
rusefillc a5399444b2 this one is for Scott 2021-11-08 19:02:34 -05:00
rusefillc 0ec6d5be4a dead code 2021-11-08 19:01:18 -05:00
rusefi 69a53c565f pid demo progress 2021-11-08 17:31:33 -05:00
GitHub build-firmware Action dbecc45968 Auto-generated configs and docs 2021-11-08 22:24:44 +00:00
rusefi a358dc7de9 on Lua control of H-bridge 2021-11-08 17:11:48 -05:00
Scott Smith 7367aa5b8a Compile each project's PCH to a separate file to reduce developer friction. (#3505)
Having to remove the precompiled header when switching from firmware to simulator to unit_tests and
back again is annoying.  Use a directory to store the precompiled header output.  Turn off
precompiled header warnings as GCC still complains even if it finds a valid one eventually.
2021-11-08 15:52:58 -05:00
Scott Smith 8639b7c7e4 Make getTimeNowNt even faster (#3504)
The last version is already much better than the original, mostly because it doesn't call
CriticalSectionLocker, which has a ton of overhead due to debug tracking.  But this version is
another 4 instructions / 12 bytes shorter.  Does as much match in 32-bit land as possible, and
avoids math operations that span 64-bits (i.e. either operate on the lower half or upper half, but
not both).  The result is only 3 instructions not including the necessary 4 loads (ptr to now, now,
ptr to upper, upper), 1 store (upper), and 1 return/branch.
2021-11-08 14:24:31 -05:00
Andrey 2166a5ba16 ETB: do not touch HW pins if function not selected, this way Lua can use DC motor hardware pins directly 2021-11-08 12:44:37 -05:00
Andrey 757cd10c1f docs 2021-11-08 12:23:00 -05:00
Scott Smith 2752c39d7f Change getTimeNowNt to be lock free. (#3502)
Track the top two bits of the 32-bit time field, along with the bits that comprise the top half of
the 64-bit time field.  We can detect when the 32-bit field is advancing or falling back from the
global time counter as long as the change is less than about 1 billion ticks.  This shows up as
either 01 or 11 in the top 2 bits of the 32-bit time field relative to the 64-bit field.  Or is
there is no change it shows up as 00.  Changes of 2 billion or more cannot be discerned as +2
billion and -2 billion both show up as 10.

Change the simulator to use this logic to make sure it gets some exercise.
2021-11-08 08:24:20 -05:00
GitHub build-firmware Action f6aac4b1f9 Auto-generated configs and docs 2021-11-08 03:23:43 +00:00
rusefillc 96e3b8c6f6 Main and Pump pins default set wrong fix #3501 2021-11-07 22:09:26 -05:00
GitHub set-date Action db5ef62885 Update date 2021-11-08 01:02:17 +00:00
rusefillc 259ab7a234 Latest firmware causes an error (2021 11 07 build) fix #3500 2021-11-07 19:52:30 -05:00
Matthew Kennedy 7f4b91809e dead vss flag (#3499) 2021-11-07 14:36:46 -05:00
Andrey G 0e5b71b86b Openblt deliver (#3486)
* common_make: rusefi.* should be functional image

OpenBLT used: rusefi.* is bootloader plus RusEFI
OpenBLT not used: rusefi.* is RusEFI only.
In both cases flashing of rusefi.* image to blank device should be
enough.
rusefi_update.srec does not include bootloader and this image should
be used for CAN update.

* Boundle generation: include bootloader and update image

* Update hex2dfu, deliver composite bin file
2021-11-07 13:50:01 -05:00
GitHub build-firmware Action 41fe16ed40 Auto-generated configs and docs 2021-11-07 18:40:19 +00:00
rusefi 90057333d1 scriptTableName 2021-11-07 13:35:29 -05:00
GitHub build-firmware Action 678f5db3b9 Auto-generated configs and docs 2021-11-07 15:30:54 +00:00
Andrey a32f061a0f names for tables similar to curve names 2021-11-07 09:58:35 -05:00
Andrey 49d4dea65e lua pid class #3411 2021-11-07 09:53:40 -05:00
Andrey c98bfecf11 lua pid class #3411 2021-11-07 09:49:47 -05:00
Andrey 94faa375e1 reducing complexity 2021-11-07 01:57:32 -05:00
rusefillc d0a8bbc974 typo 2021-11-07 01:51:05 -05:00
rusefillc 4f6dc57d31 refactoring - magic constant bad
cypress and kinetis both have this macro already
2021-11-07 01:34:16 -04:00
rusefillc 73fe152db2 refactoring - magic constant bad
cypress and kinetis both have this macro already
2021-11-07 01:28:28 -04:00
GitHub build-firmware Action fdc32277ea Auto-generated configs and docs 2021-11-07 04:44:16 +00:00
rusefillc 355e3c84f5 a bit of dead code 2021-11-07 00:13:29 -04:00
rusefillc 5ddd516860 refactoring - magic constant bad 2021-11-07 00:09:17 -04:00
rusefillc fd28e82f73 refactoring - magic constant bad 2021-11-07 00:03:16 -04:00
GitHub build-firmware Action 2ee8ecb287 Auto-generated configs and docs 2021-11-07 03:59:47 +00:00
rusefillc eb4ef563dd a bit of dead code 2021-11-06 23:39:56 -04:00
GitHub build-firmware Action 1ce3fa63b7 Auto-generated configs and docs 2021-11-07 03:33:26 +00:00
Matthew Kennedy 0dde7d6fef simplify signature.h generation (#3480)
* simplify

* poke to force generate
2021-11-06 23:19:53 -04:00
rusefillc 25e0678ac1 todo: smarter online change of CAN settings, kill isCanEnabled with fire 2021-11-06 22:23:06 -04:00
GitHub build-firmware Action 7df704907c Auto-generated configs and docs 2021-11-07 02:14:13 +00:00
rusefillc 3f278e989b a bit of dead code 2021-11-06 21:19:56 -04:00
rusefillc b7ae42a5a1 Bench test problem - Coil 1 test error #3490 2021-11-06 21:11:43 -04:00
GitHub build-firmware Action 4dca92f21e Auto-generated configs and docs 2021-11-07 01:05:29 +00:00
rusefillc 31347d66be a bit of dead code 2021-11-06 21:01:01 -04:00
Andrey e3355ab2d3 Remove Miata MX5 NB1 trigger #3488 2021-11-06 20:24:41 -04:00
GitHub build-firmware Action cab19aeba0 Auto-generated configs and docs 2021-11-06 23:15:42 +00:00
Andrey G 36d721412e MRE: disable OpenBLT (#3487) 2021-11-06 18:47:22 -04:00
rusefillc faa8abf673 a bit of dead code 2021-11-06 18:43:19 -04:00
GitHub build-firmware Action beb2083509 Auto-generated configs and docs 2021-11-06 22:37:34 +00:00
rusefillc 4045893437 PROTEUS_LUA_DEMO 2021-11-06 18:24:59 -04:00
GitHub build-firmware Action 75f959d339 Auto-generated configs and docs 2021-11-06 22:15:32 +00:00
rusefillc 2437abf51f simplify signature.h generation #3480
part two: unused variables
2021-11-06 18:09:14 -04:00
Matthew Kennedy 511e616607 disable (#3484) 2021-11-06 16:57:13 -04:00
GitHub build-firmware Action ae65ebdc46 Auto-generated configs and docs 2021-11-06 19:17:51 +00:00
rusefillc bc70203350 simplify signature.h generation #3480
step 1 - access values directly
2021-11-06 15:10:50 -04:00
GitHub build-firmware Action f631836c6d Auto-generated configs and docs 2021-11-06 18:12:59 +00:00
Scott Smith b166057bc2 Fix capitalization of subMenu for TS (#3482)
This fixes #3481
2021-11-06 14:06:35 -04:00
GitHub build-firmware Action 1af4c562cb Auto-generated configs and docs 2021-11-06 17:41:14 +00:00
rusefi bc515f6513 aux pins for merc128 2021-11-06 13:20:03 -04:00
GitHub build-firmware Action c6ce4ebb40 Auto-generated configs and docs 2021-11-06 17:17:08 +00:00
rusefi e592263ed5 aux pins for merc128 2021-11-06 13:12:44 -04:00
GitHub build-firmware Action e266f8740f Auto-generated configs and docs 2021-11-06 13:26:06 +00:00
Matthew Kennedy ec5d3f437f 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 b117f260c1 Auto-generated configs and docs 2021-11-06 03:28:22 +00:00
Scott Smith e350b0b6b4 Configuration for HPFP control algorithm. (#3475) 2021-11-05 23:15:35 -04:00
Scott Smith e8633a8cb4 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 10c9977b9d Auto-generated configs and docs 2021-11-06 02:01:07 +00:00
Scott Smith 61fd669add 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 8355ed02ba Update date 2021-11-06 00:59:21 +00:00
GitHub build-firmware Action 3a05dff385 Auto-generated configs and docs 2021-11-06 00:31:14 +00:00
Matthew Kennedy f45d365f24 log current engine phase on trigger teeth (#3471)
* log phase on trigger teeth

* ui

* guard
2021-11-05 20:02:15 -04:00
rusefillc c28af491bc Update readme.md 2021-11-05 19:53:58 -04:00
GitHub build-firmware Action 148b2620e1 Auto-generated configs and docs 2021-11-05 23:52:02 +00:00
Andrey G 51f53aa3fc 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 2ffcc2bb45 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 2cd276ba16 Auto-generated configs and docs 2021-11-05 22:21:29 +00:00
Matthew Kennedy 72cdc52acc configurable etb maximum (#3469)
* etb maximum

* update tests and test new behavior
2021-11-05 18:16:19 -04:00
Scott Smith fcac26c032 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 818e0057c9 lua curve progress 2021-11-05 16:08:48 -04:00
Andrey c05376ed5f lua curve progress 2021-11-05 16:08:34 -04:00
Matthew Kennedy 2c47f603fc make master happy (#3467) 2021-11-05 16:01:13 -04:00
GitHub build-firmware Action f3e6b44f89 Auto-generated configs and docs 2021-11-05 19:42:05 +00:00
Matthew Kennedy b41dbe2ed1 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 b692293ca6 Auto-generated configs and docs 2021-11-05 18:40:32 +00:00
Scott Smith 09569e8686 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 57dc9b36f4 lua curve progress 2021-11-05 10:34:12 -04:00
rusefillc 2bd0633ecb minor todo 2021-11-05 10:01:58 -04:00
GitHub build-firmware Action 6f2744a5c9 Auto-generated configs and docs 2021-11-05 11:19:56 +00:00
Matthew Kennedy 6b85313b04 nissan 4yl crank pattern (#3462)
* refactoring nissan trigger

* comments

* plumbing

* b
2021-11-05 07:15:03 -04:00
rusefillc 31a2218339 more curves! also names for curves 2021-11-04 23:59:04 -04:00
GitHub build-firmware Action 221b3c52bc Auto-generated configs and docs 2021-11-05 03:37:40 +00:00
rusefillc 802e660da5 more curves! also names for curves 2021-11-04 23:27:48 -04:00
rusefillc 8538e751e7 more curves! also names for curves 2021-11-04 23:22:37 -04:00
rusefillc b9861159a1 more curves! also names for curves 2021-11-04 23:19:44 -04:00
GitHub build-firmware Action 01909c7fbb Auto-generated configs and docs 2021-11-05 03:03:11 +00:00
rusefillc f7e1734045 more curves! also names for curves 2021-11-04 22:56:54 -04:00
rusefillc 37a3e8e54a turbo speed turbospeed input #2935 2021-11-04 22:56:54 -04:00
GitHub set-date Action fa105bfe1e Update date 2021-11-05 00:59:35 +00:00
GitHub build-firmware Action b79d5af199 Auto-generated configs and docs 2021-11-04 23:48:48 +00:00
rusefi f182c65e5b turbo speed turbospeed input #2935 2021-11-04 19:43:22 -04:00
rusefi 365a1e13a8 turboSpeedSensorMultiplier 2021-11-04 19:35:58 -04:00
Scott Smith cb546dd67b Remove correct file in create_ini_image.sh (#3460) 2021-11-04 16:06:44 -04:00
racer-coder a18beadb03 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 55ac8d56b8 Fix the types in various fuel functions that actually refer to grams, not ms. (#3458) 2021-11-04 11:50:19 -04:00
rusefillc aac4e8e52b 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 23aea8a957 Auto-generated configs and docs 2021-11-04 14:24:01 +00:00
rusefillc 9d54c02ea7 https://rusefi.com/forum/viewtopic.php?f=16&t=2194
NA6 defaults IO
2021-11-04 10:18:47 -04:00
rusefillc 1e0e163cac dead 2021-11-04 10:18:17 -04:00
rusefillc a972c207d6 Tachometer duplicate 2021-11-04 09:56:23 -04:00
rusefillc 88d7046382 most dead miata config 2021-11-04 09:56:05 -04:00
Matthew Kennedy dfdcece90f uppppppdate (#3455)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-04 05:52:25 -04:00
Matthew Kennedy cadaf2a801 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 4b1a641e11 Update date 2021-11-04 00:59:56 +00:00
GitHub build-firmware Action e9bee9f39e Auto-generated configs and docs 2021-11-03 23:58:42 +00:00
Matthew Kennedy a2766e5d9b 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 7b03138c6e Auto-generated configs and docs 2021-11-03 21:10:50 +00:00
rusefillc 0c96269e39 pieces of Ts tips update2 #3446 2021-11-03 16:56:21 -04:00
rusefillc c1f8367c21 docs 2021-11-03 16:56:21 -04:00
Andrey 1d30748678 On Proteus Main relay control #3447 2021-11-03 13:29:04 -04:00
Andrey 52bd7a9cb7 lua interpolate 2021-11-02 23:35:48 -04:00
Andrey 592bf2a359 docs 2021-11-02 23:34:44 -04:00
Andrey 8c11ab341e refatoring: splitting lua hooks into multiple files 2021-11-02 23:27:48 -04:00
GitHub set-date Action 904ae702d6 Update date 2021-11-03 00:59:18 +00:00
GitHub build-firmware Action 78bc8c3c51 Auto-generated configs and docs 2021-11-02 23:04:43 +00:00
Matthew Kennedy 4717210859 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 356a73e7a5 docs 2021-11-02 17:11:44 -04:00
rusefi b968be575f Honda K 2021-11-02 17:11:34 -04:00
rusefi e9df4b2f23 honda k 2021-11-02 17:00:08 -04:00
GitHub build-firmware Action 9e18256735 Auto-generated configs and docs 2021-11-02 19:09:24 +00:00
Matthew Kennedy 8ee86e0789 log vvt targets (#3417)
* log vvt target

* java

* make java happy probably

* sensorlogger
2021-11-02 15:03:57 -04:00
Andrey G 37132db63e 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 6a35bd33d2 Auto-generated configs and docs 2021-11-02 03:40:40 +00:00
Matthew Kennedy 1cee83a56c 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 1d7dc3e254 Update date 2021-11-02 01:02:22 +00:00
GitHub set-date Action 9179b3d34f Update date 2021-11-01 01:02:24 +00:00
rusefi b810b9f8a6 no IAR 2021-10-31 20:21:59 -04:00
rusefillc f170a22f9a vag121 VR pin 2021-10-31 16:36:52 -04:00
rusefillc 0b64f45119 Honda K 2021-10-31 15:27:26 -04:00
rusefillc de0736492d better VVT default? 2021-10-31 15:25:43 -04:00
Andrey G a7b2a032d2 Linker file typo fix (#3436) 2021-10-31 15:17:56 -04:00
Andrey G 8974166079 OpenBLT: add as submodule under firmware/ext (#3432)
* OpenBLT: add as submodule under firmware/ext

OpenBLT is forked for RusEFI, rusefi_prod brunch is used.

* OpenBLT: use https for submodule

* submodule: make openblt submodule to track rusefi_prod
2021-10-31 14:46:28 -04:00
rusefillc 178f6fe9e8 Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353
fail faster!
2021-10-31 12:09:11 -04:00
rusefillc 960b68424b live data stuff goes up 2021-10-31 12:07:44 -04:00
GitHub build-firmware Action b632832407 Auto-generated configs and docs 2021-10-31 02:31:01 +00:00
Andrey fd34b2adee Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 22:24:43 -04:00
Andrey ef413188ee Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 22:21:36 -04:00
GitHub build-firmware Action 1a13dd7463 Auto-generated configs and docs 2021-10-31 02:08:31 +00:00
Andrey ac64f215f3 Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 22:03:19 -04:00
Andrey 814fdde468 TPS decel is pretty weird?! 2021-10-30 21:46:15 -04:00
Andrey f01c6fa6ae Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 21:45:52 -04:00
Andrey 3c0ce6a18b Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 21:45:46 -04:00
Andrey 12dfc7e869 Whatever we call it, no matter how we do it - we need live data / remote view into rusEFI actual state #3353 2021-10-30 21:45:37 -04:00
GitHub build-firmware Action 4aa8a793e2 Auto-generated configs and docs 2021-10-31 01:38:27 +00:00
Andrey de8b43cf94 looks like value is never assigned 2021-10-30 21:28:55 -04:00
Andrey cc0a93080f Honda K cam wheels #3405 2021-10-30 21:09:58 -04:00
GitHub set-date Action 21be14a023 Update date 2021-10-31 01:07:39 +00:00
GitHub build-firmware Action 06ffa72240 Auto-generated configs and docs 2021-10-31 00:44:58 +00:00
rusefillc 68ac13f8d9 rusEFI is the spelling 2021-10-30 20:33:11 -04:00
Matthew Kennedy 292120b8dc better pch usage and gmock constructors (#3426)
* break out mock constructors

* comment and spacing

* unnecessary compiler options

* happy stepper

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-30 20:31:09 -04:00
GitHub build-firmware Action f8a78dfe3a Auto-generated configs and docs 2021-10-30 20:50:46 +00:00
rusefillc 5d12e346a8 file was renamed 2021-10-30 16:45:39 -04:00
GitHub build-firmware Action 6108675f59 Auto-generated configs and docs 2021-10-30 14:50:41 +00:00
rusefillc a2f1cd2467 Override trigger gaps feature #2734 2021-10-30 10:45:32 -04:00
rusefillc 54acc2bf82 BL docs 2021-10-30 10:13:08 -04:00
Andrey G be75132ebe STM32F7 linker script: ITCM flash area also needs reserve for BL (#3431) 2021-10-30 09:12:47 -04:00
GitHub build-firmware Action 64d10511bf Auto-generated configs and docs 2021-10-30 10:19:10 +00:00
rusefillc 1a83100bab few debug commands 2021-10-30 06:06:22 -04:00
GitHub set-date Action 03d6736e04 Update date 2021-10-30 00:57:47 +00:00