|
|
@@ -45,11 +45,13 @@ I2C1.intTarget = ["RXFIFO_TRIGGER","RX_DONE","START","STOP","TXFIFO_TRI
|
|
|
I2C1.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric0";
|
|
|
I2C1.sclPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric1";
|
|
|
|
|
|
-I2C2.$name = "I2C_1";
|
|
|
-I2C2.basicEnableController = true;
|
|
|
-I2C2.intController = ["ARBITRATION_LOST","NACK","RXFIFO_TRIGGER","RX_DONE","TXFIFO_TRIGGER","TX_DONE"];
|
|
|
-I2C2.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric2";
|
|
|
-I2C2.sclPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric3";
|
|
|
+I2C2.$name = "I2C_1";
|
|
|
+I2C2.basicEnableController = true;
|
|
|
+I2C2.intController = ["ARBITRATION_LOST","NACK","RXFIFO_TRIGGER","RX_DONE","TXFIFO_TRIGGER","TX_DONE"];
|
|
|
+I2C2.peripheral.sdaPin.$assign = "PA3";
|
|
|
+I2C2.peripheral.sclPin.$assign = "PA4";
|
|
|
+I2C2.sdaPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric2";
|
|
|
+I2C2.sclPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric3";
|
|
|
|
|
|
|
|
|
ProjectConfig.deviceSpin = "MSPM0G3507";
|
|
|
@@ -62,10 +64,8 @@ ProjectConfig.deviceSpin = "MSPM0G3507";
|
|
|
Board.peripheral.$suggestSolution = "DEBUGSS";
|
|
|
Board.peripheral.swclkPin.$suggestSolution = "PA20";
|
|
|
Board.peripheral.swdioPin.$suggestSolution = "PA19";
|
|
|
-I2C1.peripheral.$suggestSolution = "I2C1";
|
|
|
-I2C1.peripheral.sdaPin.$suggestSolution = "PA10";
|
|
|
-I2C1.peripheral.sclPin.$suggestSolution = "PA11";
|
|
|
-I2C2.peripheral.$suggestSolution = "I2C0";
|
|
|
-I2C2.peripheral.sdaPin.$suggestSolution = "PA0";
|
|
|
-I2C2.peripheral.sclPin.$suggestSolution = "PA1";
|
|
|
+I2C1.peripheral.$suggestSolution = "I2C0";
|
|
|
+I2C1.peripheral.sdaPin.$suggestSolution = "PA0";
|
|
|
+I2C1.peripheral.sclPin.$suggestSolution = "PA1";
|
|
|
+I2C2.peripheral.$suggestSolution = "I2C1";
|
|
|
SYSCTL.peripheral.$suggestSolution = "SYSCTL";
|