■ ■ ■ ■ ■ ■
firmware/CCS_syscfg_cc1352/CatSniffer.syscfg
| 1 | + | /** |
| 2 | + | * These arguments were used when this file was generated. They will be automatically applied on subsequent loads |
| 3 | + | * via the GUI or CLI. Run CLI with '--help' for additional information on how to override these arguments. |
| 4 | + | * @cliArgs --board "/ti/boards/CC1352P1_LAUNCHXL" --rtos "tirtos" --product "[email protected]" |
| 5 | + | * @versions {"tool":"1.12.0+2406"} |
| 6 | + | */ |
| 7 | + | |
| 8 | + | /** |
| 9 | + | * Import the modules used in this configuration. |
| 10 | + | */ |
| 11 | + | const CCFG = scripting.addModule("/ti/devices/CCFG"); |
| 12 | + | const rfdesign = scripting.addModule("/ti/devices/radioconfig/rfdesign"); |
| 13 | + | const Board = scripting.addModule("/ti/drivers/Board"); |
| 14 | + | const GPIO = scripting.addModule("/ti/drivers/GPIO"); |
| 15 | + | const GPIO1 = GPIO.addInstance(); |
| 16 | + | const GPIO2 = GPIO.addInstance(); |
| 17 | + | const Power = scripting.addModule("/ti/drivers/Power"); |
| 18 | + | const RF = scripting.addModule("/ti/drivers/RF"); |
| 19 | + | const Timer = scripting.addModule("/ti/drivers/Timer", {}, false); |
| 20 | + | const Timer1 = Timer.addInstance(); |
| 21 | + | const UART2 = scripting.addModule("/ti/drivers/UART2", {}, false); |
| 22 | + | const UART21 = UART2.addInstance(); |
| 23 | + | |
| 24 | + | /** |
| 25 | + | * Write custom configuration values to the imported modules. |
| 26 | + | */ |
| 27 | + | CCFG.enableBootloader = true; |
| 28 | + | CCFG.enableBootloaderBackdoor = true; |
| 29 | + | CCFG.dioBootloaderBackdoor = 15; |
| 30 | + | CCFG.levelBootloaderBackdoor = "Active low"; |
| 31 | + | CCFG.forceVddr = true; |
| 32 | + | CCFG.xoscCapArray = true; |
| 33 | + | CCFG.xoscCapArrayDelta = 0xC1; |
| 34 | + | CCFG.ccfgTemplate.$name = "ti_devices_CCFG_CCFGCC26XXTemplate0"; |
| 35 | + | |
| 36 | + | rfdesign.pa20 = "fb24g"; |
| 37 | + | |
| 38 | + | GPIO1.mode = "Output"; |
| 39 | + | GPIO1.$name = "CONFIG_GPIO_LED_0"; |
| 40 | + | GPIO1.gpioPin.$assignAllowConflicts = "boosterpack.6"; |
| 41 | + | scripting.suppress("Resource conflict,@@@.+?@@@ is also in use by @@@.+?@@@", GPIO1, "gpioPin"); |
| 42 | + | |
| 43 | + | GPIO2.$name = "CONFIG_GPIO_RLED"; |
| 44 | + | GPIO2.mode = "Output"; |
| 45 | + | GPIO2.gpioPin.$assignAllowConflicts = "boosterpack.6"; |
| 46 | + | scripting.suppress("Resource conflict,@@@.+?@@@ is also in use by @@@.+?@@@", GPIO2, "gpioPin"); |
| 47 | + | |
| 48 | + | RF.$hardware = system.deviceData.board.components["SKY13317-373LF"]; |
| 49 | + | |
| 50 | + | Timer1.$name = "CONFIG_TIMER_0"; |
| 51 | + | Timer1.timerType = "32 Bits"; |
| 52 | + | Timer1.timerInstance.$name = "CONFIG_GPTIMER_0"; |
| 53 | + | |
| 54 | + | UART21.$name = "CONFIG_UART2_0"; |
| 55 | + | UART21.$hardware = system.deviceData.board.components.XDS110UART; |
| 56 | + | |
| 57 | + | /** |
| 58 | + | * Pinmux solution for unlocked pins/peripherals. This ensures that minor changes to the automatic solver in a future |
| 59 | + | * version of the tool will not impact the pinmux you originally saw. These lines can be completely deleted in order to |
| 60 | + | * re-solve from scratch. |
| 61 | + | */ |
| 62 | + | RF.rfAntennaPin0.$suggestSolution = "ball.41"; |
| 63 | + | RF.rfAntennaPin1.$suggestSolution = "ball.42"; |
| 64 | + | RF.rfAntennaPin2.$suggestSolution = "ball.43"; |
| 65 | + | Timer1.timerInstance.timer.$suggestSolution = "GPTM0"; |
| 66 | + | UART21.uart.$suggestSolution = "UART0"; |
| 67 | + | UART21.uart.txPin.$suggestSolution = "boosterpack.4"; |
| 68 | + | UART21.uart.rxPin.$suggestSolution = "boosterpack.3"; |
| 69 | + | |