Commit Graph

798 Commits

Author SHA1 Message Date
iLeeeZi 77975a0a59 Fix idle advance delay and add baro correction comms (#279) 2019-11-11 14:32:49 +11:00
Josh Stewart de8b563028 Merge branch 'master' of https://github.com/noisymime/speeduino 2019-11-10 19:27:56 +11:00
Josh Stewart 44ce30ab75 Cleanup idle adv dialog and add delay 2019-11-10 19:26:10 +11:00
Bruno Bousquet 5b876b252a fix WUE lookup function and add missing commas in speeduino.ini (#278)
* fix WUE lookup

* fix missing commas in speeduino.ini

* fix correctionWUE
2019-11-10 19:04:32 +11:00
iLeeeZi 892e05d2fc Add idle ignition timing correction feature (#275)
* Add idle advance and idle switch settings

Add idle RPM target based ignition timing correction

* Change few names to avoid confusion

changed idle switch to closed throttle position sensor  (CTPS) and moved CTPS settings under idle advance settings dialog for now
2019-11-08 16:40:53 +11:00
Josh Stewart 964163d2ec Remove debug line that was left in on last commit 2019-11-07 15:11:01 +11:00
Josh Stewart 081b2071c6 Clear injector interrupt flag. Prevents false pulse at low RPM with seq. Fixes #266 2019-11-07 15:01:28 +11:00
Josh Stewart ad4a3a06dd Update last merge to work with new 2D table lookup 2019-11-06 17:03:58 +11:00
Josh Stewart 71add256fc
Merge branch 'master' into dev/injOpen 2019-11-06 17:00:45 +11:00
Josh Stewart 4ffee25c4a Add manual baro correction curve 2019-11-04 10:14:11 +11:00
Josh Stewart 434467686c Prevent potential overflow of the ASE enrich value. Fixes #274 2019-11-01 14:25:51 +11:00
Bruno Bousquet 1cd40e2df9 fix potential negative array index 2019-10-31 17:08:14 -04:00
Bruno Bousquet 1033f1182f improve comments 2019-10-31 16:31:30 -04:00
Bruno Bousquet 9952e8ad1b improve readability 2019-10-29 21:24:37 -04:00
Bruno Bousquet 66c5034ddc improve table2D_getValue() speed 2019-10-29 20:19:00 -04:00
Bruno Bousquet c63b0cc6c8 add axisSize to idle tables 2019-10-29 09:45:48 -04:00
Josh Stewart 85b08d13ab Merge branch 'master' of https://github.com/noisymime/speeduino 2019-10-29 22:53:07 +11:00
Josh Stewart 91206ac90e SUPER experimental new version of 2D table lookup. See #270 2019-10-29 22:50:46 +11:00
Bruno Bousquet 55cfb60251 fix block comment (/**/) within another (#269) 2019-10-22 12:55:17 +10:00
Bruno Bousquet f1521b65d8 Fix MISRA violations (#268)
* improve misra checking

* fix 1600 misra violations

* fix mistyped pointer

* misra script was not filtering duplicates
2019-10-22 11:49:07 +10:00
Josh Stewart 9b96707036 Fix for potential underflow in staging code when DFCO enabled. Fixes #267 2019-10-22 11:08:45 +11:00
Josh Stewart 938501b88f Fix some IGN/INJ copy/paste errors 2019-10-22 10:42:20 +11:00
Josh Stewart 50273d4ed5 Only declare sync with missing tooth sequential if cam signal has been seen. Fixes #259 2019-10-15 17:34:45 +11:00
Josh Stewart b0ac5af12a Only allow the 'Include AFR' option to run of the AFR warmup time has elapsed. Fixes #261 2019-10-15 17:04:31 +11:00
Josh Stewart 73f4058f6b Reenable LED indicator on the calibration routing 2019-10-15 16:56:41 +11:00
Bruno Bousquet 91f90f32e6 Add condition to apply BattV correction only on open time 2019-10-14 21:08:18 -04:00
Josh Stewart be7e8359bc
Merge pull request #258 from Tjeerdie/dev_STM32F407VE
Development STM32F407VE with official core
2019-10-15 07:59:12 +10:00
hoogendijkta 4c5d0ebc47 Removed DEBUG statement. Statement introduced lag for stm32 2019-10-11 17:41:28 +02:00
hoogendijkta bbc4144fec Changed pins to correspond with test board. 2019-10-11 17:40:11 +02:00
ric355 0e5f50d1e9 Separate out stepper homing steps from maximum number of steps (#257)
* Provide support for changing the idle stepper direction through the use
of an "inverted Y/N" setting. This is to avoid the need to change wiring
if it turns out the stepper is working in the opposite direction to what
is expected.

* Add a new setting maximum number of stepper motor steps, so that homing can be done more reliably.
2019-10-01 17:22:33 +10:00
hoogendijkta a8bc25bd9d Merge branch 'FixTimers_STM32F4' 2019-09-30 21:44:23 +02:00
hoogendijkta 3a42674d57 Repair code with new STM32duino 1.7.0 core 2019-09-30 21:29:26 +02:00
hoogendijkta a44cacc9d4 fix STM32F407 comilation wuth new stm32duino 1.7.0 2019-09-30 21:13:09 +02:00
Josh Stewart e6d5a0dd36 Merge branch 'master' of https://github.com/noisymime/speeduino 2019-09-30 11:14:39 +10:00
Josh Stewart d29fa98d75 Only disable nitrous pins if nitrous is enabled 2019-09-30 11:11:16 +10:00
hoogendijkta 7a957fe121 Cleaned more warning during compile 2019-09-24 19:37:34 +02:00
hoogendijkta f3c01cbdda Removed debug line 2019-09-24 00:04:29 +02:00
hoogendijkta 05a2414d9f Ugly Hack to get rid of the startstorage() function. 2019-09-24 00:01:21 +02:00
hoogendijkta caa1c676f3 Made platformio work with usb serial 2019-09-22 19:31:23 +02:00
hoogendijkta e9ff7293c5 Cleaned up debugging;
Removed newConfig function;
SPI flash clock much faster;
2019-09-22 13:35:31 +02:00
hoogendijkta 30acafe300 Add SPI Flash storage as EEPROM onboard the Black STM32F407VET6 from ebay. 2019-09-21 22:52:01 +02:00
hoogendijkta 08904904d5 Bugfix writing temperature calibrations
Bug fix sram region to large
2019-09-19 20:32:44 +02:00
hoogendijkta 2137969b7c Added new board "case 60" for development of the BLACK STM32F407VET6 boards from ebay. Creating a shield for speeduino for the board 2019-09-19 12:20:26 +02:00
Josh Stewart f185b1e200
Merge pull request #241 from Autohome2/082019master
add new serial3 command
2019-09-19 09:41:27 +10:00
Josh Stewart ced6a2a4a1 October dev signatures 2019-09-19 09:41:10 +10:00
Josh Stewart 186ca9e468 Signatures and base tunes for 201909 release 2019-09-05 12:02:15 +10:00
Josh Stewart 6cb18e4850 Warnings / MISRA cleanup 2019-09-04 18:25:02 +10:00
Josh Stewart b95997736c ini cleanup to match current comms.ino 2019-09-04 17:59:52 +10:00
Josh Stewart c5ccba3142 Use the end function pointers in overdwell protection for WastedCOP. Fixes #229 2019-09-04 17:58:13 +10:00
Josh Stewart c063e19213 Correctly handle case where an analog pin is used for the fuel2 switching input 2019-09-02 17:47:35 +10:00
Josh Stewart aebc2dc1f8 Merge branch 'master' of https://github.com/noisymime/speeduino 2019-09-02 17:01:46 +10:00
Josh Stewart 169bee0a67 More complete support for table switching 2019-09-02 17:01:03 +10:00
Josh Stewart 3ee54c8d8f Fix typo on the CORE4 pin mapping 2019-09-02 11:17:55 +10:00
Josh Stewart 019906fd90 Don't allow flat shift to go active if launch control is already active 2019-08-30 21:19:44 +10:00
Bruno Bousquet 9fec203c5b remove _SLOW versions of MAX_TIMER_PERIOD and uS_TO_TIMER_COMPARE 2019-08-22 20:18:07 -04:00
Josh Stewart d4d2c4ab59 Remove lines that should've been cut in previous commit 2019-08-21 17:32:15 +10:00
Josh Stewart 162e1837d6 Average cycle MAP reading for, similar to b5b6ea64a2 2019-08-21 15:20:29 +10:00
Josh Stewart 4357b1b4cf Clean compile on Teensy 4 2019-08-21 15:15:19 +10:00
Josh Stewart bc60059445 Merge branch 'master' of https://github.com/noisymime/speeduino 2019-08-21 13:36:36 +10:00
Josh Stewart 3328bd8ee3 Merge branch 'master' of https://github.com/noisymime/speeduino 2019-08-20 23:45:37 +10:00
Josh Stewart 89ee0e350d Detect Teensy v4 and differentiate from other Teensy 2019-08-20 23:45:29 +10:00
Josh Stewart 64d0196787 PID updates to allow clean compile 2019-08-20 18:55:22 +10:00
tvoyle b5b6ea64a2
Fix second revolution check for MAP minimum
Second revolution is never picked up with MAP Sample Method Set to cycle minimum as  the +1 on the second check is in the wrong place
2019-08-20 14:02:53 +12:00
Josh Stewart db09629eec Merge branch 'master' of https://github.com/noisymime/speeduino 2019-08-20 09:55:53 +10:00
Josh Stewart e76b80bf1c Some of the basic closed loop VVT stuff 2019-08-20 09:55:46 +10:00
Josh Stewart f088c72c96 Most of the base logic for the conditional and input based table switching 2019-08-20 09:44:18 +10:00
John Plusje 4823d54b2d Merge branch 'master' of https://github.com/noisymime/speeduino 2019-08-17 16:21:31 +02:00
John Plusje cdcd066481 Fixed typo in cancomms.ino 2019-08-17 16:15:56 +02:00
darren siepka fa8ff51ddd fix compile errors 2019-08-10 13:40:22 +01:00
Autohome2 a3255c40f4
Merge pull request #70 from noisymime/master
Some of the fuel2 base changes for clean compile
2019-08-10 13:33:49 +01:00
darren siepka 67f3ae8102 add new realtime command for serial3 2019-08-10 13:32:05 +01:00
Josh Stewart 50ab4f9548 Some of the fuel2 base changes for clean compile 2019-08-10 22:30:05 +10:00
Josh Stewart 15cbb9a4e5 Most of the initial closed loop VVT base work 2019-08-08 16:26:59 +10:00
Josh Stewart 732718f27b Set ignitionBypass pin back to low when engine off. Fixes #240 2019-08-07 09:55:04 +10:00
Josh Stewart b05156411f Add legacy MAP reading mode 2019-08-07 09:51:18 +10:00
Josh Stewart 260f9b4c6c Add pin mapping for DIY-EFI CORE4 2019-08-06 17:19:52 +10:00
Josh Stewart f5af018cb6 Fix for potential missed pulses on tacho output 2019-08-04 19:24:19 +10:00
Josh Stewart 69a23affa6
Merge pull request #237 from brunob45/dev/timerspt1
All ignition and fuel timers run at same speed
2019-08-03 15:30:02 +10:00
Josh Stewart b6108b5050 Warnings cleanup 2019-08-02 10:14:25 +10:00
Bruno Bousquet 6355d7d859 Fix ignition5 and idle interrupt mix 2019-07-19 19:17:14 -04:00
Bruno Bousquet e0f7804034 add more macros for code explicitness 2019-07-19 17:11:15 -04:00
Bruno Bousquet bea951ed84 put better comments 2019-07-19 16:21:52 -04:00
Bruno Bousquet 0dede83883 add constants for prescaler values 2019-07-19 16:16:32 -04:00
Bruno Bousquet 7b6f5b5cff make all ignition and fuel timers run at same speed 2019-07-19 15:57:30 -04:00
Josh Stewart 8e9be7ef17 Warnings cleanup 2019-07-12 16:46:34 +10:00
Josh Stewart 549ec979fa Add pin mapping for 01-05 Miata PNP 2019-07-12 16:41:53 +10:00
Josh Stewart fa621ea071 Big MISRA cleanup 2019-07-08 17:56:02 +10:00
Josh Stewart 3ee8e11824 Add battery voltage offset calibration. Fixes #179 2019-07-08 17:51:08 +10:00
Josh Stewart 358c50e9ea First of the big MISRA cleanups 2019-06-26 10:31:35 +10:00
Josh Stewart 19cb1a5cb0 Add pin mapping for the 1996-97 Miata PNP 2019-06-24 17:04:24 +10:00
Josh Stewart 5a7b17bccd Fix for HW test mode that broke in f41f95a60c 2019-06-24 15:47:13 +10:00
Josh Stewart 030b88b578 Fix for negative values in the coolant advance table not working 2019-06-24 14:46:11 +10:00
Josh Stewart 40d8ed81c7 June dev signatures 2019-06-19 08:09:13 +10:00
Josh Stewart 1943d0f7bf Add missing defaults for the coolant based advance curve 2019-06-06 23:29:04 +10:00
Josh Stewart 28fae10a45 Signatures and base tunes for 201905 2019-06-06 20:10:17 +10:00
Josh Stewart 593194c9b0 Disable the switching option on 2nd fuel table for this release 2019-06-05 18:27:40 +10:00
Josh Stewart c18b29b7d2 Only allow O2 sensor readings when they sensor type is not disabled 2019-06-05 18:22:19 +10:00
Josh Stewart e524e8636a Threshold fix for MAE 2019-06-04 18:27:38 +10:00
Josh Stewart 834d80d859 Multiple fixes for 2nd fuel table. Seems to be working 2019-06-04 18:27:28 +10:00
Josh Stewart 17b9875862 Complete MAE. Needs testing 2019-05-30 18:02:18 +10:00