|
@@ -21,6 +21,7 @@ const GPIO2 = GPIO.addInstance();
|
|
|
const GPIO3 = GPIO.addInstance();
|
|
|
const GPIO4 = GPIO.addInstance();
|
|
|
const GPIO5 = GPIO.addInstance();
|
|
|
+const GPIO6 = GPIO.addInstance();
|
|
|
const MATHACL = scripting.addModule("/ti/driverlib/MATHACL");
|
|
|
const MCAN = scripting.addModule("/ti/driverlib/MCAN", {}, false);
|
|
|
const MCAN1 = MCAN.addInstance();
|
|
@@ -134,6 +135,7 @@ ADC122.adcPin5Config.$name = "ti_driverlib_gpio_GPIOPinGeneric0";
|
|
|
ADC122.adcPin6Config.$name = "ti_driverlib_gpio_GPIOPinGeneric23";
|
|
|
ADC122.adcPin7Config.$name = "ti_driverlib_gpio_GPIOPinGeneric22";
|
|
|
|
|
|
+Board.debugOn = false;
|
|
|
Board.peripheral.$assign = "DEBUGSS";
|
|
|
|
|
|
COMP1.$name = "COMP_0";
|
|
@@ -219,13 +221,21 @@ GPIO4.associatedPins[0].assignedPin = "23";
|
|
|
|
|
|
GPIO5.$name = "GPIO_B_LED";
|
|
|
GPIO5.associatedPins.create(2);
|
|
|
-GPIO5.associatedPins[0].$name = "PIN_EN";
|
|
|
GPIO5.associatedPins[0].assignedPort = "PORTB";
|
|
|
GPIO5.associatedPins[0].assignedPin = "16";
|
|
|
-GPIO5.associatedPins[0].pin.$assign = "PB16";
|
|
|
-GPIO5.associatedPins[1].$name = "PIN_SEL";
|
|
|
+GPIO5.associatedPins[0].$name = "PIN_LED_B_EN";
|
|
|
GPIO5.associatedPins[1].assignedPort = "PORTB";
|
|
|
GPIO5.associatedPins[1].assignedPin = "6";
|
|
|
+GPIO5.associatedPins[1].$name = "PIN_LED_B_SEL";
|
|
|
+
|
|
|
+GPIO6.$name = "GPIO_F_LED";
|
|
|
+GPIO6.associatedPins.create(2);
|
|
|
+GPIO6.associatedPins[0].$name = "PIN_LED_F_EN";
|
|
|
+GPIO6.associatedPins[0].assignedPort = "PORTA";
|
|
|
+GPIO6.associatedPins[0].pin.$assign = "PA20";
|
|
|
+GPIO6.associatedPins[1].$name = "PIN_LED_F_SEL";
|
|
|
+GPIO6.associatedPins[1].assignedPort = "PORTA";
|
|
|
+GPIO6.associatedPins[1].pin.$assign = "PA19";
|
|
|
|
|
|
MCAN1.$name = "MCAN0";
|
|
|
MCAN1.desiredNomRate = 250;
|
|
@@ -437,12 +447,11 @@ scripting.suppress("Migrating requires going through the Switch Board or Device
|
|
|
pinFunction4.peripheral.$suggestSolution = "SYSCTL";
|
|
|
pinFunction4.peripheral.hfxInPin.$suggestSolution = "PA5";
|
|
|
pinFunction4.peripheral.hfxOutPin.$suggestSolution = "PA6";
|
|
|
-Board.peripheral.swclkPin.$suggestSolution = "PA20";
|
|
|
-Board.peripheral.swdioPin.$suggestSolution = "PA19";
|
|
|
COMP1.peripheral.$suggestSolution = "COMP1";
|
|
|
GPIO1.associatedPins[1].pin.$suggestSolution = "PA9";
|
|
|
GPIO1.associatedPins[2].pin.$suggestSolution = "PB7";
|
|
|
GPIO1.associatedPins[4].pin.$suggestSolution = "PA31";
|
|
|
GPIO4.associatedPins[0].pin.$suggestSolution = "PA23";
|
|
|
+GPIO5.associatedPins[0].pin.$suggestSolution = "PB16";
|
|
|
GPIO5.associatedPins[1].pin.$suggestSolution = "PB6";
|
|
|
WWDT1.peripheral.$suggestSolution = "WWDT0";
|