Commit Graph

503 Commits

Author SHA1 Message Date
TurboMarian d84101b8c8 ALS LUA Examples
(cherry picked from commit 2e0c5a2a2e953d868271a177cdfd0065c0646711)
2022-12-16 16:33:07 -05:00
GitHub gen-configs Action 9b5806a825 Auto-generated configs and docs 2022-12-15 12:39:07 +00:00
GitHub gen-configs Action 6c7d3fbead Auto-generated configs and docs 2022-12-15 03:30:12 +00:00
GitHub gen-configs Action 542b53c837 Auto-generated configs and docs 2022-12-14 03:43:40 +00:00
GitHub gen-configs Action 4ed86fc9b0 Auto-generated configs and docs 2022-12-10 23:01:38 +00:00
GitHub gen-configs Action 5670052046 Auto-generated configs and docs 2022-12-10 12:40:43 +00:00
GitHub gen-configs Action f5b4ecdaa1 Auto-generated configs and docs 2022-12-04 19:58:59 +00:00
rusefillc 764c064656 reduce flash footprint by smarter code generation #4163 2022-12-04 01:21:38 -05:00
GitHub gen-configs Action ab1f935e1f Auto-generated configs and docs 2022-12-04 06:01:18 +00:00
GitHub gen-configs Action cad8e0235d Auto-generated configs and docs 2022-12-04 05:50:09 +00:00
GitHub gen-configs Action 9c249300c5 Auto-generated configs and docs 2022-12-04 05:26:23 +00:00
GitHub gen-configs Action 517c238668 Auto-generated configs and docs 2022-12-03 13:38:26 +00:00
rusefillc 0add8ba5db VW TP 2.0 2022-12-01 20:40:50 -05:00
rusefillc 7cad868a28 VW TP 2.0 2022-12-01 20:23:31 -05:00
rusefillc 705056603f VW TP 2.0 2022-12-01 19:31:49 -05:00
rusefillc 0fe4998fdd VW TP 2.0 2022-12-01 18:47:08 -05:00
GitHub gen-configs Action 7fa0514751 Auto-generated configs and docs 2022-11-29 01:06:09 +00:00
Matthew Kennedy 9e60b52ed4 fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
GitHub gen-configs Action 04614032b5 Auto-generated configs and docs 2022-11-27 13:15:41 +00:00
GitHub gen-configs Action f2f8186271 Auto-generated configs and docs 2022-11-27 05:50:00 +00:00
rusefi 4997dcde9d minor clean-up 2022-11-26 21:53:31 -05:00
GitHub gen-configs Action ffaf790d73 Auto-generated configs and docs 2022-11-26 19:31:53 +00:00
GitHub gen-configs Action 9a1381a790 Auto-generated configs and docs 2022-11-26 16:23:09 +00:00
rusefillc f01da5819d docs 2022-11-22 15:20:33 -05:00
rusefillc d8c3155e39 docs 2022-11-22 14:00:06 -05:00
GitHub gen-configs Action ca8d4f040c Auto-generated configs and docs 2022-11-19 14:45:54 +00:00
Andrey Gusakov 355f0c51fb 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 eb700af722 Hopefully not breaking anything 2022-11-15 15:15:17 -05:00
rusefi 21f063e278 copy-paste bad 2022-11-15 12:28:31 -05:00
rusefillc 545734f944 would need to stop the buzzing at PRI. 2022-11-15 11:01:56 -05:00
GitHub gen-configs Action eaf1cdf717 Auto-generated configs and docs 2022-11-14 01:03:03 +00:00
GitHub gen-configs Action d853a94015 Auto-generated configs and docs 2022-11-11 23:13:14 +00:00
GitHub gen-configs Action d37a02344d Auto-generated configs and docs 2022-11-09 03:04:45 +00:00
rusefi 80e02de00b 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 cdcc94bb02 Auto-generated configs and docs 2022-11-06 00:28:03 +00:00
GitHub gen-configs Action 00ff7d0ccb Auto-generated configs and docs 2022-11-04 19:09:03 +00:00
GitHub gen-configs Action e4291ae90b Auto-generated configs and docs 2022-11-03 02:21:44 +00:00
rusefi 92b2f24e96 better handling of invalid sensor on bench 2022-11-01 21:32:31 -04:00
Andrey G cc9b1517ac compile warnings: signed vs unsigned and unused (#4713) 2022-10-30 09:47:53 -04:00
rusefillc 1aea98fd26 Lua to enable self stimulation #4712 2022-10-29 21:26:42 -04:00
rusefillc e3d27f33e8 Lua to enable self stimulation #4712 2022-10-28 19:52:16 -04:00
rusefillc c0ab0c7de3 minor move of code around 2022-10-28 19:31:17 -04:00
rusefi 8f5abb88af GM SENT ETB bench test in NJ #4688 2022-10-26 17:33:10 -04:00
rusefillc deb38e8003 GM SENT ETB bench test in NJ #4688 2022-10-26 12:46:50 -04:00
rusefi ea9e172ced GM SENT ETB bench test in NJ #4688 2022-10-26 12:17:14 -04:00
rusefi 9a21fdbb40 GM SENT ETB bench test in NJ #4688 2022-10-26 09:29:04 -04:00
Andrey G 6411ef2021 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 d49fa94c55 Auto-generated configs and docs 2022-10-24 16:46:53 +00:00
rusefi 0f21808d21 GM ETB bench test in NJ #4688
SENT to Lua integration
2022-10-22 22:46:37 -04:00
GitHub gen-configs Action 17379e99e4 Auto-generated configs and docs 2022-10-21 02:31:12 +00:00
Matthew Kennedy 6788ef837d fix no-lua build (#4690) 2022-10-20 22:01:33 -04:00
rusefillc 367d2ec324 Lua aux gauge #4672 2022-10-17 20:01:46 -04:00
Matthew Kennedy 7116670fd0 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 0be046c221 Auto-generated configs and docs 2022-10-06 23:00:58 +00:00
rusefillc 1a9baedd49 Mark is asking for VIN number field fix #3967 2022-10-05 18:26:12 -04:00
Andrey 3d329639ea Mark is asking for VIN number field #3967 2022-10-04 21:12:51 -04:00
GitHub gen-configs Action 4448566157 Auto-generated configs and docs 2022-09-28 02:23:08 +00:00
GitHub gen-configs Action 767a7bbc39 Auto-generated configs and docs 2022-09-26 09:32:19 +00:00
GitHub gen-configs Action d5dd3f5df4 Auto-generated configs and docs 2022-09-20 02:05:56 +00:00
rusefillc d83833076a moving confusing around 2022-09-19 12:32:45 -04:00
GitHub gen-configs Action b9a3f29f3d Auto-generated configs and docs 2022-09-19 16:23:04 +00:00
GitHub gen-configs Action 2dbc98588e Auto-generated configs and docs 2022-09-15 19:00:51 +00:00
GitHub gen-configs Action c88a18b13e Auto-generated configs and docs 2022-09-14 04:39:50 +00:00
Andrey b1451e229c GM 2022-09-14 00:03:38 -04:00
GitHub gen-configs Action aef1a4ec47 Auto-generated configs and docs 2022-09-13 06:33:23 +00:00
GitHub gen-configs Action 04db1fbb36 Auto-generated configs and docs 2022-09-13 00:18:15 +00:00
Andrey G 1ca5988877 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 a81b18fa56 Auto-generated configs and docs 2022-09-09 22:00:10 +00:00
rusefillc b2ad515b0f vvtBooleanForVerySpecialCases, tempBooleanForVerySpecialLogic 2022-09-09 17:52:54 -04:00
GitHub gen-configs Action d71d8b127e Auto-generated configs and docs 2022-09-08 20:30:30 +00:00
GitHub gen-configs Action 218e8b4d95 Auto-generated configs and docs 2022-09-08 02:51:42 +00:00
Andrey 504d290275 B6 2022-09-07 15:36:50 -04:00
Andrey f243f1608c B6 2022-09-06 15:12:43 -04:00
Andrey 07c08947ba wow Leiderman-Khlystov 2022-09-05 20:02:33 -04:00
GitHub gen-configs Action 2135888d19 Auto-generated configs and docs 2022-09-05 05:33:14 +00:00
GitHub gen-configs Action aa87ad717f Auto-generated configs and docs 2022-09-05 02:56:42 +00:00
GitHub gen-configs Action 0a37c6d963 Auto-generated configs and docs 2022-09-05 02:44:56 +00:00
GitHub gen-configs Action abc5b91ae9 Auto-generated configs and docs 2022-09-03 21:43:03 +00:00
GitHub gen-configs Action 4857561a0d Auto-generated configs and docs 2022-09-03 21:35:26 +00:00
GitHub gen-configs Action f19c219587 Auto-generated configs and docs 2022-09-01 15:03:34 +00:00
Andrey 436c294770 refactoring: reducing outputChannels copy 2022-09-01 10:58:16 -04:00
GitHub gen-configs Action bac4f9800f Auto-generated configs and docs 2022-09-01 14:39:52 +00:00
GitHub gen-configs Action 8abba1b2fd Auto-generated configs and docs 2022-09-01 14:11:17 +00:00
GitHub gen-configs Action 9744fa0920 Auto-generated configs and docs 2022-09-01 04:53:05 +00:00
Andrey 54ac7279b1 refactoring: reducing outputChannels copy 2022-09-01 00:13:55 -04:00
GitHub gen-configs Action 29fede7a65 Auto-generated configs and docs 2022-08-31 23:10:02 +00:00
rusefillc 31214662dd XCP 2022-08-30 22:21:49 -04:00
GitHub gen-configs Action e37d53e271 Auto-generated configs and docs 2022-08-30 06:02:26 +00:00
GitHub gen-configs Action 69358f8eb0 Auto-generated configs and docs 2022-08-30 02:29:24 +00:00
rusefillc f1ed84f67a DBW 2022-08-29 10:59:39 -04:00
rusefillc c36167a3e1 DBW 2022-08-29 10:58:30 -04:00
rusefillc 7402b09201 DBW 2022-08-29 10:51:32 -04:00
rusefillc 4c8e28dfab docs 2022-08-29 10:51:32 -04:00
Matthew Kennedy 234909a91f 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 470c44ba12 Auto-generated configs and docs 2022-08-27 18:44:44 +00:00
Andrey 756eae8f54 B6 progress 2022-08-26 12:07:13 -04:00
Andrey 077bdec25b refactoring 2022-08-26 00:16:36 -04:00
Andrey c17cc38470 refactoring 2022-08-26 00:14:52 -04:00
Andrey 45d8716fcc B6 progress 2022-08-26 00:04:47 -04:00
Andrey 777d0363f4 lua unit tests can print now 2022-08-26 00:04:17 -04:00
rusefillc 1ea6535b83 two bugs love to cancel each other 2022-08-25 23:55:42 -04:00
rusefillc 72c4637512 progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
GitHub gen-configs Action d0a734d4ae Auto-generated configs and docs 2022-08-26 01:48:46 +00:00
GitHub gen-configs Action d5811a698a Auto-generated configs and docs 2022-08-26 00:41:14 +00:00
Andrey 0b3478697a Lua code reuse 2022-08-25 10:45:26 -04:00
rusefillc aa9aa3fe64 readme 2022-08-24 18:52:23 -04:00
rusefi 8ebe5a9262 lua outputs bench test 2022-08-24 13:20:14 -04:00
GitHub gen-configs Action 991cd40f74 Auto-generated configs and docs 2022-08-23 23:50:32 +00:00
rusefi 27c1165560 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 b94195255c less violent error handling 2022-08-21 22:46:59 -04:00
rusefi 329edcddfc refactoring: magic constant 2022-08-21 22:46:49 -04:00
rusefi 3eeff9e388 Lua CAN bus index: let's fail if invalid value specified 2022-08-21 22:31:52 -04:00
rusefillc a3d2c1b997 refactoring 2022-08-21 21:53:01 -04:00
rusefillc 891a63bf2a https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 16:28:09 -04:00
Andrey 2d4b944547 test coverage and some magic constant refactoring 2022-08-21 15:22:22 -04:00
rusefillc 083211c233 https://en.wikipedia.org/wiki/Man-in-the-middle_attack 2022-08-21 14:42:42 -04:00
rusefillc 38e3a84ec9 Idle air add via Lua fix #4465 2022-08-21 00:32:34 -04:00
GitHub gen-configs Action 74d93f9d11 Auto-generated configs and docs 2022-08-19 03:08:33 +00:00
rusefillc 5365ae5c2d ECU to Mainline DynoLog Data Protocol #4319 2022-08-14 11:28:17 -04:00
rusefillc 69d582a674 ECU to Mainline DynoLog Data Protocol #4319 2022-08-12 23:53:48 -04:00
rusefi 4290c66769 https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:19:45 -04:00
rusefi 7055f32fd3 https://rusefi.com/forum/viewtopic.php?f=4&t=2325 2022-08-12 16:15:54 -04:00
GitHub build-firmware Action 471dedde04 Auto-generated configs and docs 2022-08-11 14:25:31 +00:00
GitHub build-firmware Action e838c2b5ff Auto-generated configs and docs 2022-08-09 20:28:25 +00:00
GitHub build-firmware Action 1215618e1b Auto-generated configs and docs 2022-08-09 17:31:12 +00:00
GitHub build-firmware Action 6e8c0f24d5 Auto-generated configs and docs 2022-08-09 16:53:48 +00:00
GitHub build-firmware Action 1b67195746 Auto-generated configs and docs 2022-08-07 22:13:09 +00:00
GitHub build-firmware Action 16926e0f95 Auto-generated configs and docs 2022-07-30 16:12:13 +00:00
GitHub build-firmware Action 7dafba1e70 Auto-generated configs and docs 2022-07-30 15:34:12 +00:00
GitHub build-firmware Action 578cb6936c Auto-generated configs and docs 2022-07-30 13:47:13 +00:00
rusefillc 88303319e1 it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:30:04 -04:00
rusefillc 35f9830cca it's impossible to receive AcceleratorPedal sensor via CAN/Lua #4369 2022-07-28 12:08:35 -04:00
GitHub build-firmware Action 17b306c375 Auto-generated configs and docs 2022-07-28 06:53:58 +00:00
Matthew Kennedy 8ec103a7f2 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 9f6ee5f359 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 dc36538e57 thank you Mark we have humans asking for it 2022-07-22 16:04:43 -04:00
rusefillc a04251bfd9 thank you Mark we have humans asking for it 2022-07-22 15:57:18 -04:00
Matthew Kennedy efdae2322d Start -> start (#4366) 2022-07-21 15:17:32 -04:00
GitHub build-firmware Action 1cc1d56bcc Auto-generated configs and docs 2022-07-20 23:09:02 +00:00
GitHub build-firmware Action 2341028714 Auto-generated configs and docs 2022-07-20 22:52:33 +00:00
rusefillc 2d08d8ea28 Nissan Lua 2022-07-18 17:01:44 -04:00
GitHub build-firmware Action 267f356ef3 Auto-generated configs and docs 2022-07-16 06:38:35 +00:00
Matthew Kennedy cd98ad35c2 use libfirmware for a few things (#4351)
* use libfirmware

* unit tests

* crc

* missed one

* bootloader
2022-07-16 02:22:51 -04:00
rusefillc ae92cb1c70 launch control for autocross on micro rusefi #4341 2022-07-14 17:23:54 -04:00
rusefillc 0f303553c1 launch control for autocross on micro rusefi #4341 2022-07-14 17:19:30 -04:00
rusefillc e91d72bba5 launch control for autocross on micro rusefi #4341 2022-07-14 16:41:50 -04:00
rusefillc 604a3f4ba2 launch controll for autocross on micro rusefi #4341 2022-07-14 16:20:03 -04:00
rusefillc 3079ab9bae https://rusefi.com/forum/viewtopic.php?p=43183#p43183 2022-07-14 15:45:33 -04:00
rusefillc 4ba73d1679 Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 14:04:21 -04:00
rusefillc 456d52e1fe Detail on how to set up iDrive or equivalent CAN button control #226
boost lua
2022-07-14 13:03:08 -04:00