Procházet zdrojové kódy

Fix: Pin-Konfiguration für Adressconfig-Pin

Heinrich Blatt před 8 měsíci
rodič
revize
172b023c1b
1 změnil soubory, kde provedl 6 přidání a 6 odebrání
  1. 6 6
      main_target.syscfg

+ 6 - 6
main_target.syscfg

@@ -22,9 +22,10 @@ const ProjectConfig = scripting.addModule("/ti/project_config/ProjectConfig");
 /**
  * Write custom configuration values to the imported modules.
  */
-GPIO1.$name                       = "GPIOS";
-GPIO1.associatedPins[0].direction = "INPUT";
-GPIO1.associatedPins[0].$name     = "ADDR";
+GPIO1.$name                         = "GPIOS";
+GPIO1.associatedPins[0].direction   = "INPUT";
+GPIO1.associatedPins[0].$name       = "ADDR";
+GPIO1.associatedPins[0].pin.$assign = "PA22";
 
 const Board                       = scripting.addModule("/ti/driverlib/Board", {}, false);
 Board.peripheral.$assign          = "DEBUGSS";
@@ -86,6 +87,5 @@ ProjectConfig.migrationCondition = true;
  * version of the tool will not impact the pinmux you originally saw.  These lines can be completely deleted in order to
  * re-solve from scratch.
  */
-GPIO1.associatedPins[0].pin.$suggestSolution = "PA2";
-I2C2.peripheral.$suggestSolution             = "I2C0";
-PWM1.peripheral.$suggestSolution             = "TIMG1";
+I2C2.peripheral.$suggestSolution = "I2C0";
+PWM1.peripheral.$suggestSolution = "TIMG1";