Commit Graph

2389 Commits

Author SHA1 Message Date
rusefillc c371bf0d7c dead code? one step back 2021-12-16 19:51:46 -05:00
rusefillc 76f16ab19e dead code 2021-12-16 19:18:49 -05:00
rusefillc 080c054eb0 dead code? 2021-12-16 17:28:14 -05:00
rusefillc ceb9b6e821 121vag 2021-12-16 17:27:16 -05:00
rusefillc 9f814cb5b1 typo 2021-12-16 16:32:52 -05:00
rusefillc cc5c8a5e43 live data for wastegate and launch control #3588 2021-12-16 16:14:13 -05:00
rusefillc fa46c8cfd3 rusEFI console ISO-TP via PCAN #3667
WOW, YES!!!
2021-12-08 19:30:14 -05:00
rusefillc 85fd271659 https://github.com/rusefi/hellen154hyundai/issues/42 2021-12-08 16:05:52 -05:00
Andrey d3afd617d2 MAP phase sensing #3544
new implementation seems complete?
2021-12-07 21:08:25 -05:00
rusefillc ddbe875d98 MAP phase sensing #3544
trigger sync better gauges/logging
2021-12-06 17:04:05 -05:00
rusefillc d97167f0fe MAP phase sensing #3544
defaults
2021-12-05 18:19:15 -05:00
rusefillc f2e1d958ee ELM327 optimization: sendShortPacketsInOneFrame #3656 2021-12-05 00:43:04 -05:00
rusefillc b6b2ffe29b tune via CAN #3361 2021-12-04 00:03:00 -05:00
rusefillc 5288fc07aa code style 2021-12-01 22:57:21 -05:00
rusefillc 3f1e1bac04 hellen81 up to master 2021-12-01 21:06:17 -05:00
rusefillc 7485d17dba hellen81 up to master 2021-12-01 21:05:47 -05:00
Andreika 8b076ee341 more trigger_adc & cypress fixes (#3642)
Co-authored-by: Andrei <andreikagit@users.noreply.github.com>
2021-12-01 17:26:58 -05:00
rusefillc 6554927940 hellen81 initial files 2021-12-01 11:54:59 -05:00
Andrei 4ff1b5b513 hellen81 2021-12-01 11:44:02 -05:00
rusefillc 2d9b159838 proteus to have enlarged Lua 2021-12-01 09:06:16 -05:00
rusefillc cb7cc45a90 proteus to have enlarged Lua
one step back
2021-11-30 22:12:55 -05:00
Andrey eedb7f55f6 proteus to have enlarged Lua 2021-11-30 20:45:16 -05:00
rusefillc 9cfd30a2b4 why so many channels are hidden in debug ? #3614 2021-11-29 11:54:55 -05:00
Matthew Kennedy 04333f61f3 /bin/bash (#3635) 2021-11-28 23:46:37 -05:00
Matthew Kennedy aed334f9ac better VSS configuration (#3542)
* vss uses real values

* some defaults

* test and correct math

* km, not miles!

* comment

* tooltip

* that macro went away

* 100hz and default settings gives 9kph

* changelog

* order of operations safety

* make the test like the pwm test

* housekeeping

* this is why we need sensor automation

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2021-11-27 08:49:07 -05:00
rusefillc 0aaf9ccdc2 harley 2021-11-26 14:41:35 -05:00
Andrey 063be2cc29 Mark made progress 2021-11-25 09:07:28 -05:00
Andrey 374b7223cd isCylinderCleanupEnabled would be nice by default 2021-11-24 23:32:55 -05:00
Andrey 3b915f8244 harley config 2021-11-24 22:35:56 -05:00
Matthew Kennedy 5752b4ba92 bye (#3609) 2021-11-24 22:03:17 -05:00
rusefillc d0db3f9733 typo 2021-11-24 09:12:06 -05:00
Matthew Kennedy 9bd8a19564 oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
rusefi 6ca471494b harley lua 2021-11-22 17:33:28 -05:00
rusefillc d0f4969b3b harley 2021-11-22 14:29:48 -05:00
rusefi 0820fa178d harley CAN Lua 2021-11-22 13:00:16 -05:00
rusefillc 07ce2036b3 https://rusefi.com/forum/viewtopic.php?f=5&t=2217 2021-11-21 08:12:05 -05:00
Scott Smith 8406fafa9e 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
Matthew Kennedy e7956a53f6 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
Scott Smith 80091498a6 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 7296593448 remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Matthew Kennedy c1941f3a49 (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 3d79c06200 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 301bdf08a2 Something something Automatic Compression Release #3442 2021-11-14 16:04:44 -05:00
rusefillc 899a10c829 script settings need names! 2021-11-14 13:18:11 -05:00
rusefillc 1a3fb4a0db Epic: Remove FSIO #2928 2021-11-14 11:04:51 -05:00
rusefillc 5f1aadf638 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefi fafa504dec Lua progress 2021-11-14 10:02:28 -05:00
rusefillc 8fd82af0cb Epic: Remove FSIO #2928 2021-11-14 08:37:50 -05:00
rusefillc 94320910e9 Epic: Remove FSIO #2928 2021-11-14 07:30:26 -05:00
rusefillc eab7f670a2 Epic: Remove FSIO #2928 2021-11-14 07:24:50 -05:00
rusefillc 0c88947639 script settings need names! 2021-11-13 22:59:15 -05:00
rusefillc 29670184e2 script settings need names! 2021-11-13 22:47:46 -05:00
rusefi 1441163bf1 pid demo progress 2021-11-13 16:41:20 -05:00
rusefi 9808acc07b pid demo progress 2021-11-13 10:33:13 -05:00
rusefi 13b8d92fec pid demo progress 2021-11-13 10:02:45 -05:00
rusefillc 14281da180 lua can 2021-11-13 04:44:17 -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
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 9126b6f405 pid demo progress 2021-11-12 00:20:52 -05: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
rusefi c92b032728 lua wants your pins! 2021-11-11 22:54:48 -05:00
rusefi fe07fee8b1 pid demo progress 2021-11-11 22:38:50 -05:00
Andrey aecdc84ab8 UART pins validation and dynamic alternative function recognition #3536 2021-11-11 21:29:18 -05:00
rusefi 1d078c114b lua PID example 2021-11-11 19:16:04 -05:00
Andrey 58588cdf6b https://rusefi.com/forum/viewtopic.php?f=13&t=2206 2021-11-11 18:31:54 -05:00
rusefi fb09cecd69 pid demo progress 2021-11-10 22:27:21 -05:00
rusefillc 469294c919 helle88 second idle wire 2021-11-10 19:53:02 -05:00
rusefi 01f259404a hellen88 2021-11-09 15:33:01 -05:00
rusefillc 2fe84449cf LUA_USER_HEAP for 407 2021-11-09 09:36:42 -05: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
rusefi 7520d9f0c0 stefan is asking for TPS/IAT/CLT 2021-11-08 21:12:53 -05:00
rusefi 69a53c565f pid demo progress 2021-11-08 17:31:33 -05:00
rusefi a358dc7de9 on Lua control of H-bridge 2021-11-08 17:11:48 -05:00
rusefillc 96e3b8c6f6 Main and Pump pins default set wrong fix #3501 2021-11-07 22:09:26 -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
rusefillc eb4ef563dd a bit of dead code 2021-11-06 23:39:56 -04:00
rusefillc 3f278e989b a bit of dead code 2021-11-06 21:19:56 -04:00
rusefillc 31347d66be a bit of dead code 2021-11-06 21:01:01 -04: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
Matthew Kennedy 511e616607 disable (#3484) 2021-11-06 16:57:13 -04:00
rusefi bc515f6513 aux pins for merc128 2021-11-06 13:20:03 -04:00
rusefi e592263ed5 aux pins for merc128 2021-11-06 13:12:44 -04:00
Scott Smith e350b0b6b4 Configuration for HPFP control algorithm. (#3475) 2021-11-05 23:15:35 -04: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
rusefillc aac4e8e52b https://rusefi.com/forum/viewtopic.php?f=16&t=2194
NA6 defaults IO
2021-11-04 11:15:46 -04: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
Andrey 1d30748678 On Proteus Main relay control #3447 2021-11-03 13:29:04 -04: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 b968be575f Honda K 2021-11-02 17:11:34 -04:00
rusefi e9df4b2f23 honda k 2021-11-02 17:00:08 -04:00