Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/noisymime/speeduino
Browse files Browse the repository at this point in the history
  • Loading branch information
noisymime committed Dec 20, 2023
2 parents 25ff07c + 4b7948e commit 5d6440f
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 1 deletion.
2 changes: 1 addition & 1 deletion reference/speeduino.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
#define fullStatus_def_8= "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "running seconds x10", "Rule 1", "Rule 2", "Rule 3", "Rule 4", "Rule 5", "Rule 6", "Rule 7", "Rule 8", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID"
#define fullStatus_def = $fullStatus_def_1, $fullStatus_def_2, $fullStatus_def_3, $fullStatus_def_4, $fullStatus_def_5, $fullStatus_def_6, $fullStatus_def_7, $fullStatus_def_8

#define pinLayouts = "INVALID", "Speeduino v0.2", "Speeduino v0.3", "Speeduino v0.4", "INVALID", "INVALID", "01-05 MX5 PNP", "INVALID", "96-97 MX5 PNP", "NA6 MX5 PNP", "Turtana PCB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Plazomat I/O 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Daz V6 Shield 0.1", "BMW PnP", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "NO2C", "UA4C", "INVALID", "INVALID", "INVALID", "DIY-EFI CORE4 v1.0", "INVALID", "INVALID", "INVALID", "INVALID", "dvjcodec Teensy RevA", "dvjcodec Teensy RevB", "INVALID", "JUICEBOX", "INVALID", "Drop Bear", "INVALID", "INVALID", "INVALID", "INVALID", "Black STM32F407VET6 V0.1", "INVALID", "INVALID", "INVALID", $invalid_x128, $invalid_x64
#define pinLayouts = "INVALID", "Speeduino v0.2", "Speeduino v0.3", "Speeduino v0.4", "INVALID", "INVALID", "01-05 MX5 PNP", "INVALID", "96-97 MX5 PNP", "NA6 MX5 PNP", "Turtana PCB", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Plazomat I/O 0.1", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "Daz V6 Shield 0.1", "BMW PnP", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "INVALID", "NO2C", "UA4C", "BlitzboxBL49sp", "INVALID", "INVALID", "DIY-EFI CORE4 v1.0", "INVALID", "INVALID", "INVALID", "INVALID", "dvjcodec Teensy RevA", "dvjcodec Teensy RevB", "INVALID", "JUICEBOX", "INVALID", "Drop Bear", "INVALID", "INVALID", "INVALID", "INVALID", "Black STM32F407VET6 V0.1", "INVALID", "INVALID", "INVALID", $invalid_x128, $invalid_x64

boostTableLabels = bits, U08, [0:1], "Duty Cycle %", "kPa"
boostByGearLabels = bits, U08, [0:1], "", "%", "Limit", ""
Expand Down
37 changes: 37 additions & 0 deletions speeduino/init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2167,6 +2167,43 @@ void setPinMapping(byte boardID)
#endif
break;

case 42:
//Pin mappings for all BlitzboxBL49sp variants
pinInjector1 = 6; //Output pin injector 1
pinInjector2 = 7; //Output pin injector 2
pinInjector3 = 8; //Output pin injector 3
pinInjector4 = 9; //Output pin injector 4
pinCoil1 = 24; //Pin for coil 1
pinCoil2 = 25; //Pin for coil 2
pinCoil3 = 23; //Pin for coil 3
pinCoil4 = 22; //Pin for coil 4
pinTrigger = 19; //The CRANK Sensor pin
pinTrigger2 = 18; //The Cam Sensor pin
pinFlex = 20; // Flex sensor PLACEHOLDER value for now
pinTPS = A0; //TPS input pin
pinSpareTemp1 = A1; //LMM sensor pin
pinO2 = A2; //O2 Sensor pin
pinIAT = A3; //IAT sensor pin
pinCLT = A4; //CLT sensor pin
pinMAP = A7; //internal MAP sensor
pinBat = A6; //Battery reference voltage pin
pinBaro = A5; //external MAP/Baro sensor pin
pinO2_2 = A9; //O2 sensor pin (second sensor) PLACEHOLDER value for now
pinLaunch = 2; //Can be overwritten below
pinTachOut = 10; //Tacho output pin
pinIdle1 = 11; //Single wire idle control
pinIdle2 = 14; //2 wire idle control PLACEHOLDER value for now
pinFuelPump = 3; //Fuel pump output
pinVVT_1 = 15; //Default VVT output PLACEHOLDER value for now
pinBoost = 13; //Boost control
pinSpareLOut1 = 49; //enable Wideband Lambda Heater
pinSpareLOut2 = 16; //low current output spare2 PLACEHOLDER value for now
pinSpareLOut3 = 17; //low current output spare3 PLACEHOLDER value for now
pinSpareLOut4 = 21; //low current output spare4 PLACEHOLDER value for now
pinFan = 12; //Pin for the fan output
pinResetControl = 46; //Reset control output PLACEHOLDER value for now
break;

case 45:
#ifndef SMALL_FLASH_MODE //No support for bluepill here anyway
//Pin mappings for the DIY-EFI CORE4 Module. This is an AVR only module
Expand Down

0 comments on commit 5d6440f

Please sign in to comment.