/** * 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 --device "MSPM0L222X" --part "Default" --package "LQFP-64(PM)" --product "mspm0_sdk@2.09.00.00" * @v2CliArgs --device "MSPM0L2228" --package "LQFP-64(PM)" --product "mspm0_sdk@2.09.00.00" * @versions {"tool":"1.25.0+4268"} */ /** * Import the modules used in this configuration. */ const Board = scripting.addModule("/ti/driverlib/Board"); const GPIO = scripting.addModule("/ti/driverlib/GPIO", {}, false); const GPIO1 = GPIO.addInstance(); const NONMAIN = scripting.addModule("/ti/driverlib/NONMAIN"); const SYSCTL = scripting.addModule("/ti/driverlib/SYSCTL"); const UART = scripting.addModule("/ti/driverlib/UART", {}, false); const UART1 = UART.addInstance(); const ProjectConfig = scripting.addModule("/ti/project_config/ProjectConfig"); /** * Write custom configuration values to the imported modules. */ Board.configureUnused = true; Board.genPeriphPinFile = true; Board.genResourceCSV = true; Board.peripheral.$assign = "DEBUGSS"; Board.peripheral.swclkPin.$assign = "PA20"; Board.peripheral.swdioPin.$assign = "PA19"; Board.genFileMod.$name = "ti_driverlib_BoardPins0"; Board.genFileCSV.$name = "ti_driverlib_ResourcesCSV0"; GPIO1.$name = "GPIO_GRP_0"; GPIO1.associatedPins[0].$name = "GPIO_TEST_OUT"; NONMAIN.nonmainWarning = true; NONMAIN.flashBankSwap = true; NONMAIN.bslDefaultInvokePin = false; NONMAIN.bslInvokePinLevel = 1; NONMAIN.bslAltConfig = true; NONMAIN.bslAppVersion = 0x1; NONMAIN.bslAltAddress = 0x2023; NONMAIN.bslInvokePin = "PA12"; SYSCTL.SYSOSC_Freq = 4000000; SYSCTL.HFCLKSource = "HFXT"; SYSCTL.peripheral.$assign = "SYSCTL"; UART1.$name = "UART_0"; UART1.enableFIFO = true; UART1.enabledInterrupts = ["BREAK_ERROR","FRAMING_ERROR","NOISE_ERROR","OVERRUN_ERROR","PARITY_ERROR","RX","RX_TIMEOUT_ERROR"]; UART1.peripheral.$assign = "UART0"; UART1.peripheral.rxPin.$assign = "PA11"; UART1.peripheral.txPin.$assign = "PA10"; UART1.txPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric0"; UART1.rxPinConfig.$name = "ti_driverlib_gpio_GPIOPinGeneric1"; ProjectConfig.migrationCondition = true; /** * 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. */ GPIO1.associatedPins[0].pin.$suggestSolution = "PB13";