/** * These arguments were used when this file was generated. They will be automatically applied on subsequent loads * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments. * @cliArgs --board "/ti/boards/CC3220S_LAUNCHXL" --product "simplelink_cc32xx_sdk@4_20_00_07" * @versions {"data":"2020052512","timestamp":"2020052512","tool":"1.5.0+1397","templates":"2020052512"} */ /** * Import the modules used in this configuration. */ const DriverLib = scripting.addModule("/ti/devices/DriverLib"); const Board = scripting.addModule("/ti/drivers/Board"); const DMA = scripting.addModule("/ti/drivers/DMA"); const I2C = scripting.addModule("/ti/drivers/I2C", {}, false); const I2C1 = I2C.addInstance(); const Power = scripting.addModule("/ti/drivers/Power"); const Watchdog = scripting.addModule("/ti/drivers/Watchdog"); const Watchdog1 = Watchdog.addInstance(); /** * Write custom configuration values to the imported modules. */ I2C1.$name = "CONFIG_I2C_0"; I2C1.$hardware = system.deviceData.board.components.LP_I2C; I2C1.i2c.sdaPin.$assign = "boosterpack.10"; I2C1.i2c.sclPin.$assign = "boosterpack.9"; Power.ioRetentionShutdown = ["GRP_1"]; Power.parkPins.$name = "ti_drivers_power_PowerCC32XXPins0"; Watchdog1.$name = "CONFIG_WATCHDOG_0"; Watchdog1.watchdog.$assign = "WATCHDOG0"; /** * Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future * 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. */ I2C1.i2c.$suggestSolution = "I2C0";