Commit Graph

128 Commits

Author SHA1 Message Date
rusefillc 12969bc596 https://rusefi.com/forum/viewtopic.php?f=2&t=2484 luaIgnCut 2023-01-02 18:06:38 -05:00
rusefillc 6aa1a1251b getGlobalConfigurationVersion 2022-12-20 21:13:34 -05:00
rusefillc 32d28d878b Add setBoostDutyAdd function to control only boost duty #4900 2022-12-19 12:05:06 -05:00
Andrey fe780d477e kinetis asking for guard, also I've must have messed up something 2022-12-17 18:04:54 -05:00
rusefillc d951f36794 guards 2022-12-17 14:36:27 -05:00
Matthew Kennedy 9e60b52ed4 fix warnings (#4840)
Co-authored-by: Matthew Kennedy <makenne@microsoft.com>
2022-11-27 10:11:14 -05:00
rusefi 4997dcde9d minor clean-up 2022-11-26 21:53:31 -05: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
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
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
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
rusefi 0f21808d21 GM ETB bench test in NJ #4688
SENT to Lua integration
2022-10-22 22:46:37 -04:00
rusefillc 367d2ec324 Lua aux gauge #4672 2022-10-17 20:01:46 -04: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
rusefillc d83833076a moving confusing around 2022-09-19 12:32:45 -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
rusefillc 72c4637512 progress or maybe even a fix of logging? 2022-08-25 22:24:35 -04:00
rusefi 8ebe5a9262 lua outputs bench test 2022-08-24 13:20:14 -04: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 329edcddfc refactoring: magic constant 2022-08-21 22:46:49 -04:00
Andrey 2d4b944547 test coverage and some magic constant refactoring 2022-08-21 15:22:22 -04:00
rusefillc 38e3a84ec9 Idle air add via Lua fix #4465 2022-08-21 00:32:34 -04: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
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 e91d72bba5 launch control for autocross on micro rusefi #4341 2022-07-14 16:41:50 -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
rusefillc 133ab5618b FSIO is dead 2022-07-14 07:52:58 -04:00
rusefillc 52af5fa05a refactoring - lambda for readbility 2022-07-14 07:27:58 -04:00
Matthew Kennedy 3c88dda538 Add a timeout for Lua ETB adjustment (#4331)
* lua etb timeout

* mocks

* test
2022-07-10 05:46:28 +03:00
rusefillc 71a30d5f75 docs 2022-07-09 03:00:14 -04:00
rusefillc db3f92edf4 Lua A/C Input #4333 2022-07-08 00:51:53 -04:00
Matthew Kennedy 68fb838641 Lua hooks for gear detection (#4328)
* implement

* sim has vss

* write a test

* guard
2022-07-07 23:16:56 -04:00
rusefillc 129e4df5bf Uniform reset pattern for all Lua adjustments #4308
no progress only preparation
2022-06-30 20:07:27 -04:00
rusefillc f24c42c605 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
rusefillc 92119af801 logging of live data structs was: data points #3614 2022-06-29 02:37:24 -04:00
rusefillc 4517c2cfe9 CAN category (#4148)
Co-authored-by: rusefillc <sdfsdfqsf2334234234>
2022-05-09 16:49:23 -04:00
rusefillc 178721c809 Remove value copy from controller into outputChannels #4095 2022-05-09 06:12:17 -04:00
Matthew Kennedy 83caf1ea1b 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
rusefillc 16a6112002 one step sideways to fix build 2022-04-16 21:24:02 -04:00