Commit Graph

12353 Commits

Author SHA1 Message Date
GitHub build-firmware Action cfccb29fae Auto-generated configs and docs 2021-11-11 23:37:47 +00:00
Andrey 0a7d276110 https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 18:31:54 -05:00
rusefillc 80cf7b5ecd Overflow in currentTimeMillis and getTimeNowSeconds #3531 2021-11-11 17:54:31 -05:00
rusefillc 46e9269982 Overflow in currentTimeMillis and getTimeNowSeconds #3531
it now takes 1000 times longer to overflow
2021-11-11 16:43:41 -05:00
rusefillc 825a57e33a Overflow in currentTimeMillis and getTimeNowSeconds #3531
it now takes 1000 times longer to overflow
2021-11-11 16:39:23 -05:00
Matthew Kennedy 57ad75aa98
load lua libs correctly (#3529)
* fix lua lib loading

* test
2021-11-11 13:44:13 -05:00
Scott Smith 713083baa5
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 4af2722658
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 32d3d5fc67 where are we now? 2021-11-11 11:11:40 -05:00
rusefillc 1564f8aa02 where are we now? 2021-11-11 10:36:31 -05:00
Scott Smith 2f4d123052
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 dda2992e4f pid demo progress 2021-11-10 22:27:21 -05:00
rusefillc 1f98e53972 Idle valve outputs not available in TS #3523 2021-11-10 21:07:38 -05:00
GitHub build-firmware Action 664d20fdee Auto-generated configs and docs 2021-11-11 01:46:41 +00:00
rusefillc 2794a85ff8 Idle valve outputs not available in TS #3523 2021-11-10 20:40:42 -05:00
GitHub build-firmware Action adefa4b312 Auto-generated configs and docs 2021-11-11 01:09:25 +00:00
rusefillc 8ada016a2b helle88 second idle wire 2021-11-10 19:53:02 -05:00
Scott Smith d4c4db9a12
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 dcacef45ab open q 2021-11-10 19:24:17 -05:00
Matthew Kennedy 3f2a9c3fe8
test TS writes (#3515)
* test TS writes

* s

* this must be a gcc extension
2021-11-10 07:29:40 -05:00
Scott Smith dac67235c4
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 1db9a02f1d Revert "Don't keep a separate MultiChannelStateSequence for the trigger emulator. (#3513)"
This reverts commit 280dfa94e7.
2021-11-09 20:42:23 -05:00
GitHub set-date Action aea4a2ad22 Update date 2021-11-10 01:00:05 +00:00
GitHub build-firmware Action 6056a62a14 Auto-generated configs and docs 2021-11-09 20:43:52 +00:00
rusefi ad75fbe216 hellen88 2021-11-09 15:33:01 -05:00
Scott Smith 280dfa94e7
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 1d970dace1 LUA_USER_HEAP for 407 2021-11-09 09:36:42 -05:00
Scott Smith 158f719d95
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 7f373a6415 Auto-generated configs and docs 2021-11-09 02:36:07 +00:00
rusefi ccb27d487d lua pid 2021-11-08 21:30:38 -05:00
rusefi b64f6c4715 stefan has not yet asked for MAF 2021-11-08 21:30:38 -05:00
GitHub build-firmware Action 710f35d515 Auto-generated configs and docs 2021-11-09 02:26:06 +00:00
rusefi 5e44cc277b stefan is asking for TPS/IAT/CLT 2021-11-08 21:12:53 -05:00
rusefi 06e97a1794 why is meat allowed to touch machine?! 2021-11-08 20:49:12 -05:00
rusefi 22e78a97a5 nicer messages 2021-11-08 20:49:12 -05:00
GitHub build-firmware Action 0b0140db83 Auto-generated configs and docs 2021-11-09 01:26:41 +00:00
rusefillc a199103bd5 Proteus Lua Demo 2021-11-08 20:19:57 -05:00
GitHub set-date Action 6038b5a6ae Update date 2021-11-09 01:00:19 +00:00
rusefillc a783e5056b this one is for Scott 2021-11-08 19:02:34 -05:00
rusefillc fe25b24050 dead code 2021-11-08 19:01:18 -05:00
rusefi 8aaecb568e pid demo progress 2021-11-08 17:31:33 -05:00
GitHub build-firmware Action e089b8d9ac Auto-generated configs and docs 2021-11-08 22:24:44 +00:00
rusefi 19f5fd5cbd on Lua control of H-bridge 2021-11-08 17:11:48 -05:00
Scott Smith 37da55c920
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 13c496b79b
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 2c715be4b7 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 9d2f9f0d35 docs 2021-11-08 12:23:00 -05:00
Scott Smith d4132fdf01
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 45c4ccd4c4 Auto-generated configs and docs 2021-11-08 03:23:43 +00:00
rusefillc f9ec1cddc5 Main and Pump pins default set wrong fix #3501 2021-11-07 22:09:26 -05:00
GitHub set-date Action 21e7272e66 Update date 2021-11-08 01:02:17 +00:00
rusefillc f514f488b9 Latest firmware causes an error (2021 11 07 build) fix #3500 2021-11-07 19:52:30 -05:00
Matthew Kennedy 95b5c6fcf9
dead vss flag (#3499) 2021-11-07 14:36:46 -05:00
Andrey G 383d5c97ea
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 a0cddcec54 Auto-generated configs and docs 2021-11-07 18:40:19 +00:00
rusefi bfd0a12095 scriptTableName 2021-11-07 13:35:29 -05:00
GitHub build-firmware Action f0d6cd8479 Auto-generated configs and docs 2021-11-07 15:30:54 +00:00
Andrey 84b6a744b0 names for tables similar to curve names 2021-11-07 09:58:35 -05:00
Andrey 9b0f617664 lua pid class #3411 2021-11-07 09:53:40 -05:00
Andrey 821276197b lua pid class #3411 2021-11-07 09:49:47 -05:00
Andrey 9ac1575777 reducing complexity 2021-11-07 01:57:32 -05:00
rusefillc 5de6c2a270 typo 2021-11-07 01:51:05 -05:00
rusefillc 20784db801 refactoring - magic constant bad
cypress and kinetis both have this macro already
2021-11-07 01:34:16 -04:00
rusefillc 0af09f596c refactoring - magic constant bad
cypress and kinetis both have this macro already
2021-11-07 01:28:28 -04:00
GitHub build-firmware Action 5a14173b60 Auto-generated configs and docs 2021-11-07 04:44:16 +00:00
rusefillc 76f297665a a bit of dead code 2021-11-07 00:13:29 -04:00
rusefillc 6d0dfe4542 refactoring - magic constant bad 2021-11-07 00:09:17 -04:00
rusefillc 656b8c3429 refactoring - magic constant bad 2021-11-07 00:03:16 -04:00
GitHub build-firmware Action ed44ee9b11 Auto-generated configs and docs 2021-11-07 03:59:47 +00:00
rusefillc ce45a907a7 a bit of dead code 2021-11-06 23:39:56 -04:00
GitHub build-firmware Action d2b9fec0a2 Auto-generated configs and docs 2021-11-07 03:33:26 +00:00
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
rusefillc 4ff1f111db Honda K 2021-10-31 15:27:26 -04:00
rusefillc 7e4ade6b0f better VVT default? 2021-10-31 15:25:43 -04:00
Andrey G f8c099771e
Linker file typo fix (#3436) 2021-10-31 15:17:56 -04:00
Andrey G 62e8248185
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 ada747baef 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 e1402818bc live data stuff goes up 2021-10-31 12:07:44 -04:00
GitHub build-firmware Action 4d62ed9a09 Auto-generated configs and docs 2021-10-31 02:31:01 +00:00
Andrey 2de0409061 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 d0b2ce5654 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 38c67baed7 Auto-generated configs and docs 2021-10-31 02:08:31 +00:00
Andrey 97e34ad0d1 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 d4ba9b78d2 TPS decel is pretty weird?! 2021-10-30 21:46:15 -04:00
Andrey 432bad64ed 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 9fa8f91aed 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 b6fad6ec81 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 8ac4341cfa Auto-generated configs and docs 2021-10-31 01:38:27 +00:00
Andrey 75ab0040a1 looks like value is never assigned 2021-10-30 21:28:55 -04:00
Andrey 61777564d4 Honda K cam wheels #3405 2021-10-30 21:09:58 -04:00
GitHub set-date Action 4894eabe84 Update date 2021-10-31 01:07:39 +00:00
GitHub build-firmware Action 509f7997ef Auto-generated configs and docs 2021-10-31 00:44:58 +00:00
rusefillc 21ec6c6d6b rusEFI is the spelling 2021-10-30 20:33:11 -04:00
Matthew Kennedy 29ec0a5859
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 1a979805ce Auto-generated configs and docs 2021-10-30 20:50:46 +00:00
rusefillc 5166b55d37 file was renamed 2021-10-30 16:45:39 -04:00
GitHub build-firmware Action 0c7c578912 Auto-generated configs and docs 2021-10-30 14:50:41 +00:00
rusefillc c62fedbe34 Override trigger gaps feature #2734 2021-10-30 10:45:32 -04:00
rusefillc 28edebb4a3 BL docs 2021-10-30 10:13:08 -04:00
Andrey G 95099e2c12
STM32F7 linker script: ITCM flash area also needs reserve for BL (#3431) 2021-10-30 09:12:47 -04:00
GitHub build-firmware Action 4bb9def2f9 Auto-generated configs and docs 2021-10-30 10:19:10 +00:00
rusefillc 444f5bc9e5 few debug commands 2021-10-30 06:06:22 -04:00
GitHub set-date Action e81798d68f Update date 2021-10-30 00:57:47 +00:00
GitHub build-firmware Action 9b4fb01be0 Auto-generated configs and docs 2021-10-30 00:07:43 +00:00
rusefillc 1f94145bf0 Let's remove "enable boost control" #3424 2021-10-29 20:02:37 -04:00
Andrey 747bbd9c6a warning(CUSTOM_PID_DTERM, "PID: unexpected dTime") 2021-10-29 18:31:43 -04:00
GitHub build-firmware Action 1ac65638e1 Auto-generated configs and docs 2021-10-29 21:09:08 +00:00
rusefi bdbc989608 Override trigger gaps feature #2734 2021-10-29 17:04:34 -04:00
rusefi 2c5d6cb6c9 MRE_SECONDARY_CAN 2021-10-29 16:33:12 -04:00
rusefi c3bfaeb63c Revert "lua can: one step back"
This reverts commit ed89d5da
2021-10-29 16:32:41 -04:00
GitHub build-firmware Action d51521efe4 Auto-generated configs and docs 2021-10-29 19:52:10 +00:00
Matthew Kennedy 59e7c34fac
tooltip (#3428) 2021-10-29 15:45:03 -04:00
GitHub build-firmware Action ec2ed814c3 Auto-generated configs and docs 2021-10-29 19:29:57 +00:00
Matthew Kennedy 0bc4d97518
Split boost dialogs (#3425)
* split boost dialog

* more
2021-10-29 15:24:45 -04:00
rusefi ed89d5da57 lua can: one step back 2021-10-29 13:14:42 -04:00
rusefillc 4c164aaf5c Honda K & default VVT pid 2021-10-29 12:16:19 -04:00
rusefillc 9699c78b7c dead 2021-10-29 12:15:55 -04:00
GitHub build-firmware Action 0d58a8ed01 Auto-generated configs and docs 2021-10-29 04:20:12 +00:00
rusefillc 5f4fa50682 VVT is no longer aux pid 2021-10-28 23:51:46 -04:00
rusefillc 64ecbb16ab Revert "lua pid class #3411"
This reverts commit dde80bb900.
2021-10-28 23:41:23 -04:00
rusefillc dde80bb900 lua pid class #3411 2021-10-28 23:35:53 -04:00
Andrey 00e0bb44ad Honda K 2021-10-28 22:18:41 -04:00
Andrey 704870b4bb alternator is now a separate function 2021-10-28 22:15:12 -04:00
Andrey bfe6a5b2a8 Proteus meta - fixing confusion 2021-10-28 22:11:26 -04:00
GitHub set-date Action 05c13b0ebb Update date 2021-10-29 00:57:49 +00:00
Andrey a6a969390f Honda K cam wheels #3405 2021-10-28 19:26:59 -04:00
Andrey fbd37ae0e7 dead magic macro 2021-10-28 19:18:50 -04:00
GitHub build-firmware Action afba28fbe5 Auto-generated configs and docs 2021-10-28 21:37:12 +00:00
rusefi 40fcab1355 Proteus D4 and D5 are misplaces on connector pinout fix #3418 2021-10-28 17:31:25 -04:00
rusefi 1d5fccc4bc bugfix: DBG_TRIGGER_COUNTERS was overwriting VVT counters 2021-10-28 16:51:01 -04:00
rusefi f0f4513998 VVT to be reported after primary 2021-10-28 16:46:54 -04:00
rusefi 85153005d9 Honda K 2021-10-28 15:57:35 -04:00
rusefi 5ca1db80bc Honda K cam wheels #3405 2021-10-28 15:57:23 -04:00
GitHub build-firmware Action 3b989ddbf2 Auto-generated configs and docs 2021-10-28 18:24:50 +00:00
Andrey a1d2da7f4b https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 14:18:08 -04:00
Andrey 463515e282 Honda K cam wheels #3405 2021-10-28 13:49:54 -04:00
Andrey c57f9c325f https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 13:49:44 -04:00
GitHub build-firmware Action 07fc6bdac7 Auto-generated configs and docs 2021-10-28 17:29:44 +00:00
rusefillc a8b922b008 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 13:11:32 -04:00
GitHub build-firmware Action 83aa4c625a Auto-generated configs and docs 2021-10-28 16:45:50 +00:00
rusefillc f48d568be7 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:40:34 -04:00
Andrey 30c91040a2 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:29:56 -04:00
GitHub build-firmware Action b0bcdaefd6 Auto-generated configs and docs 2021-10-28 16:17:08 +00:00
Andrey aae1e5d5c5 https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 12:12:45 -04:00
Andrey de350131e6 Honda K cam wheels #3405 2021-10-28 11:40:31 -04:00
GitHub build-firmware Action b82ff0d823 Auto-generated configs and docs 2021-10-28 15:27:10 +00:00
Andrey 4c84894d7f https://rusefi.com/forum/viewtopic.php?f=19&t=2177 2021-10-28 11:21:07 -04:00
Andrey c96e52d6f3 Honda K cam wheels #3405 2021-10-28 10:36:41 -04:00
Andrey b5ae711e2f refactoring: extracting method to improve readability 2021-10-28 10:30:05 -04:00
Matthew Kennedy 680518d13c
make lua CAN happy (#3416)
* lua can tx

* index

* make rx match
2021-10-28 08:18:56 -04:00
rusefi 3cdfd9866e Lua CAN fun 2021-10-28 00:20:14 -04:00
rusefi cb79d19a84 Honda K 2021-10-27 23:55:31 -04:00
GitHub build-firmware Action 93e17986a9 Auto-generated configs and docs 2021-10-28 03:23:32 +00:00
rusefi 756e6b7a31 MRE_SECONDARY_CAN 2021-10-27 23:18:28 -04:00
GitHub set-date Action 63ed73da03 Update date 2021-10-28 00:59:24 +00:00
rusefi 75d8d334b7 secondary MRE 2021-10-27 19:54:45 -04:00
rusefi 5596fd2404 meta & fixing default config 2021-10-27 16:42:45 -04:00
rusefi 1d665bdaf1 meta & fixing default config 2021-10-27 16:34:27 -04:00
Andrey 4ff86a21b1 meta & fixing default config 2021-10-27 15:52:36 -04:00
Andrey 484d078752 Honda K cam wheels #3405 2021-10-26 22:47:19 -04:00
GitHub build-firmware Action fd82f0e42d Auto-generated configs and docs 2021-10-27 02:14:31 +00:00
BeerMoneyMotorsports d01ea31897
pin location test (#3415)
testing pin xy for interactive pinout.
2021-10-26 22:09:57 -04:00
Andrey e6faf2fa15 UNUSED 2021-10-26 21:24:16 -04:00
GitHub build-firmware Action 49575edb9a Auto-generated configs and docs 2021-10-27 01:17:33 +00:00
Andrey 45280d7435 MRE_SECONDARY_CAN 2021-10-26 21:05:38 -04:00
GitHub set-date Action 975c679e80 Update date 2021-10-27 00:58:36 +00:00
rusefi 30f9c57f70 Honda K cam wheels #3405 2021-10-26 17:29:26 -04:00
rusefi 574ca47bc3 Honda K 2021-10-26 17:15:24 -04:00
rusefi 475edecee5 this warning should be promoted to fatal! 2021-10-26 17:10:53 -04:00
GitHub build-firmware Action 0b4d70f99a Auto-generated configs and docs 2021-10-26 21:08:27 +00:00
rusefi 123b91a6e7 Merge remote-tracking branch 'origin/master' 2021-10-26 17:02:21 -04:00
rusefi 8c32625eb8 Honda K cam wheels #3405 2021-10-26 17:02:09 -04:00
Matthew Kennedy 148dbdeec6
Lua CAN rx data (#3414)
* rx data

* comments

* multi bus
2021-10-26 16:48:57 -04:00
Andrey 7a4382499d Honda K 2021-10-26 15:19:09 -04:00
GitHub build-firmware Action 8aa7b7e8c4 Auto-generated configs and docs 2021-10-26 19:17:54 +00:00
Matthew Kennedy 8ed6d3bfa2
idle closed loop vs open loop ui, etc (#3413)
* open + closed

* put idle solenoid first

* actually hide etb pins

* missed a few prepends
2021-10-26 15:04:09 -04:00
Andrey 7b8f1d3405 Honda K 2021-10-26 12:04:35 -04:00
Andrey 4f2cca58ea Honda K 2021-10-26 11:52:52 -04:00
Andrey 0e6a51e5c0 export board-specific macro for stm32 pins based on board yaml #3298
meta progress
2021-10-26 10:27:10 -04:00
Andrey e5a5b0a0f7 export board-specific macro for stm32 pins based on board yaml #3298
mre meta progress
2021-10-25 21:05:45 -04:00
GitHub set-date Action db3a8daa0b Update date 2021-10-26 01:01:51 +00:00
Andrey 089222ba5b export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 20:51:28 -04:00
GitHub build-firmware Action 2034aff631 Auto-generated configs and docs 2021-10-25 21:53:03 +00:00
Andrey 582b3fdd07 https://github.com/rusefi/proteus-Honda-OBD2A-adapter/issues/5 2021-10-25 17:43:31 -04:00
Andrey 9ab6c42418 export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 17:36:21 -04:00
Andrey 7d4e2310af some dead code 2021-10-25 17:23:14 -04:00
GitHub build-firmware Action 547896885e Auto-generated configs and docs 2021-10-25 19:48:12 +00:00
Matthew Kennedy 558a6d01fc
etb pwm limit (#3408)
* etb pwm limit

* missed an arg

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-10-25 15:35:23 -04:00
Andrey 53d16c67fe export board-specific macro for stm32 pins based on board yaml #3298
proteus meta progress
2021-10-25 14:22:46 -04:00
GitHub build-firmware Action bab01ff701 Auto-generated configs and docs 2021-10-25 16:27:39 +00:00
rusefillc a1786a724f generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 12:21:35 -04:00
rusefillc e5c364d6eb generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 12:18:46 -04:00
GitHub build-firmware Action 020c1485e6 Auto-generated configs and docs 2021-10-25 15:36:44 +00:00
rusefillc 4ef959a60e generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 11:05:45 -04:00
rusefillc 8c95c5adf2 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 10:59:24 -04:00
rusefillc 9044ebbbab generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 10:57:48 -04:00
rusefillc 76726aad7e generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-25 10:57:02 -04:00
David Holdeman c1b173a1e1
Use SSH for remaining workflows (#3407)
* install sshpass instead of ncftp

* don't use file for command

* change env vars

* replace ncftp with sshpass in docs

* switch gcov upload

* use heredoc instead of file

* convert ibom

* whoops

* messed up var

* remove quotes

* undo ini variable changes
2021-10-25 08:22:31 -04:00
GitHub build-firmware Action d512209146 Auto-generated configs and docs 2021-10-25 03:55:16 +00:00
Andrey 08684e4d18 generate java enum from C enum? generate both C and java from yaml? #2102 2021-10-24 23:41:12 -04:00
GitHub build-firmware Action 0b3be19c94 Auto-generated configs and docs 2021-10-25 03:28:00 +00:00