Commit Graph

725 Commits

Author SHA1 Message Date
GitHub gen-configs Action 3d64b2070a Auto-generated configs and docs 2023-01-05 02:20:06 +00:00
rusefillc a19a7120df https://rusefi.com/forum/viewtopic.php?f=2&t=2484 luaIgnCut 2023-01-02 18:06:38 -05:00
GitHub gen-configs Action 93d20f33ec Auto-generated configs and docs 2023-01-02 22:53:56 +00:00
rusefillc 406e49af57 tp 2.0 2022-12-23 19:08:09 -05:00
rusefillc e316889ca9 tp 2.0 2022-12-23 19:01:30 -05:00
rusefillc 6b14653909 tp 2.0 2022-12-23 18:20:17 -05:00
GitHub gen-configs Action 9a1237fc48 Auto-generated configs and docs 2022-12-21 23:33:35 +00:00
rusefillc 18461a80b3 GDI progress 2022-12-21 18:13:40 -05:00
GitHub gen-configs Action d755831d6d Auto-generated configs and docs 2022-12-21 02:28:18 +00:00
rusefillc 904a4ee823 getGlobalConfigurationVersion 2022-12-20 21:13:34 -05:00
rusefillc 6d213e1e3a GDI progress 2022-12-20 19:31:26 -05:00
GitHub gen-configs Action 2749e8e0ed Auto-generated configs and docs 2022-12-20 22:54:51 +00:00
rusefillc 8fb88197dd GDI progress 2022-12-20 17:40:15 -05:00
rusefillc 1eb16108c4
Create readme.md 2022-12-20 14:51:30 -05:00
GitHub gen-configs Action 036b7f1ac1 Auto-generated configs and docs 2022-12-20 17:18:10 +00:00
GitHub gen-configs Action 0699f0cf98 Auto-generated configs and docs 2022-12-20 16:47:45 +00:00
rusefillc af54b3a117 lua getOutput documentation generator #4867 2022-12-20 11:42:34 -05:00
rusefillc 74e8291327 Add setBoostDutyAdd function to control only boost duty #4900 2022-12-19 12:05:06 -05:00
Andrey 748f97afeb kinetis asking for guard, also I've must have messed up something 2022-12-17 18:04:54 -05:00
rusefillc 18165e4b02 guards 2022-12-17 14:36:27 -05:00
GitHub gen-configs Action d2eea001f8 Auto-generated configs and docs 2022-12-17 04:46:59 +00:00
GitHub gen-configs Action 50f2e74a71 Auto-generated configs and docs 2022-12-17 01:29:31 +00:00
TurboMarian c9a3503a4d ALS LUA Examples
(cherry picked from commit 2e0c5a2a2e953d868271a177cdfd0065c0646711)
2022-12-16 16:33:07 -05:00
GitHub gen-configs Action 2628bc86d1 Auto-generated configs and docs 2022-12-15 12:39:07 +00:00
GitHub gen-configs Action 6daa6d936a Auto-generated configs and docs 2022-12-15 03:30:12 +00:00
GitHub gen-configs Action 93cb248194 Auto-generated configs and docs 2022-12-14 03:43:40 +00:00
GitHub gen-configs Action 2372ce911e Auto-generated configs and docs 2022-12-10 23:01:38 +00:00
GitHub gen-configs Action 1c5847eb03 Auto-generated configs and docs 2022-12-10 12:40:43 +00:00
GitHub gen-configs Action a2d4c8a1b0 Auto-generated configs and docs 2022-12-04 19:58:59 +00:00
rusefillc d0957a03a5 reduce flash footprint by smarter code generation #4163 2022-12-04 01:21:38 -05:00
GitHub gen-configs Action 15745304cf Auto-generated configs and docs 2022-12-04 06:01:18 +00:00
GitHub gen-configs Action b5c7b573a5 Auto-generated configs and docs 2022-12-04 05:50:09 +00:00
GitHub gen-configs Action a42b579010 Auto-generated configs and docs 2022-12-04 05:26:23 +00:00
GitHub gen-configs Action 3862af75d2 Auto-generated configs and docs 2022-12-03 13:38:26 +00:00
rusefillc 930a070507 VW TP 2.0 2022-12-01 20:40:50 -05:00
rusefillc 4365e9e24e VW TP 2.0 2022-12-01 20:23:31 -05:00
rusefillc b1df7a2727 VW TP 2.0 2022-12-01 19:31:49 -05:00
rusefillc 8714347f4e VW TP 2.0 2022-12-01 18:47:08 -05:00
GitHub gen-configs Action f83f7b18b7 Auto-generated configs and docs 2022-11-29 01:06:09 +00:00
Matthew Kennedy 8ea5969607
fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
GitHub gen-configs Action 0d1120ca13 Auto-generated configs and docs 2022-11-27 13:15:41 +00:00
GitHub gen-configs Action 907254b6c1 Auto-generated configs and docs 2022-11-27 05:50:00 +00:00
rusefi 596fe6b64a minor clean-up 2022-11-26 21:53:31 -05:00
GitHub gen-configs Action 3626ece149 Auto-generated configs and docs 2022-11-26 19:31:53 +00:00
GitHub gen-configs Action 2645f97cab Auto-generated configs and docs 2022-11-26 16:23:09 +00:00
rusefillc 54f1b74970 docs 2022-11-22 15:20:33 -05:00
rusefillc ebe00482d2 docs 2022-11-22 14:00:06 -05:00
GitHub gen-configs Action 36422d639e Auto-generated configs and docs 2022-11-19 14:45:54 +00:00
Andrey Gusakov caebd674ea LUA/SENT: hook to get RAW sig0 and sig1 (WIP)
TODO: how to return two (N) values from LUA hook?
2022-11-17 16:17:27 -05:00
rusefillc d2bfb22067 Hopefully not breaking anything 2022-11-15 15:15:17 -05:00
rusefi 2c2429854b copy-paste bad 2022-11-15 12:28:31 -05:00
rusefillc 9f88281566 would need to stop the buzzing at PRI. 2022-11-15 11:01:56 -05:00
GitHub gen-configs Action 05f9ea5867 Auto-generated configs and docs 2022-11-14 01:03:03 +00:00
GitHub gen-configs Action b53b3cde68 Auto-generated configs and docs 2022-11-11 23:13:14 +00:00
GitHub gen-configs Action 8886b39963 Auto-generated configs and docs 2022-11-09 03:04:45 +00:00
rusefi 9ccb0ccb0c https://rusefi.com/forum/viewtopic.php?p=46603#p46603
calling 'setTimeout' on bad self (cpp class not export)
2022-11-06 20:09:01 -05:00
GitHub gen-configs Action f5f1fbfe2f Auto-generated configs and docs 2022-11-06 00:28:03 +00:00
GitHub gen-configs Action e083144623 Auto-generated configs and docs 2022-11-04 19:09:03 +00:00
GitHub gen-configs Action 0a703fec8c Auto-generated configs and docs 2022-11-03 02:21:44 +00:00
rusefi d1875af1b4 better handling of invalid sensor on bench 2022-11-01 21:32:31 -04:00
Andrey G e7b06cbfca
compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc 074c6840dd Lua to enable self stimulation #4712 2022-10-29 21:26:42 -04:00
rusefillc 92e6ffbc8d Lua to enable self stimulation #4712 2022-10-28 19:52:16 -04:00
rusefillc 9efd9aaa15 minor move of code around 2022-10-28 19:31:17 -04:00
rusefi f5abf3059a GM SENT ETB bench test in NJ #4688 2022-10-26 17:33:10 -04:00
rusefillc 8209e4da69 GM SENT ETB bench test in NJ #4688 2022-10-26 12:46:50 -04:00
rusefi ae7191eeff GM SENT ETB bench test in NJ #4688 2022-10-26 12:17:14 -04:00
rusefi 28558eaf7a GM SENT ETB bench test in NJ #4688 2022-10-26 09:29:04 -04:00
Andrey G afa0bd92e8
SENT glue to LUA (#4700)
* use tabs

* SENT: Lua glue: getSentValue returns ETB position now

Can be tested with following LUA script:
setTickRate(100)
function onTick()
	pos = getSentValue(1)
	setLuaGauge(1, 10000 * pos)
	print(pos)
end
2022-10-26 06:42:14 -04:00
GitHub gen-configs Action 911899e28a Auto-generated configs and docs 2022-10-24 16:46:53 +00:00
rusefi 6e24020ab5 GM ETB bench test in NJ #4688
SENT to Lua integration
2022-10-22 22:46:37 -04:00
GitHub gen-configs Action b6901f594c Auto-generated configs and docs 2022-10-21 02:31:12 +00:00
Matthew Kennedy ec9b2a52e8
fix no-lua build (#4690) 2022-10-20 22:01:33 -04:00
rusefillc 2eba65505b Lua aux gauge #4672 2022-10-17 20:01:46 -04:00
Matthew Kennedy 1ae642e7a7
build tweaks for size (#4661)
* don't align on non-cached mcu

* lua decimal point

* no snprintf

* sort sections by alignment

* unit tests
2022-10-13 20:30:30 -04:00
GitHub gen-configs Action 3e44d98a22 Auto-generated configs and docs 2022-10-06 23:00:58 +00:00
rusefillc 9f8aa66a9a Mark is asking for VIN number field fix #3967 2022-10-05 18:26:12 -04:00
Andrey 83afa58baf Mark is asking for VIN number field #3967 2022-10-04 21:12:51 -04:00
GitHub gen-configs Action d5162bd6ad Auto-generated configs and docs 2022-09-28 02:23:08 +00:00
GitHub gen-configs Action 0810af5f18 Auto-generated configs and docs 2022-09-26 09:32:19 +00:00
GitHub gen-configs Action f2cad9076c Auto-generated configs and docs 2022-09-20 02:05:56 +00:00
rusefillc a9b149c262 moving confusing around 2022-09-19 12:32:45 -04:00
GitHub gen-configs Action 8729d705c2 Auto-generated configs and docs 2022-09-19 16:23:04 +00:00
GitHub gen-configs Action 9fa2e8c7ae Auto-generated configs and docs 2022-09-15 19:00:51 +00:00
GitHub gen-configs Action bf66444ebe Auto-generated configs and docs 2022-09-14 04:39:50 +00:00
Andrey 954ddacd96 GM 2022-09-14 00:03:38 -04:00
GitHub gen-configs Action 6e53b1b5a3 Auto-generated configs and docs 2022-09-13 06:33:23 +00:00
GitHub gen-configs Action 08db9cc1ac Auto-generated configs and docs 2022-09-13 00:18:15 +00:00
Andrey G 91d4844e38
time routines refactor (#4563)
* Extract time helpers from engine_controller_misc to efitime.cpp

* Rename currentTimeMillis() to getTimeNowMs()

We have getTimeNowNt(), getTimeNowUs(), currentTimeMillis() and getTimeNowSeconds()
Align a bit.

find . -type f -name '*.c*' -exec sed -i 's/currentTimeMillis/getTimeNowMs/g' {} \;

* Rename getTimeNowSeconds() to getTimeNowS()

To align with Nt, Us, Ms versions.

* Some comments about getTimeNowLowerNt()
2022-09-11 13:06:03 -04:00
GitHub gen-configs Action b124dbe753 Auto-generated configs and docs 2022-09-09 22:00:10 +00:00
rusefillc 7b4a5c9be6 vvtBooleanForVerySpecialCases, tempBooleanForVerySpecialLogic 2022-09-09 17:52:54 -04:00
GitHub gen-configs Action 6a8e248d48 Auto-generated configs and docs 2022-09-08 20:30:30 +00:00
GitHub gen-configs Action 766735f3b6 Auto-generated configs and docs 2022-09-08 02:51:42 +00:00
Andrey 52ad9ced0b B6 2022-09-07 15:36:50 -04:00
Andrey 07d895dfeb B6 2022-09-06 15:12:43 -04:00
Andrey 4c9df01b64 wow Leiderman-Khlystov 2022-09-05 20:02:33 -04:00
GitHub gen-configs Action f59de1296b Auto-generated configs and docs 2022-09-05 05:33:14 +00:00
GitHub gen-configs Action ddcadae4e2 Auto-generated configs and docs 2022-09-05 02:56:42 +00:00
GitHub gen-configs Action aed7b77535 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
GitHub gen-configs Action f6cf4700ff Auto-generated configs and docs 2022-09-03 21:43:03 +00:00
GitHub gen-configs Action fa3b2fe009 Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
GitHub gen-configs Action 3d6d710379 Auto-generated configs and docs 2022-09-01 15:03:34 +00:00
Andrey 7e340cceb3 refactoring: reducing outputChannels copy 2022-09-01 10:58:16 -04:00
GitHub gen-configs Action ea1d2b848f Auto-generated configs and docs 2022-09-01 14:39:52 +00:00
GitHub gen-configs Action 7dee4d33cb Auto-generated configs and docs 2022-09-01 14:11:17 +00:00
GitHub gen-configs Action 5237235e48 Auto-generated configs and docs 2022-09-01 04:53:05 +00:00
Andrey c63fb29aaf refactoring: reducing outputChannels copy 2022-09-01 00:13:55 -04:00
GitHub gen-configs Action 81a73508b7 Auto-generated configs and docs 2022-08-31 23:10:02 +00:00
rusefillc 1c4fa00bb8 XCP 2022-08-30 22:21:49 -04:00
GitHub gen-configs Action 490d9b0c93 Auto-generated configs and docs 2022-08-30 06:02:26 +00:00
GitHub gen-configs Action 886f62da3d Auto-generated configs and docs 2022-08-30 02:29:24 +00:00
rusefillc 7c1abbb4f9 DBW 2022-08-29 10:59:39 -04:00
rusefillc 74cdbc35b5 DBW 2022-08-29 10:58:30 -04:00
rusefillc b8b3eb20e7 DBW 2022-08-29 10:51:32 -04:00
rusefillc b444e400eb docs 2022-08-29 10:51:32 -04:00
Matthew Kennedy b662e59707
remove some uses of EFI_ERROR_CODE (#4496)
* lua hooks

* findAngleMatch

* s

* s
2022-08-28 09:43:21 -04:00
GitHub gen-configs Action 8b8ce329b3 Auto-generated configs and docs 2022-08-27 18:44:44 +00:00
Andrey 764fc833d7 B6 progress 2022-08-26 12:07:13 -04:00
Andrey 3477d4bd07 refactoring 2022-08-26 00:16:36 -04:00
Andrey 1b4bbb8772 refactoring 2022-08-26 00:14:52 -04:00
Andrey 97e8c978ce B6 progress 2022-08-26 00:04:47 -04:00
Andrey d7b213f213 lua unit tests can print now 2022-08-26 00:04:17 -04:00
rusefillc 055184e1ec two bugs love to cancel each other 2022-08-25 23:55:42 -04:00
rusefillc 67055c69bf progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
GitHub gen-configs Action 92325eb93e Auto-generated configs and docs 2022-08-26 01:48:46 +00:00
GitHub gen-configs Action dd41e87877 Auto-generated configs and docs 2022-08-26 00:41:14 +00:00
Andrey 4844edc682 Lua code reuse 2022-08-25 10:45:26 -04:00
rusefillc fd8a6dc20d readme 2022-08-24 18:52:23 -04:00
rusefi eb976de07d lua outputs bench test 2022-08-24 13:20:14 -04:00
GitHub gen-configs Action 1d73174592 Auto-generated configs and docs 2022-08-23 23:50:32 +00:00
rusefi 755f9926ea canRxAdd bus does not convert from Lua/human value into zero-indexed implementation value fix #4467 2022-08-21 23:48:10 -04:00
rusefi b471012838 less violent error handling 2022-08-21 22:46:59 -04:00
rusefi 7f84657aac refactoring: magic constant 2022-08-21 22:46:49 -04:00
rusefi 26eda07424 Lua CAN bus index: let's fail if invalid value specified 2022-08-21 22:31:52 -04:00
rusefillc c950adc025 refactoring 2022-08-21 21:53:01 -04:00
rusefillc bd4fb37ae1 https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 16:28:09 -04:00
Andrey 35a71f8960 test coverage and some magic constant refactoring 2022-08-21 15:22:22 -04:00
rusefillc 77a831185b https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 14:42:42 -04:00
rusefillc 6d634e3c6a Idle air add via Lua fix #4465 2022-08-21 00:32:34 -04:00
GitHub gen-configs Action 2d9f734a8f Auto-generated configs and docs 2022-08-19 03:08:33 +00:00
rusefillc f59583abbd ECU to Mainline DynoLog Data Protocol #4319 2022-08-14 11:28:17 -04:00
rusefillc 8f6fb427eb ECU to Mainline DynoLog Data Protocol #4319 2022-08-12 23:53:48 -04:00
rusefi 2aa1e13c0b https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:19:45 -04:00
rusefi ef123e7f64 https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:15:54 -04:00
GitHub build-firmware Action 94a333166f Auto-generated configs and docs 2022-08-11 14:25:31 +00:00
GitHub build-firmware Action ae268ae8c2 Auto-generated configs and docs 2022-08-09 20:28:25 +00:00
GitHub build-firmware Action d706e94492 Auto-generated configs and docs 2022-08-09 17:31:12 +00:00
GitHub build-firmware Action 15dbdcb69e Auto-generated configs and docs 2022-08-09 16:53:48 +00:00
GitHub build-firmware Action 426fdde8b5 Auto-generated configs and docs 2022-08-07 22:13:09 +00:00
GitHub build-firmware Action eb45be247f Auto-generated configs and docs 2022-07-30 16:12:13 +00:00
GitHub build-firmware Action bd17d8d7ea Auto-generated configs and docs 2022-07-30 15:34:12 +00:00
GitHub build-firmware Action 7d6ebfb79a Auto-generated configs and docs 2022-07-30 13:47:13 +00:00
rusefillc 659541595e it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:30:04 -04:00
rusefillc d320dd589c it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:08:35 -04:00
GitHub build-firmware Action baf68363e0 Auto-generated configs and docs 2022-07-28 06:53:58 +00:00
Matthew Kennedy ada1ba6b56
Lua rx callback (#4387)
* s

* mask, callback

* support 8 different signatures

* make the compiler happy about unrechable code

* s

* make the compiler happy about unreachable code

* guard

* changelog
2022-07-28 09:27:18 +03:00
Matthew Kennedy 41318e0f9d
detect bad Lua sensor name when registering (#4391)
* format

* lua error on bad sensor

* comment

* name validation

* soft check before the hard check causes a fatal error

* s
2022-07-27 12:41:21 +03:00
rusefillc 1dff8a2cb0 thank you Mark we have humans asking for it 2022-07-22 16:04:43 -04:00
rusefillc 2af5f30ec2 thank you Mark we have humans asking for it 2022-07-22 15:57:18 -04:00
Matthew Kennedy b99d90b006
Start -> start (#4366) 2022-07-21 15:17:32 -04:00
GitHub build-firmware Action 31782690bd Auto-generated configs and docs 2022-07-20 23:09:02 +00:00
GitHub build-firmware Action 74754dfc2d Auto-generated configs and docs 2022-07-20 22:52:33 +00:00
rusefillc da336a6190 Nissan Lua 2022-07-18 17:01:44 -04:00
GitHub build-firmware Action 175b8c00b9 Auto-generated configs and docs 2022-07-16 06:38:35 +00:00
Matthew Kennedy a0d8ae3f4f
use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc 26fba94d07 launch control for autocross on micro rusefi #4341 2022-07-14 17:23:54 -04:00
rusefillc e4f210c1ca launch control for autocross on micro rusefi #4341 2022-07-14 17:19:30 -04:00
rusefillc b7cfa4e702 launch control for autocross on micro rusefi #4341 2022-07-14 16:41:50 -04:00
rusefillc 3aca38903c launch controll for autocross on micro rusefi #4341 2022-07-14 16:20:03 -04:00
rusefillc f6afb2a9fa https://rusefi.com/forum/viewtopic.php?p=43183#p43183 2022-07-14 15:45:33 -04:00
rusefillc 975329fcc7 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 14:04:21 -04:00
rusefillc 39df02fe35 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 13:03:08 -04:00
rusefillc cad14d6541 #4308 progress 2022-07-14 12:36:55 -04:00
GitHub build-firmware Action 1dfb5ce2cd Auto-generated configs and docs 2022-07-14 12:08:23 +00:00
rusefillc 55ffb45934 FSIO is dead 2022-07-14 07:52:58 -04:00
rusefillc 094db00bfb refactoring - lambda for readbility 2022-07-14 07:27:58 -04:00
Matthew Kennedy 8bc01472b7
Add a timeout for Lua ETB adjustment (#4331)
* lua etb timeout

* mocks

* test
2022-07-10 05:46:28 +03:00
rusefillc d55e07e397 docs 2022-07-09 03:00:14 -04:00
GitHub build-firmware Action 7daebe83e2 Auto-generated configs and docs 2022-07-08 14:11:38 +00:00
rusefillc 67ec949eb6 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
Matthew Kennedy 5d844b1ebe
Error handling cleanup (#4332)
* dead code in stm32

* rusefi.cpp can have some noreturn

* handle lua panic

* unused error codes

* simplifications of error_handling.cpp

* comment

* put that back

* guard
2022-07-07 23:49:02 -04:00
Matthew Kennedy 3c062e02bc
Lua hooks for gear detection (#4328)
* implement

* sim has vss

* write a test

* guard
2022-07-07 23:16:56 -04:00
rusefillc a42a671aca fix lua CAN RX of 11b frames #4321 2022-07-05 13:40:02 -04:00
Matthew Kennedy dec3021c8f
fix lua CAN RX of 11b frames (#4321)
* s

* loggy the change
2022-07-05 13:37:31 -04:00
rusefillc 6e1c5b0126 https://rusefi.com/forum/viewtopic.php?f=4&t=2329 2022-07-03 09:51:49 -04:00
rusefillc 82131e5572 Uniform reset pattern for all Lua adjustments #4308
no progress only preparation
2022-06-30 20:07:27 -04:00
rusefillc 483395fa2e
https://github.com/rusefi/rusefi_documentation/issues/226 (#4306)
* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

* https://github.com/rusefi/rusefi_documentation/issues/226

Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-06-29 23:34:00 -04:00
GitHub build-firmware Action 3393b5495b Auto-generated configs and docs 2022-06-29 22:52:53 +00:00
Matthew Kennedy 9f15218089
remove system lua VM (#3864)
* well, that was a fun experiment

* don't need that file

* s

Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-06-29 16:52:17 -04:00
GitHub build-firmware Action 4ffdf74203 Auto-generated configs and docs 2022-06-29 07:57:36 +00:00
rusefillc f7ecebaa64 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
GitHub build-firmware Action 1407909061 Auto-generated configs and docs 2022-06-29 05:34:35 +00:00
GitHub build-firmware Action df70173ad1 Auto-generated configs and docs 2022-06-27 00:12:14 +00:00
GitHub build-firmware Action a6dd876fe7 Auto-generated configs and docs 2022-06-23 23:48:34 +00:00
Andrey 6ef7562666 VAG Lua progress 2022-06-23 16:02:09 -04:00
GitHub build-firmware Action 572a482115 Auto-generated configs and docs 2022-06-23 19:34:20 +00:00
GitHub build-firmware Action 169fc5e086 Auto-generated configs and docs 2022-06-22 20:58:24 +00:00
GitHub build-firmware Action cbd85f54c4 Auto-generated configs and docs 2022-06-18 18:53:00 +00:00
GitHub build-firmware Action 3317744436 Auto-generated configs and docs 2022-05-30 22:01:09 +00:00
GitHub build-firmware Action 6b9eff99d0 Auto-generated configs and docs 2022-05-30 11:21:11 +00:00
Matthew Kennedy 67932483fb
use the right define (#4184) 2022-05-19 09:46:49 -04:00
rusefillc 4aea193684 Hellen wants Lua RAM 2022-05-18 23:14:48 -04:00
rusefillc 458b92e6d9 reduce flash footprint by smarter code generation #4163 2022-05-16 00:00:47 -04:00
rusefillc f440e7f4a2 mac cares a lot 2022-05-15 23:16:07 -04:00
rusefi ff8afa7980 helping mac / legit fix? 2022-05-15 21:53:07 -04:00
GitHub build-firmware Action 67039e43dd Auto-generated configs and docs 2022-05-16 01:23:33 +00:00
GitHub build-firmware Action e1c71c7f0c Auto-generated configs and docs 2022-05-15 22:40:44 +00:00
GitHub build-firmware Action 4d3ed9bc59 Auto-generated configs and docs 2022-05-15 22:04:42 +00:00
Andrey aa87eb681c reduce flash footprint by smarter code generation #4163
a bit of unit tests drama
2022-05-15 17:47:14 -04:00
rusefillc 6a45f889f7 reduce flash footprint by smarter code generation #4163 2022-05-15 15:31:35 -04:00
rusefillc 822ce9c7ba Revert "reduce flash footprint by smarter code generation #4163"
This reverts commit 15d7085bce.
2022-05-15 15:14:10 -04:00
rusefillc 15d7085bce reduce flash footprint by smarter code generation #4163 2022-05-15 11:36:33 -04:00
GitHub build-firmware Action f50bada981 Auto-generated configs and docs 2022-05-15 15:04:47 +00:00
rusefi 6a79571062 some Lua fun 2022-05-14 20:18:51 -04:00
GitHub build-firmware Action cbfae3bb88 Auto-generated configs and docs 2022-05-14 12:21:15 +00:00
GitHub build-firmware Action e8811e60a4 Auto-generated configs and docs 2022-05-10 04:29:25 +00:00
rusefillc 683a723d2f
CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
rusefillc 2132cec3fc Remove value copy from controller into outputChannels #4095 2022-05-09 06:12:17 -04:00
GitHub build-firmware Action 4e213fbc1e Auto-generated configs and docs 2022-05-09 09:42:49 +00:00
GitHub build-firmware Action c9560fb2dd Auto-generated configs and docs 2022-05-08 13:06:44 +00:00
GitHub build-firmware Action 04da97c1e3 Auto-generated configs and docs 2022-05-08 12:05:34 +00:00
GitHub build-firmware Action 5c3ec431ba Auto-generated configs and docs 2022-05-02 05:38:10 +00:00
GitHub build-firmware Action 35112a91ec Auto-generated configs and docs 2022-04-29 23:48:53 +00:00
Matthew Kennedy e4a0979dc2
Brain pin is enum class (#4108)
* change most usages to Gpio::

* board configs

* engine configs etc

* isBrainPinValid, smart gpio

* generator

* generator

* generator

* connector yamls

* kinetis enums

* cypress txt

* kinetis config

* frankenso

* config generator

* actually do it for the others

* disable skips for pr ci

* fix tle8888

* misc

* weird cast from int

* needs this operator too

* this can be an unsigned subtract

* happy tests

* s

* kinetis isConfigurationChanged weirdness

* missed J/K

* cypress efifeatures

* build script mistake (!)

* mistake in smart gpio

* debounce

* eg33

* kinetis, so needy

* it's pretty green, we can skip these again
2022-04-28 17:32:39 -04:00
GitHub build-firmware Action e064759ef7 Auto-generated configs and docs 2022-04-24 00:06:06 +00:00
GitHub build-firmware Action 8001c88151 Auto-generated configs and docs 2022-04-23 11:41:19 +00:00
GitHub build-firmware Action 786ec5a4dd Auto-generated configs and docs 2022-04-21 13:14:29 +00:00
GitHub build-firmware Action 70209c5953 Auto-generated configs and docs 2022-04-20 00:09:40 +00:00
GitHub build-firmware Action 43b342f5cb Auto-generated configs and docs 2022-04-18 16:29:48 +00:00
rusefillc e59ae35196 unique field names 2022-04-18 11:11:57 -04:00
rusefillc 82f608d558 one step sideways to fix build 2022-04-16 21:24:02 -04:00
rusefillc 08c50cc1dd logging of live data structs was: data points #3614
progress
2022-04-16 21:04:02 -04:00
rusefillc 0b21ddce9c random progress 2022-04-16 16:39:52 -04:00
GitHub build-firmware Action 7c8d1aac91 Auto-generated configs and docs 2022-04-09 13:32:30 +00:00
rusefillc b5ff552946 Air Conditioning Improvements #4054 2022-04-09 01:23:00 -04:00
rusefillc ed6ed0d93e Air Conditioning Improvements #4054 2022-04-08 21:28:50 -04:00
GitHub build-firmware Action ba8841250a Auto-generated configs and docs 2022-04-07 13:29:42 +00:00
GitHub build-firmware Action ec2ade8c8d Auto-generated configs and docs 2022-04-06 20:22:52 +00:00
GitHub build-firmware Action 01a2316385 Auto-generated configs and docs 2022-04-05 00:36:02 +00:00
GitHub build-firmware Action f436a6c0ea Auto-generated configs and docs 2022-04-04 21:49:00 +00:00
GitHub build-firmware Action 906692bb1d Auto-generated configs and docs 2022-04-03 13:37:31 +00:00
GitHub build-firmware Action 7073e1e58f Auto-generated configs and docs 2022-04-03 08:28:56 +00:00
GitHub build-firmware Action e4a664fe8e Auto-generated configs and docs 2022-04-03 02:32:37 +00:00
GitHub build-firmware Action 7b197182d1 Auto-generated configs and docs 2022-04-03 01:09:11 +00:00
GitHub build-firmware Action 4a1a177364 Auto-generated configs and docs 2022-03-29 06:42:16 +00:00
rusefillc 7a675580a9 We have working runtime RAM detection - we shall use it for Lua #3970 2022-03-27 19:39:41 -04:00
GitHub build-firmware Action 084b042832 Auto-generated configs and docs 2022-03-24 13:05:35 +00:00
GitHub build-firmware Action 6e20324be1 Auto-generated configs and docs 2022-03-21 00:20:26 +00:00
GitHub build-firmware Action 5f67bd3154 Auto-generated configs and docs 2022-03-20 15:19:43 +00:00
GitHub build-firmware Action 22d4021a46 Auto-generated configs and docs 2022-03-20 13:35:00 +00:00
Matthew Kennedy 4e57daf6d7
test AEM X-Series wideband protocol (#4002)
* break out acceptFrame, test CanListener

* test AEM xseries protocol

* tweaks

* tweaks

* maybe everyone compiles happily now
2022-03-15 15:52:50 -04:00
GitHub build-firmware Action aa319d7456 Auto-generated configs and docs 2022-03-13 16:01:27 +00:00
GitHub build-firmware Action 0b1e11c63b Auto-generated configs and docs 2022-03-12 15:09:42 +00:00
GitHub build-firmware Action 4137be13a5 Auto-generated configs and docs 2022-03-09 01:32:57 +00:00
rusefillc 970d63568f Revert "lua: TDD of enabling base lib"
This reverts commit d8b3712817.
2022-02-22 20:50:38 -05:00
rusefillc d80f3e0b80 Revert "lua: enabling string lib"
This reverts commit f4297bafe6.
2022-02-22 20:50:38 -05:00
rusefillc f4297bafe6 lua: enabling string lib 2022-02-22 17:31:44 -05:00
rusefillc d8b3712817 lua: TDD of enabling base lib 2022-02-22 16:25:41 -05:00
rusefi 89ea770f00 Lua CAN relay performance #3911 2022-02-13 00:07:36 -05:00
rusefillc 0d66a5873a Lua CAN relay performance #3911 2022-02-10 21:01:15 -05:00
GitHub build-firmware Action 4032c83f29 Auto-generated configs and docs 2022-02-11 01:24:16 +00:00
GitHub build-firmware Action efc0f31c94 Auto-generated configs and docs 2022-02-10 15:29:24 +00:00
GitHub build-firmware Action c3466df0c5 Auto-generated configs and docs 2022-02-07 00:04:39 +00:00
rusefi 998cba5521 EFI_LAUNCH_CONTROL clean-up 2022-02-06 18:46:09 -05:00
GitHub build-firmware Action 8e544998fb Auto-generated configs and docs 2022-02-04 21:47:48 +00:00
GitHub build-firmware Action ad271ea8cc Auto-generated configs and docs 2022-02-03 13:07:28 +00:00
GitHub build-firmware Action a4c473cbdf Auto-generated configs and docs 2022-02-02 02:45:00 +00:00
GitHub build-firmware Action eaa9642d8d Auto-generated configs and docs 2022-02-01 21:14:16 +00:00
GitHub build-firmware Action 0bcfa4b1d2 Auto-generated configs and docs 2022-01-31 23:55:52 +00:00
Matthew Kennedy c6f45c5022
warnings fixes (#3851)
* unused things

* !!! actual bug !!!

* dead

* unused

* unused

* multi-bus lua RX was just broken

* make the compiler angry about it

* dead config

* alphax 2

* just call, no store

* compiler too angry
2022-01-31 18:37:42 -05:00
GitHub build-firmware Action d20db70a28 Auto-generated configs and docs 2022-01-29 02:41:30 +00:00
GitHub build-firmware Action 7311f25467 Auto-generated configs and docs 2022-01-28 06:04:57 +00:00
GitHub build-firmware Action 75d2e11b5a Auto-generated configs and docs 2022-01-28 01:16:52 +00:00
GitHub build-firmware Action e5dec77869 Auto-generated configs and docs 2022-01-27 19:27:44 +00:00
GitHub build-firmware Action 660337e952 Auto-generated configs and docs 2022-01-27 13:02:18 +00:00
GitHub build-firmware Action e584ef198c Auto-generated configs and docs 2022-01-24 02:55:57 +00:00
GitHub build-firmware Action ff27fda481 Auto-generated configs and docs 2022-01-23 20:42:35 +00:00
GitHub build-firmware Action 7c85554ece Auto-generated configs and docs 2022-01-21 20:59:16 +00:00
GitHub build-firmware Action a851b04fdb Auto-generated configs and docs 2022-01-21 01:45:43 +00:00
GitHub build-firmware Action 5a816cc09a Auto-generated configs and docs 2022-01-19 12:39:51 +00:00
GitHub build-firmware Action c38f46bdc9 Auto-generated configs and docs 2022-01-19 05:56:03 +00:00
rusefillc 64387689ff On m_event vs lobe vs scheduling #3804 2022-01-18 00:45:24 -05:00
rusefillc 5e2ad39d91 GDI Epic #1448 2022-01-18 00:27:20 -05:00
rusefillc e9742b8c24 Better handling of RPM during stop of cranking #3803
one step back
2022-01-17 21:43:30 -05:00
Andrey 9f5188bf30 Better handling of RPM during stop of cranking #3803 2022-01-17 21:27:10 -05:00
rusefillc eb580414ce Dumb CAN wake-up #3660 2022-01-15 11:37:24 -05:00
GitHub build-firmware Action cdab332a9d Auto-generated configs and docs 2022-01-14 03:39:21 +00:00
GitHub build-firmware Action 5fa54ed9ac Auto-generated configs and docs 2022-01-12 21:38:47 +00:00
rusefillc 3c73ca8dab random piece of https://github.com/dron0gus/rusefi/tree/f429-discovery-ram-dev 2022-01-09 22:42:24 -05:00
rusefillc 177a5faa63 limp ClearReason 2022-01-08 22:13:20 -05:00
GitHub build-firmware Action 7911e85db9 Auto-generated configs and docs 2022-01-09 01:40:32 +00:00
GitHub build-firmware Action a2482ab87e Auto-generated configs and docs 2022-01-09 01:22:51 +00:00
GitHub build-firmware Action 9e13d2b259 Auto-generated configs and docs 2022-01-09 00:55:02 +00:00
GitHub build-firmware Action 02ec63334e Auto-generated configs and docs 2022-01-07 01:00:00 +00:00
rusefillc cc115d651f LUA read ECU state: Cranking, Idling, Cruising #3742 2022-01-04 23:17:26 -05:00
rusefillc c66dcaf454 LUA read ECU state: Cranking, Idling, Cruising #3742 2022-01-04 23:15:03 -05:00
GitHub build-firmware Action d75e0ec18c Auto-generated configs and docs 2022-01-04 04:48:36 +00:00
GitHub build-firmware Action 696a1cd569 Auto-generated configs and docs 2022-01-03 08:26:21 +00:00
GitHub build-firmware Action 9ef4515a32 Auto-generated configs and docs 2022-01-03 03:11:01 +00:00
rusefillc 2016ecbe98 live data progress 2022-01-02 01:17:22 -05:00
rusefillc 95136893de GDI Epic #1448 2022-01-01 17:18:11 -05:00
GitHub build-firmware Action 6213eb5406 Auto-generated configs and docs 2021-12-30 22:59:03 +00:00
GitHub build-firmware Action 6a187d488f Auto-generated configs and docs 2021-12-30 22:03:20 +00:00
GitHub build-firmware Action d694031f13 Auto-generated configs and docs 2021-12-25 04:41:09 +00:00
rusefillc 3ef4de991f E65 wants more 2021-12-23 23:36:07 -05:00
GitHub build-firmware Action 9ec7897e37 Auto-generated configs and docs 2021-12-22 16:08:59 +00:00
GitHub build-firmware Action a82f364956 Auto-generated configs and docs 2021-12-21 23:15:00 +00:00
rusefillc a2bf7616ae Second CAN #3687 2021-12-21 01:17:02 -05:00
rusefillc 4ad1f887fd Second CAN #3687 2021-12-21 01:10:37 -05:00
GitHub build-firmware Action c763244d74 Auto-generated configs and docs 2021-12-20 07:04:16 +00:00
GitHub build-firmware Action 5e1f5735ac Auto-generated configs and docs 2021-12-20 06:09:38 +00:00
GitHub build-firmware Action 2796bb05c8 Auto-generated configs and docs 2021-12-16 21:08:16 +00:00
GitHub build-firmware Action 721f1ed1c7 Auto-generated configs and docs 2021-12-16 19:53:45 +00:00
rusefillc 99d19f2d78 clutch input via CAN fix #3605 2021-12-15 20:35:49 -05:00
GitHub build-firmware Action 8ed86c78b2 Auto-generated configs and docs 2021-12-16 01:28:57 +00:00
rusefillc 86506a15a9 clutch input via CAN #3605 2021-12-15 20:11:23 -05:00
rusefillc 0937499708 Lua to read tsOutputs #3376 2021-12-15 13:25:09 -05:00
rusefillc 5bdf25c3f8 Lua to read tsOutputs #3376 2021-12-14 23:16:05 -05:00
GitHub build-firmware Action e57166ed55 Auto-generated configs and docs 2021-12-15 03:35:34 +00:00
rusefillc d121230dbe Lua to read tsOutputs #3376 2021-12-14 22:28:41 -05:00
GitHub build-firmware Action c73ceec960 Auto-generated configs and docs 2021-12-14 21:19:31 +00:00
rusefillc 265239ab4d Lua to read tsOutputs #3376 2021-12-13 19:46:41 -05:00
rusefillc 28449f3095 Lua to read tsOutputs #3376 2021-12-13 19:13:05 -05:00
rusefillc 79586d42a6 CAN wake-up #3660 2021-12-13 17:53:20 -05:00
rusefillc a5e80d05ba Lua to read tsOutputs #3376 2021-12-11 12:59:47 -05:00
rusefillc aa3d1db05e rusEFI console ISO-TP via PCAN #3667
fixing build
2021-12-08 15:42:00 -05:00
Andrey 940b04ab24 Let's always have TS structure so that unit tests can check values in outputChannels, kind of making outputChannels a god dump for state but whatever since Live View is coming 2021-12-07 20:18:47 -05:00
rusefillc b778aa7173 Pause CAN broadcast on engine stop #3665 2021-12-07 10:35:52 -05:00
rusefillc f4ab23eb2b Requesting LUA Torque intervention #3638 2021-12-02 01:02:56 -05:00
rusefillc 56d52f01be refactoring 2021-12-01 23:33:26 -05:00
rusefillc 6d4b1e6020 proteus to have enlarged Lua
one step back
2021-11-30 22:35:29 -05:00
Matthew Kennedy 5eea2764f5
strtof (#3623)
* strtof

* do fewer divides
2021-11-26 18:39:45 -05:00
rusefillc 719e3f9052 LUA CANbus expect 29bit ID by default #3592
not great quick fix
2021-11-23 15:41:43 -05:00
Matthew Kennedy 3334a6963c
oh my god we've had no asserts (#3595) 2021-11-22 17:52:03 -05:00
rusefillc 42da5746f4 j1850 SAE crc8 Lua 2021-11-22 14:19:19 -05:00
Scott Smith 9668626008
Move LuaThread to CCM, and shuffle a couple items out. (#3587)
Lua's stack probably doesn't need DMA.  Allows us to group more of our unused RAM together
in one place.
2021-11-21 20:35:03 -05:00
Matthew Kennedy bb57a4b084
detect more overflows with asan (#3582)
* overflow detector

* type list dynamic allocate

* fix the buffer length

* comment

* pr fb

* sanitize sim

* fix sim sanitizer bug

* didn't mean to turn off optimization for sim

* asan can do that, if you turn it on!

* cleaning
2021-11-20 01:38:39 -05: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
Andrey a61043e570 proportional spark cut #3427 2021-11-16 13:23:08 -05:00
Matthew Kennedy 8cdac4cac0
remove engine pointer passing (#3556)
* some

* more

* more

* the last?!
2021-11-16 04:15:29 -05:00
Scott Smith 344c9073e2
Start the process of using a global engine ptr for unit tests. (#3551)
* Start the process of using a global engine ptr for unit tests.

Passing around the engine, config, and persistent state wasn't buying anything.  Instead, use
EngineTestHelper(Base) to correctly set and clear the global variables.  Add a dummy check in
case some test tries to set them manually.

* Fix OSX build

* Adapt PR to recently added code.
2021-11-16 00:23:14 -05:00
rusefi c8d666c5a1 Lua: changing "table" API 2021-11-14 16:29:46 -05:00
rusefi 377c9e2fda Something something Automatic Compression Release #3442 2021-11-14 16:04:44 -05:00
rusefi e8aebc313a Something something Automatic Compression Release #3442 2021-11-14 15:04:10 -05:00
rusefillc 14c0711011 script settings need names! 2021-11-14 13:18:11 -05:00
rusefillc 22c872d8d8 Epic: Remove FSIO #2928 2021-11-14 10:57:19 -05:00
rusefillc c22215cea7 Epic: Remove FSIO #2928 2021-11-14 10:39:47 -05:00
rusefi 676f2dfb93 findTableIndex 2021-11-13 10:02:01 -05:00
rusefillc 6be84c0de9 lua can 2021-11-13 08:23:44 -05:00
rusefillc 8fdf2521e5 lua can 2021-11-13 08:20:30 -05:00