Commit Graph

2799 Commits

Author SHA1 Message Date
Josh Stewart 3e56b2bd4d Simplify the corrections calculations using div100 2022-04-11 15:32:49 +10:00
tx_haggis 7933bb68c4
Remove previousLoopTime - never used (#706) 2022-04-11 14:16:26 +10:00
Vitor Moreno B. Sales 1ba1dabbfb
Added idle advance start threshold (#747)
* Added idle advance start threshold

On lower temp and/or on ethanol the engine need to crank more, without this my starter get a kick and the engine backfires.

This enable it only at 200 RPM below the target

* Use define to idle advance RPM threshold

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 13:38:23 +10:00
Josh Stewart 0dc31edc22 Allow for '?' command through legacy comms.
Fixes #821
2022-04-11 11:29:43 +10:00
RempageR1 d8be3f56e8
Added Trigger for the Yamaha Vmax motorcycle, 1990 and up. (#823)
* Test 1

* Added the Vmax decoder option

* Added the Yamaha Vmax decoder

Co-authored-by: RempageR1 <unconfigured@null.spigotmc.org>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 11:08:22 +10:00
Daniel Tobias 7020705dbe
fix typos in code documentation (#816)
* fix typos in code documentation

* minor reverts

* fix typos in ini

Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-04-11 10:49:58 +10:00
Pasi Kemppainen 04b45f6a2d
Remove tacho output flags (#814) 2022-04-10 09:18:08 +10:00
Corey-Harding f8e7422464
Add low/high battery voltage indicator (#824)
Fixes #822
2022-04-10 09:17:20 +10:00
Josh Stewart f55789e5a3 Reorganise Engine Protection UI 2022-04-10 09:07:21 +10:00
Josh Stewart d01b5fe0dd Fix issue with SD RPM threshold not correctly detecting on/off 2022-04-05 17:56:18 +10:00
Josh Stewart 22ec9c8a20 Correct variable size for MAPlast 2022-04-05 17:55:09 +10:00
Vitor Moreno B. Sales 9c3f745c16
All tapers use byte counters (#746)
Fixes

Update idle.ino
2022-04-05 07:27:54 +10:00
theKraid 2411fbdddb
Increase dwell limiter in RX-8 type ignition (#820)
Currently the dwell limiter calculation considers rotary ignition to have more than 1 pulse per revolution. This only holds true for FC/FD type ignition which is wasted spark correctly resulting in 2 pulses per revolution. RX-8 type ignition however is fully sequential so there is only 1 pulse per revolution. As a result the dwell limiter is being calculated too low.
This change fixes the issue by correctly assuming 1 pulse per revolution in RX-8 type ignition
2022-04-03 20:09:55 +10:00
Pasi Kemppainen 4c81135c62
Fix soft and hard rev limiter (#813) 2022-03-28 08:31:58 +11:00
Josh Stewart 7e7056fa09 Add timestamp field to SD logs 2022-03-18 11:38:24 +11:00
Josh Stewart 4d747e1aef Merge branch 'master' of https://github.com/noisymime/speeduino 2022-03-18 09:45:12 +11:00
Josh Stewart beedfb44e4 Add 4cyl semi-seq injector pairing option 2022-03-18 09:45:07 +11:00
Corey-Harding 560537f1da
Datalogging rename Advance/Current VE to Advance/VE (Current) (#811)
* Change "Aux in" 1-16 to 0-15 under prog outputs

Change "Aux in" 1-16 to 0-15 under "programmable outputs" menu to match the pin configuration page found under "local auxillary input channel configuration" menu.

* Update sensors.ino

* Update sensors.ino

* Match datalogging names to gauge names in ini

for ve/advance (current)

Co-authored-by: github-account-0 <91717711+github-account-0@users.noreply.github.com>
2022-03-11 09:46:48 +11:00
Pasi Kemppainen 27e4a14506
CAN current status array added (#733) 2022-03-04 11:11:14 +11:00
Josh Stewart 35f196930a Minor cleanup from the newComms / LegacyComms move 2022-03-01 15:27:46 +11:00
Josh Stewart 0e365b4dff Merge branch 'master' of https://github.com/noisymime/speeduino 2022-02-28 10:28:11 +11:00
Josh Stewart 8a54c4b23b Fix calibrations tx on legacy comms
Note the renaming of newComms to comms. Old comms has been moved to _legacy files
2022-02-28 10:28:06 +11:00
DeionSi 6dbdfb84d5
Rename gauges to sort them next to similar gauges (#712) 2022-02-25 15:15:04 +11:00
Josh Stewart 87e21fc7e2 Increase O2 read frequency to 30Hz
Fixes #799
2022-02-25 15:13:35 +11:00
tx_haggis 6c12bcc32d
Separate table axis I/O conversion from iteration (#767)
* Missing include

* 1. Add int16_byte class
2. Add axis factory function for int16_byte instances
(flyweight pattern)

* Separate out axis iteration and I/O conversions

* Optimize for size and performance.

* Fix unit test
2022-02-24 16:11:54 +11:00
Josh Stewart 3a4470642c Remove failing native test from workflow 2022-02-24 11:05:54 +11:00
Josh Stewart b7901568a0 Write to EEPROM more aggressively when engine not running 2022-02-24 10:50:01 +11:00
Josh Stewart 738ae2ed93 Add indicator showing when an EEPROM burn is in progress 2022-02-24 10:22:28 +11:00
Josh Stewart 962e717754 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-02-22 23:29:48 +11:00
Josh Stewart 3d627ded34 More efficient EEPROM write deferral 2022-02-22 23:29:41 +11:00
tx_haggis fc9967e31d
Performance: optimize fuel trim PW calcs (#756)
* Consistent set of div100 functions

* Add typedef for trimTable3d

* Performance: use div100() function
when applying fuel trim corrections

* Silly ARM compiler!

* Unit test fixes

* Fix tests: expected & actual parameters were swapped

* div100(): add 8-bit overloads for completeness

* Fix unit tests
1. Force call to correct div100() overload
2. Use appropriately typed assertion

* Restore use of USE_LIBDIVIDE preprocessor symbol

* Add div360() - encapsulate libdivide use

* Fix copy/paste issue.
2022-02-18 14:55:43 +11:00
Corey-Harding 3138506897
Change Aux in from 1-16 to 0-15 under programmable outputs (#745)
* Change "Aux in" 1-16 to 0-15 under prog outputs

Change "Aux in" 1-16 to 0-15 under "programmable outputs" menu to match the pin configuration page found under "local auxillary input channel configuration" menu.

* Update sensors.ino

* Update sensors.ino

Co-authored-by: github-account-0 <91717711+github-account-0@users.noreply.github.com>
2022-02-14 11:16:21 +11:00
tx_haggis c9213a5555
Fix native unit test (#763)
* Fix native unit test

* Include native unit test in CI build
2022-02-14 11:04:11 +11:00
Josh Stewart 86110a23fc Fix missing declaration from last commit 2022-02-14 10:57:42 +11:00
Benas Brazdziunas 07a4d1ea79
Coolant/RPM Protection (#785)
* Coolant/RPM Protection

* removed test  clear flash option

* Add new update section for coolantProtEnbl rather than using old area

Co-authored-by: Benas <bbrazdziunas@gavea.co.uk>
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-02-14 10:41:58 +11:00
DeionSi 6be6cd7795
libdivide for angletotime (#791) 2022-02-14 10:24:34 +11:00
tx_haggis f782db6c5c
Allow logging of loops per revolution (#753)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2022-02-14 10:10:40 +11:00
Daniel Tobias 982b40a753
small doxygen fixes / config changes (#779)
* update Doxyfile to 1.9.3 (doxygen -u)

* doxygen config changes

* remove redundant Doxyfile

* fix param name
2022-02-14 10:02:39 +11:00
DeionSi 323c938988
angleToTime tests (#790)
* angleToTime tests

* Change calculation to work around integer rounding
2022-02-14 09:32:00 +11:00
Josh Stewart c1db691061 TunerStudio warnings cleanup 2022-02-11 12:44:35 +11:00
Josh Stewart ccfc344dc3 Move the calibration CRC value functions into storage.x 2022-02-11 11:59:36 +11:00
Pasi Kemppainen 564a6b7ea3
Add missing MAPdot/TPSdot stuff (#789) 2022-02-09 11:14:53 +11:00
Josh Stewart 107d54b9c8 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-02-07 11:06:45 +11:00
Josh Stewart c6a37f7347 Implement tableCrcCommand command. Fixes #786 until TS 3.1.07.1 is released
The tableCrcCommand is used by TS to determine what calibrations (IAT, CLT and O2) are currently on the board. This is an optional command, however v3.1.07 unintentionally assumed it was implemented on all boards and gave a 'null' error if the command was not present.
This adds the command for all future versions, but previous releases will need to wait for theTS fix release
2022-02-07 11:05:41 +11:00
rafolg aea6a6bed4
Fix VSS not resetting to zero (#787)
Reinstated car stop check to avoid  speed not going back to zero.
2022-02-05 09:26:40 +11:00
Pasi Kemppainen fb0a52bf6f
SD-Card logging for STM32 [EXPERIMENTAL] (#782)
* First test

* Update comments.
2022-02-05 09:15:58 +11:00
Josh Stewart 986d5323db Fix issue where SD file transfers would send invalid data when split into multiple parts 2022-02-04 09:22:18 +11:00
Josh Stewart 1d028ebec9 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-02-02 09:30:45 +11:00
Josh Stewart 5e911584d7 Add serial command for dumping/loading raw EEPROM tunes 2022-02-02 09:30:41 +11:00
Henry Wright 9bce4e3abd
Updates for axis scaling (#775)
Update secondary tables to have tps * 2 in their lookup of fuelload2 and ignload2.
Dwell table and rotary split tables to match ignition load rather than fuelload.
2022-01-19 15:00:09 +11:00