Commit Graph

2440 Commits

Author SHA1 Message Date
Josh Stewart 984d52d5eb Minor cleanup of various files 2020-02-16 19:54:52 +11:00
Josh Stewart 1f7e75b65f Remove check on the OL Stepper idle for max temp. Fixes #322 2020-02-14 10:00:59 +11:00
Josh Stewart 85a1a1a23c Fix poor cranking to running transition on 36-2-2-2 2020-02-13 14:37:42 +11:00
Josh Stewart 349d03249d Introduce tests for the setEndTooth function in missing tooth 2020-02-13 11:51:58 +11:00
Josh Stewart dac19a9ed1 Fix new ign mode regression from df22b1d41b 2020-02-13 11:03:27 +11:00
ric355 aad7b2cba6
Secondary serial requests are sometimes ignored (#321)
* Fix to secondary serial requests to ensure the whole request is received before we attempt to process it. This avoids the situation where serial requests would sometimes be ignored when they are a multi-byte requests (e.g. the 'r' command).

* Minor formatting change.
2020-02-12 09:26:04 +11:00
Josh Stewart 1054f1d290 Restructure all units tests in single layered arrangement 2020-02-11 23:33:00 +11:00
Josh Stewart ae0f63c98b Fix typo on last commit 2020-02-11 12:22:39 +11:00
Josh Stewart 92fd55bc11 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-02-11 11:59:11 +11:00
Josh Stewart 8d497fe1ee Only run unit tests on commits to master 2020-02-11 11:58:29 +11:00
Benas Brazdziunas 89e19d1432
teensy35 FTM1 fixes for Boost and VVT controls (#318) 2020-02-07 21:43:15 +11:00
Antti Muurikainen 10c59d5c4b
201911 firmware introduced battery correction for deadtime only. When selected, currentStatus.batCorrection value remains at 100 and is useless to log in Tunerstudio. (#287)
Opentime only -correction stuff was in speeduino.ino and whole time correction was in corrections.ino, moved all more logically to same place.
2020-02-07 15:57:40 +11:00
Josh Stewart 5244e7088e Merge branch 'master' of https://github.com/noisymime/speeduino 2020-02-07 10:08:09 +11:00
Josh Stewart e8c67f9c86 Add ability to change trigger angle for GM 7X. See #300 2020-02-07 10:07:16 +11:00
Bruno Bousquet 76319fdf22
Separate one schedule unit test per function (#315)
* one test per function

* add tests

* use initialiseSchedulers in tests

* remove generic tests for schedules

* fix schedule accuracy tests

* fix warning static function never defined

* fix test_schedule not working
2020-02-04 09:19:42 +11:00
Josh Stewart 4f5a2bdc35 Fix for failing test_corrections_WUE_active on blank board 2020-02-03 17:36:07 +11:00
Josh Stewart fd10cb729c Remove static declarations from corrections.ino (Did nothing) 2020-02-03 17:35:29 +11:00
Josh Stewart 5be1626bca Create schematic v0.4.4b_schem.pdf 2020-02-03 17:34:36 +11:00
Vitor Moreno B. Sales 2c739a6582
BlackPill fixes (#317)
* Some Fixes to work

* Fix BluePill

* Remove libmaple defs

* STM32 Timers rework

* GCC9 Fix

* BlackPill update

* Disable FRAM as default for STM32

* STM32 storage options for all cores

* STM32 fixes 2

* Update FRAM lib
2020-02-03 13:53:40 +11:00
Josh Stewart a93e78c3f3 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-02-03 09:07:41 +11:00
Josh Stewart 51b557639c Disable some unused bits in scheduler for unit testing 2020-02-03 09:07:37 +11:00
Josh Stewart 6808a15f6d Test enabling remote unit testing on Travis 2020-02-03 09:06:28 +11:00
Josh Stewart 2231a4a1ff Set stm32f407 build to use current PIO platform code 2020-02-03 09:06:14 +11:00
Josh Stewart cc0c90c0e5
Merge pull request #316 from iLeeeZi/ignfix
Fix typos on 3 and 5 cylinder ignition code
2020-02-01 13:51:55 +11:00
iLeeeZi dad5694db6 fix 3 and 5 cylinder ignition 2020-02-01 04:17:33 +02:00
Josh Stewart b3d7c9df9f Better way of determining whether a commit is a PR 2020-01-30 23:48:11 +11:00
Bruno Bousquet 68f2288dd7
add schedule test (#312)
add temp test file to gitignore


improve schedule testing


add check for schedule delays and pending variants

move time sampling to callback methods

add comments and improve pending tests
2020-01-30 16:17:20 +11:00
Bruno Bousquet 1d456c7ad7
fix CRANK_ANGLE_MAX_INJ always 360 (#313) 2020-01-30 12:38:11 +11:00
Josh Stewart 6f8c126581 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-01-30 11:53:03 +11:00
Josh Stewart 8886d3dbd7 Bump required TS version to 3.1 to allow for use of restrictSquirtRelationship option 2020-01-30 11:52:51 +11:00
Josh Stewart 35a5551ce5 Experimental per branch settings in Travis 2020-01-30 11:51:27 +11:00
iLeeeZi 335a191238 Wue autotune (#294)
* add wue autotune

* fix ve autotune if lambda is used

* add lambdaTarget

* fix typo

* change one name
2020-01-28 22:50:34 +11:00
Josh Stewart 1d5053cccf Limit can0 to Teensy35 only for now 2020-01-25 00:21:20 +11:00
Josh Stewart da299433de Add scope guard for Teensy CAN to allow it to compile elsewhere, but this needs cleaning up 2020-01-25 00:10:21 +11:00
Autohome2 a70a4885b9 enable teensy canbus interface (#307)
* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix hex num

* add teensy canbus library
teensy can read and write functions enabled

* update to teensyduino 1.49

Co-authored-by: Josh Stewart <josh@noisymime.org>
2020-01-24 23:10:25 +11:00
Josh Stewart a5d3a311b6 Example unit tests for corrections 2020-01-24 14:18:57 +11:00
Vitor Moreno B. Sales e7dbbb2a75 Early 2020 STM32 fixes (#308)
* Some Fixes to work

* Fix BluePill

* Remove libmaple defs

* STM32 Timers rework

* GCC9 Fix

* BlackPill update

* Disable FRAM as default for STM32

* STM32 storage options for all cores
2020-01-24 12:32:51 +11:00
Josh Stewart cbc35346ba Merge branch 'master' of https://github.com/noisymime/speeduino 2020-01-24 12:22:19 +11:00
Josh Stewart b2c27b7eb0 Initial commit of the unit testing framework 2020-01-24 12:21:12 +11:00
Josh Stewart 76ef814847 Large cleanup of global varialbes in preparation for unit test framework 2020-01-24 11:31:39 +11:00
Josh Stewart 82f6ed7081
Sequential injection cannot be simultaneous (5-cylinder) (#293)
* Sequential injection cannot be simultaneous

* double req_fuel for sequential
2020-01-21 17:03:01 +11:00
Josh Stewart 0be03b20eb Merge branch 'master' of https://github.com/noisymime/speeduino 2020-01-21 16:59:42 +11:00
Josh Stewart 52cce70784 Resolve merge 2020-01-21 16:59:33 +11:00
Josh Stewart d4104ea9f2 Minor tweaks for better operation of higher sequential fuel counts 2020-01-21 16:57:26 +11:00
Pasi Kemppainen 9d0b74982b Pin mapping for BMW PnP boards (#295)
BMW PnP pin mapping to support 6cyl fully seqvential. Basically same as v0.4 pin mapping, but in addition there is correct pins for ign/inj 5-6.
2020-01-21 15:41:51 +11:00
Josh Stewart e004a81524 Increase maximum corrections value from 255 to 511 2020-01-21 15:16:54 +11:00
Josh Stewart 8859611a7e Minor changes to the sync monitoring on dual wheel 2020-01-21 10:33:32 +11:00
Josh Stewart 9e0053e958 Merge branch 'master' of https://github.com/noisymime/speeduino 2020-01-13 16:38:50 +10:00
Josh Stewart 8a48e07b26 Add missing include in comms.ino 2020-01-13 16:38:45 +10:00
Autohome2 57bfc36348 fix for serial0 and serial3 errors (#301)
* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix to serial0 and serial3 when offset is 0 uses wrong command

* fix hex num
2020-01-13 12:16:12 +10:00