Commit Graph

3031 Commits

Author SHA1 Message Date
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
Josh Stewart 42247d2e78 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-01-18 16:58:00 +11:00
Josh Stewart fe33785ec5 Some potential fixes for comms issues with large writes 2022-01-18 16:57:55 +11:00
Tjeerd dc6c30906e
check for freeram overflow (#772)
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-01-16 10:09:01 +11:00
Josh Stewart b1dbd812e4 Dev signatures for 202204 2022-01-16 07:27:32 +11:00
Josh Stewart 318677fbc7 SD options use the MCU project setting now. Allows Teensy adapter to access SD dialogs 2022-01-11 14:42:38 +11:00
Josh Stewart 0a7d27370e Merge branch 'master' of https://github.com/noisymime/speeduino 2022-01-11 11:20:59 +11:00
Josh Stewart 25bc7dfc0d Working O2 calibration on stm32 2022-01-11 11:20:54 +11:00
Tjeerd 189ca7e8c2
fixing sram eeprom emulation (#761)
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-01-10 22:15:15 +11:00
Tjeerd 1944dd22e9
Bug fix for the eeprom reset by key if emulated EEPROM on SPI flash is used. (#769)
Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2022-01-10 22:13:59 +11:00
Josh Stewart 2096c1c91d Attempted fix for stm32 comms issue 2022-01-10 21:34:32 +11:00
Josh Stewart e2dd7a388e Fix for O2 calibration not working on mega2560 2022-01-09 17:05:05 +11:00
Josh Stewart 9121b45995 Signatures for interim release 202202 2022-01-09 16:26:30 +11:00
Josh Stewart 9eb61271cf Signatures for 202201 release 2022-01-07 20:55:37 +11:00
Josh Stewart 300c8699cc New Comms change to prevent lockup during large table writes 2022-01-07 16:49:04 +11:00
Josh Stewart 76f6a7f1d5 Use common (and faster) is2ByteEntry() function for programmable IO. This fixes #569 (Though it was likely resolved earlier anyway) 2022-01-05 16:41:12 +11:00
Josh Stewart 14e26069af Disable filter temporarily after seeing cam signal on dual wheel to prevent tooth #1 from being filtered out. Fixes #713 2022-01-05 15:01:23 +11:00
Josh Stewart a05057c194 Merge branch 'master' of https://github.com/noisymime/speeduino 2022-01-05 13:14:23 +11:00
Josh Stewart b74355535c Allow up to 32-bit values for signed div 100 and unsigned div 10 2022-01-05 13:14:17 +11:00