Commit Graph

3235 Commits

Author SHA1 Message Date
rusefillc 4b8c5f1671 harley 2021-11-26 14:41:35 -05:00
GitHub build-firmware Action c0d3de4128 Auto-generated configs and docs 2021-11-26 02:06:11 +00:00
GitHub build-firmware Action d8cb7b8059 Auto-generated configs and docs 2021-11-26 01:23:28 +00:00
Andrey bb96b284fc Mark made progress 2021-11-25 09:07:28 -05:00
Andrey 12d5106614 isCylinderCleanupEnabled would be nice by default 2021-11-24 23:32:55 -05:00
Andrey 2864d41844 harley config 2021-11-24 22:35:56 -05:00
GitHub build-firmware Action d205bf7635 Auto-generated configs and docs 2021-11-25 03:31:35 +00:00
Matthew Kennedy 992689ced5
bye (#3609) 2021-11-24 22:03:17 -05:00
GitHub build-firmware Action 26709493e1 Auto-generated configs and docs 2021-11-25 02:45:07 +00:00
GitHub build-firmware Action c46cf51dc5 Auto-generated configs and docs 2021-11-24 19:10:22 +00:00
rusefillc 8b07e0c643 typo 2021-11-24 09:12:06 -05:00
GitHub build-firmware Action 25d175b47a Auto-generated configs and docs 2021-11-23 21:48:05 +00:00
Matthew Kennedy 3334a6963c
oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
rusefi 48d44242ff harley lua 2021-11-22 17:33:28 -05:00
rusefillc a07e0a37b1 harley 2021-11-22 14:29:48 -05:00
GitHub build-firmware Action 66e9a5e9ae Auto-generated configs and docs 2021-11-22 18:42:24 +00:00
rusefi bc0c1a6b4a harley CAN Lua 2021-11-22 13:00:16 -05:00
rusefillc 76d90c4fa8 https://rusefi.com/forum/viewtopic.php?f=5&t=2217 2021-11-21 08:12:05 -05:00
Scott Smith 1fe26f55fb
Expose console over serial port for H7 proc (#3578)
This way you can use the console/TunerStudio with the ST-Link

In the process, combine TS_PRIMARY_UART and TS_PRIMARY_SERIAL into TS_PRIMARY_PORT, to make UART vs
SERIAL selection more robus.  Ditto for TS_SECONDARY_*.  Also change use of TS_NO_PRIMARY to be #if
not #ifdef, so that it can be properly set as a compile flag and not be overwritten by various
header files.
2021-11-20 00:39:08 -05:00
GitHub build-firmware Action 71bf1f7d1a Auto-generated configs and docs 2021-11-20 04:16:43 +00:00
Matthew Kennedy d40ca0f581
fuel pump doesn't use fsio (#3576)
* fuel pump

* s

* call correct callback

* more dead

* test adjustment

* don't overflow

* don't need separate function

* java

* give it a name

* generated

* generated

* add to generate script

* import *

* this is so cheap we don't need a flag
2021-11-19 22:23:12 -05:00
GitHub build-firmware Action 0b4ca8346b Auto-generated configs and docs 2021-11-19 12:08:29 +00:00
GitHub build-firmware Action f76054c0b3 Auto-generated configs and docs 2021-11-19 09:16:06 +00:00
Scott Smith 823d9a07e0
Programmatically replace ENGINE() and CONFIG() with engine-> etc (#3565)
git grep -l -w ENGINE | xargs sed -i -r "s/ENGINE\(([]a-zA-Z_0-9.[]+)\)/engine->\1/g"

git grep -l -w CONFIG | xargs sed -i -r "s/([^a-zA-Z_])CONFIG\(([]a-zA-Z_0-9.[]+)\)/\1engineConfiguration->\2/g"
2021-11-17 03:54:21 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
GitHub build-firmware Action 4ed25bff52 Auto-generated configs and docs 2021-11-16 02:53:15 +00:00
Matthew Kennedy cb032fb1ea
(void) -> () (#3550)
* static functions with (void)

* more

* Revert "more"

This reverts commit 246e53441f935451437df186ac92d7df26b62fb6.

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-15 13:02:34 +01:00
Matthew Kennedy 36d75fa6db
enable nb1 serial pins (#3546)
* enable serial on nb1

* typo

* serial

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-14 16:07:56 -05:00
rusefi 377c9e2fda Something something Automatic Compression Release #3442 2021-11-14 16:04:44 -05:00
GitHub build-firmware Action 1806c9876b Auto-generated configs and docs 2021-11-14 19:42:17 +00:00
rusefillc 14c0711011 script settings need names! 2021-11-14 13:18:11 -05:00
GitHub build-firmware Action 391218b562 Auto-generated configs and docs 2021-11-14 16:51:07 +00:00
rusefillc 68ebb8045d Epic: Remove FSIO #2928 2021-11-14 11:04:51 -05:00
GitHub build-firmware Action 402f2a3f93 Auto-generated configs and docs 2021-11-14 15:53:06 +00:00
rusefillc c22215cea7 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefi 800bbf38ad Lua progress 2021-11-14 10:02:28 -05:00
GitHub build-firmware Action 98a4aa86d3 Auto-generated configs and docs 2021-11-14 14:40:23 +00:00
GitHub build-firmware Action 0a9674aa94 Auto-generated configs and docs 2021-11-14 14:27:16 +00:00
rusefillc eb1af46655 Epic: Remove FSIO #2928 2021-11-14 08:37:50 -05:00
rusefillc a85d1bb064 Epic: Remove FSIO #2928 2021-11-14 07:30:26 -05:00
rusefillc 0a9682c553 Epic: Remove FSIO #2928 2021-11-14 07:24:50 -05:00
rusefillc 1e8d8f9691 script settings need names! 2021-11-13 22:59:15 -05:00
GitHub build-firmware Action 13d19653e9 Auto-generated configs and docs 2021-11-14 03:54:30 +00:00
rusefillc a9bcce88d0 script settings need names! 2021-11-13 22:47:46 -05:00
GitHub build-firmware Action b295511600 Auto-generated configs and docs 2021-11-14 03:02:10 +00:00
rusefi 5e346e40a3 pid demo progress 2021-11-13 16:41:20 -05:00
rusefi b7dc5a4ac5 pid demo progress 2021-11-13 10:33:13 -05:00
rusefi 844a8418a8 pid demo progress 2021-11-13 10:02:45 -05:00
rusefillc e662544919 lua can 2021-11-13 04:44:17 -05:00
rusefillc 8333234737 Something something Automatic Compression Release #3442 2021-11-13 04:24:53 -05:00
rusefillc 23612b5873 UART pins validation and dynamic alternative function recognition #3536 2021-11-13 04:13:11 -05:00
Matthew Kennedy 73b05d2e20
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 a831bec797
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
rusefi b3204da186 maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 13:45:07 -05:00
rusefillc b2c2e7e0c1 maybe lua freezes proteus h7 after 7 seconds of run #3539 2021-11-12 13:11:32 -05:00
rusefi 4e63922317 pid demo progress 2021-11-12 00:20:52 -05:00
GitHub build-firmware Action aae236188c Auto-generated configs and docs 2021-11-12 04:15:01 +00:00
Matthew Kennedy 14953c55dd
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
rusefi ab11b613bc lua wants your pins! 2021-11-11 22:54:48 -05:00
rusefi ff4a0b0939 pid demo progress 2021-11-11 22:38:50 -05:00
Andrey 78fdd5b9a9 UART pins validation and dynamic alternative function recognition #3536 2021-11-11 21:29:18 -05:00
GitHub build-firmware Action 2765d386b9 Auto-generated configs and docs 2021-11-12 01:54:56 +00:00
rusefi 4f85b655ec lua PID example 2021-11-11 19:16:04 -05:00
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
rusefi dda2992e4f pid demo progress 2021-11-10 22:27:21 -05:00
GitHub build-firmware Action 664d20fdee Auto-generated configs and docs 2021-11-11 01:46:41 +00:00
rusefillc 8ada016a2b helle88 second idle wire 2021-11-10 19:53:02 -05:00
rusefi ad75fbe216 hellen88 2021-11-09 15:33:01 -05:00
rusefillc 1d970dace1 LUA_USER_HEAP for 407 2021-11-09 09:36:42 -05: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
rusefi 5e44cc277b stefan is asking for TPS/IAT/CLT 2021-11-08 21:12:53 -05:00
rusefi 8aaecb568e pid demo progress 2021-11-08 17:31:33 -05:00
rusefi 19f5fd5cbd on Lua control of H-bridge 2021-11-08 17:11:48 -05:00
rusefillc f9ec1cddc5 Main and Pump pins default set wrong fix #3501 2021-11-07 22:09:26 -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 f0d6cd8479 Auto-generated configs and docs 2021-11-07 15:30:54 +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
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 4f738b366e a bit of dead code 2021-11-06 21:01:01 -04: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 6a9c38f934 Auto-generated configs and docs 2021-11-06 22:15:32 +00: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
rusefi fb5cf8ced3 aux pins for merc128 2021-11-06 13:20:03 -04: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
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
GitHub build-firmware Action 5e4abadd48 Auto-generated configs and docs 2021-11-06 02:01:07 +00: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
GitHub build-firmware Action 5adc7d27b8 Auto-generated configs and docs 2021-11-05 22:21:29 +00:00
GitHub build-firmware Action 9e8d55177a Auto-generated configs and docs 2021-11-05 19:42:05 +00:00
GitHub build-firmware Action 267e631f42 Auto-generated configs and docs 2021-11-05 18:40:32 +00:00