Commit Graph

798 Commits

Author SHA1 Message Date
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
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
iLeeeZi dad5694db6 fix 3 and 5 cylinder ignition 2020-02-01 04:17:33 +02: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 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 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
Josh Stewart 106b75509d Generic SPI as EEPROM changes. 2020-01-13 12:14:00 +10:00
Josh Stewart 3a73508cc3 Fix regression from df22b1d41b in Basic Distributor cranking RPM. Fixes #297 2019-12-24 12:11:53 +11:00
Josh Stewart 1c4a6b6f68 Prevent MAP spike when cranking begins with averaged sampling. Fixes #296 2019-12-21 20:06:54 +11:00
Josh Stewart b3a7ba8eac Some initial ground work for the SD logging 2019-12-19 17:31:02 +11:00
Josh Stewart 3265f1b937 Fix for potential missed ignition signals at high rpm/high dwell 2019-12-19 13:23:11 +11:00
Bruno Bousquet b35e07b86b double req_fuel for sequential 2019-12-14 19:13:13 -05:00
Bruno Bousquet 0b2a1a5b78 Sequential injection cannot be simultaneous 2019-12-14 19:06:50 -05:00
Josh Stewart da1d13875f Merge branch 'master' of https://github.com/noisymime/speeduino 2019-12-15 10:04:32 +11:00
Josh Stewart 3ae3ba03b7 Fix missing arch check from last commit 2019-12-15 10:04:10 +11:00
Bruno Bousquet 1c7fadaf2e move channel2InjDegrees so it is computed (#292) 2019-12-15 10:01:31 +11:00
Josh Stewart 4be3ffc0e1 Further MISRA cleanup work 2019-12-15 09:57:22 +11:00
Josh Stewart fbbeb8a7a1 Basework for new DB board 2019-12-15 09:55:46 +11:00
Josh Stewart df22b1d41b MISRA cleanup 2019-12-02 14:47:30 +11:00
Josh Stewart 8cb7876406 Improvements to the high speed loggers. Fixes #285 2019-11-25 14:50:43 +11:00
Josh Stewart 316982ffcd Potential (Untested) fix for #285 2019-11-19 22:56:58 +11:00
Josh Stewart 262e9dc506 Dev signatures for 201912 2019-11-19 21:17:44 +11:00
Josh Stewart f1f593f97c Signatures and base tunes for the 201911 release 2019-11-14 23:17:46 +11:00
Josh Stewart bfe704ab05 Add default values in updates.ino for 201911 2019-11-14 18:00:39 +11:00
Josh Stewart d75dbf9719 Add new MAP sampling option (Event average) 2019-11-14 17:40:25 +11:00
Josh Stewart 6c4091de6b Tweaks to the closed loop boost control algorithm (Limit Integral history) 2019-11-13 17:25:59 +11:00
Josh Stewart 386720918e Remove the special handling for fuel5 schedule 2019-11-12 17:10:32 +11:00
Josh Stewart 3f762ebf2f Merge branch 'master' of https://github.com/noisymime/speeduino 2019-11-12 15:29:18 +11:00
Josh Stewart 3dd92b15fe Performance optimisation on the missing tooth decoder 2019-11-12 15:28:43 +11:00
Josh Stewart 554f58eb28 Add better 3D table caching 2019-11-12 15:18:32 +11:00
Josh Stewart e449f319c2 RAM cleanup of the schedule structs 2019-11-12 15:04:36 +11:00