/** * 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/LP_CC1352P7_1" --rtos "tirtos7" --product "simplelink_cc13xx_cc26xx_sdk@7.41.00.17" * @versions {"tool":"1.18.1+3343"} */ /** * Import the modules used in this configuration. */ const CCFG = scripting.addModule("/ti/devices/CCFG"); const custom = scripting.addModule("/ti/devices/radioconfig/custom"); const rfdesign = scripting.addModule("/ti/devices/radioconfig/rfdesign"); const Display = scripting.addModule("/ti/display/Display", {}, false); const Display1 = Display.addInstance(); const GPIO = scripting.addModule("/ti/drivers/GPIO"); const GPIO1 = GPIO.addInstance(); const GPIO2 = GPIO.addInstance(); const RF = scripting.addModule("/ti/drivers/RF"); const Settings = scripting.addModule("/ti/posix/tirtos/Settings"); const BIOS = scripting.addModule("/ti/sysbios/BIOS"); const Event = scripting.addModule("/ti/sysbios/knl/Event"); const Idle = scripting.addModule("/ti/sysbios/knl/Idle", {}, false); const Idle2 = Idle.addInstance(); const Mailbox = scripting.addModule("/ti/sysbios/knl/Mailbox"); const Error = scripting.addModule("/ti/sysbios/runtime/Error"); const SysCallback = scripting.addModule("/ti/sysbios/runtime/SysCallback"); const Timestamp = scripting.addModule("/ti/sysbios/runtime/Timestamp"); /** * Write custom configuration values to the imported modules. */ CCFG.xoscCapArray = true; CCFG.xoscCapArrayDelta = 0xC1; CCFG.enableBootloader = true; CCFG.dioBootloaderBackdoor = 15; CCFG.levelBootloaderBackdoor = "Active low"; CCFG.ccfgTemplate.$name = "ti_devices_CCFG_CCFGCC26XXTemplate0"; custom.prop8 = ["custom868"]; custom.radioConfigcustom868.$name = "RF_Custom_Setting"; custom.radioConfigcustom868.txPower = "0"; custom.radioConfigcustom868.preambleMode = "Send different first preamble bit in preamble and sync word"; custom.radioConfigcustom868.symbolRate = 100.000; custom.radioConfigcustom868.deviation = 50.0; custom.radioConfigcustom868.rxFilterBw = "195.9"; custom.radioConfigcustom868.syncWord = 0x000055AC; custom.radioConfigcustom868.preambleCount = "1 Byte"; custom.radioConfigcustom868.syncWordLength = "16 Bits"; custom.radioConfigcustom868.whitening = "Dynamically IEEE 802.15.4g compatible whitener and 16/32-bit CRC"; custom.radioConfigcustom868.codeExportConfig.$name = "ti_devices_radioconfig_code_export_param0"; custom.radioConfigcustom868.codeExportConfig.paExport = "combined"; custom.radioConfigcustom868.codeExportConfig.symGenMethod = "Legacy"; custom.radioConfigcustom868.codeExportConfig.cmdList_prop = ["cmdFs","cmdPropRadioDivSetupPa","cmdPropRx","cmdPropRxAdv","cmdPropTx","cmdPropTxAdv"]; rfdesign.pa20 = "none"; Display1.$name = "CONFIG_Display_0"; Display1.$hardware = system.deviceData.board.components.XDS110UART; Display1.uart.$name = "CONFIG_UART2_0"; GPIO1.$hardware = system.deviceData.board.components.LED_GREEN; GPIO1.$name = "CONFIG_GPIO_GLED"; GPIO2.$hardware = system.deviceData.board.components.LED_RED; GPIO2.$name = "CONFIG_GPIO_RLED"; RF.$hardware = system.deviceData.board.components["SKY13317-373LF"]; BIOS.assertsEnabled = false; BIOS.heapBaseAddr = "__primary_heap_start__"; BIOS.heapEndAddr = "__primary_heap_end__"; const Clock = scripting.addModule("/ti/sysbios/knl/Clock", {}, false); Clock.tickPeriod = 10; const Timer = scripting.addModule("/ti/sysbios/family/arm/cc26xx/Timer", {}, false); Idle2.$name = "powerIdle"; Idle2.idleFxn = "Power_idleFunc"; const Semaphore = scripting.addModule("/ti/sysbios/knl/Semaphore", {}, false); Semaphore.supportsPriority = false; const Swi = scripting.addModule("/ti/sysbios/knl/Swi", {}, false); Swi.numPriorities = 6; const Task = scripting.addModule("/ti/sysbios/knl/Task", {}, false); Task.checkStackFlag = false; Task.defaultStackSize = 512; Task.idleTaskStackSize = 512; Task.numPriorities = 6; Error.policy = "Error_SPIN"; Error.printDetails = false; const System = scripting.addModule("/ti/sysbios/runtime/System", {}, false); System.abortFxn = "System_abortSpin"; System.exitFxn = "System_exitSpin"; System.extendedFormats = "%f"; System.supportModule = "SysCallback"; /** * 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. */ Display1.uart.uart.$suggestSolution = "UART0"; Display1.uart.uart.txPin.$suggestSolution = "boosterpack.4"; Display1.uart.uart.rxPin.$suggestSolution = "boosterpack.3"; GPIO1.gpioPin.$suggestSolution = "boosterpack.40"; GPIO2.gpioPin.$suggestSolution = "boosterpack.39"; RF.rfAntennaPin0.$suggestSolution = "DIO_28"; RF.rfAntennaPin1.$suggestSolution = "DIO_29"; RF.rfAntennaPin2.$suggestSolution = "DIO_30"; Timer.rtc.$suggestSolution = "RTC0";