Commit Graph

2854 Commits

Author SHA1 Message Date
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
Josh Stewart 65bcf5b1a7 Add unit tests for maths functions 2022-01-05 13:13:41 +11:00
Pasi Kemppainen e66f5ba7cd
WMI fixes (#759) 2022-01-05 10:33:33 +11:00
Josh Stewart 464933b38f Similar 100% DC fix for PWM idle 2022-01-04 23:23:15 +11:00
Josh Stewart 4e00f12415 Fix for boost PWM output not working correctly at 100% DC 2022-01-04 22:58:44 +11:00
Josh Stewart 5e7eebf301 Fix halfPercentage() function issue 2022-01-04 22:12:19 +11:00
Josh Stewart b3843bb293 Fix broken unit tests 2022-01-04 12:49:03 +11:00
Josh Stewart bd9d59a145 Fixes to 202201 update routine 2022-01-04 12:19:58 +11:00
Pasi Kemppainen 23163bc341
VVT fixes (#758) 2022-01-04 09:30:43 +11:00
Josh Stewart fa9633b17e Fix unit tests from last commit 2022-01-01 19:45:23 +11:00
Vitor Moreno B. Sales 04d21e6dcc
Increase TPS resolution to 0.5% (#608)
* Increase TPS resolution to 0.5%

Fix TPS scale across the code

Fix TPS range for boost table

Update sensors.h

* Update all tables to use TPS resolution

* All tables use new TPS resolution

Fixed wrong MAP scale, added fuel switch % for TPS

Fix rotary

* Fix merge conflicts
2022-01-01 19:30:21 +11:00
Josh Stewart 770158a5fe Show all log files on SD card, not just the first page 2021-12-24 15:30:37 +11:00
Josh Stewart 9d883b9b72 Make sure SD logging will continue in next file once size limit is reached 2021-12-24 14:58:53 +11:00
Josh Stewart 13c2f953c0 Add button to format SD card 2021-12-24 13:30:14 +11:00
tx_haggis be0f2c69c7
Add table2d tests (#748)
* Improve native debug experience

* Add unit tests for table2d
2021-12-23 15:07:38 +11:00
DeionSi 2cd7ed327b
Chrysler NGC 6 and 8 cylinder decoder (#707)
* Chrysler NGC 6 and 8 cylinder decoder

* Extra comments

* Only recalculate new ignition mode for valid teeth
2021-12-23 14:56:08 +11:00
DeionSi 0605b7f822
Added loops per revolution gauge and adjustments to loops per second gauge (#741) 2021-12-23 14:45:48 +11:00
Pasi Kemppainen 34116ad223
New CAN-bus library for STM32 (#725)
* Use new CAN-library

* Fix CAN3 pin number

* Fix building on other platforms
2021-12-23 13:46:13 +11:00
Josh Stewart d0bbb24563 Fix typo bracket in last commit 2021-12-22 16:10:06 +11:00
Josh Stewart 2892ac04fc Complete triggering options for SD logging 2021-12-22 15:20:39 +11:00
Tjeerd 0322d31ccc
Added function: Reset eeprom with key (#657)
* Add eeprom reset with key

* small improvements

* increased robustness against accidental erase of EEPROM.

Co-authored-by: Tjeerd <tjeerdie@users.noreply.github.com>
2021-12-22 14:53:36 +11:00
Vitor Moreno B. Sales d9bde09f5e
Enabled softRevLimit time limit (#602)
Co-authored-by: Josh Stewart <josh@noisymime.org>
2021-12-22 13:29:13 +11:00
Daniel Tobias 241917cc7f
don't manually set values for FILTER defaults, use defines (#698)
fixes a few inconsistencies where defaults are set to different values, defaults for generic pressure sensors
2021-12-22 07:56:55 +11:00
Josh Stewart 744621db34 Slight tweaks to composite logger 2021-12-21 14:34:54 +11:00
Josh Stewart 30e566068c Remove extra tooth log buffer definition. Slight RAM free up 2021-12-21 12:54:38 +11:00
Josh Stewart 06c9ae46c5 Add timeout check on new serial 2021-12-21 12:53:53 +11:00
Josh Stewart 809fd9d55b New Comms Tooth and Composite loggers 2021-12-20 16:22:23 +11:00
Josh Stewart 5051c55e84 Attempt to select correct Time library for avr2560 on PIO/Arduino IDE 2021-12-19 22:58:14 +11:00