/** * 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 "AWR294X" --package "ETS" --part "Default" --context "r5fss0-0" --product "MCU_PLUS_SDK_AWR2944@08.01.00" * @versions {"tool":"1.10.0+2163"} */ /** * Import the modules used in this configuration. */ const flash = scripting.addModule("/board/flash/flash", {}, false); const flash1 = flash.addInstance(); const adcbuf = scripting.addModule("/drivers/adcbuf/adcbuf", {}, false); const adcbuf1 = adcbuf.addInstance(); const cbuff = scripting.addModule("/drivers/cbuff/cbuff", {}, false); const cbuff1 = cbuff.addInstance(); const crc = scripting.addModule("/drivers/crc/crc", {}, false); const crc1 = crc.addInstance(); const edma = scripting.addModule("/drivers/edma/edma", {}, false); const edma1 = edma.addInstance(); const edma2 = edma.addInstance(); const ipc = scripting.addModule("/drivers/ipc/ipc"); const uart = scripting.addModule("/drivers/uart/uart", {}, false); const uart1 = uart.addInstance(); const uart2 = uart.addInstance(); const clock = scripting.addModule("/kernel/dpl/clock"); const debug_log = scripting.addModule("/kernel/dpl/debug_log"); const mpu_armv7 = scripting.addModule("/kernel/dpl/mpu_armv7", {}, false); const mpu_armv71 = mpu_armv7.addInstance(); const mpu_armv72 = mpu_armv7.addInstance(); const mpu_armv73 = mpu_armv7.addInstance(); const mpu_armv74 = mpu_armv7.addInstance(); const mpu_armv75 = mpu_armv7.addInstance(); const mpu_armv76 = mpu_armv7.addInstance(); const mpu_armv77 = mpu_armv7.addInstance(); const mpu_armv78 = mpu_armv7.addInstance(); const enet_cpsw = scripting.addModule("/networking/enet_cpsw/enet_cpsw", {}, false); const enet_cpsw1 = enet_cpsw.addInstance(); /** * Write custom configuration values to the imported modules. */ flash1.$name = "CONFIG_FLASH0"; flash1.peripheralDriver.$name = "CONFIG_QSPI0"; adcbuf1.$name = "CONFIG_ADCBUF0"; cbuff1.$name = "CONFIG_CBUFF0"; crc1.$name = "CONFIG_CRC0"; edma1.$name = "CONFIG_EDMA0"; edma1.instance = "EDMA_DSS_B"; edma1.regionId = 0; edma1.edmaRmDmaCh[0].resourceType = scripting.forceWrite("ownDmaCh"); edma1.edmaRmDmaCh[0].$name = "CONFIG_EDMA_RM0"; edma1.edmaRmDmaCh[0].startIndex = 0; edma1.edmaRmDmaCh[0].endIndex = 63; edma1.edmaRmQdmaCh[0].$name = "CONFIG_EDMA_RM1"; edma1.edmaRmTcc[0].$name = "CONFIG_EDMA_RM2"; edma1.edmaRmTcc[0].startIndex = 0; edma1.edmaRmTcc[0].endIndex = 63; edma1.edmaRmParam[0].$name = "CONFIG_EDMA_RM3"; edma1.edmaRmParam[0].startIndex = 0; edma1.edmaRmReservedDmaCh[0].$name = "CONFIG_EDMA_RM4"; edma1.edmaRmReservedDmaCh[0].startIndex = 0; edma1.edmaRmReservedDmaCh[0].endIndex = 0; ipc.r5fss0_1 = "NONE"; ipc.vringNumBuf = 1; ipc.vringMsgSize = 1152; uart1.$name = "CONFIG_UART1"; uart1.baudRate = 852272; uart1.intrEnable = "DISABLE"; uart1.UART.$assign = "UARTB"; uart1.UART.RX.$used = false; uart1.UART.TX.$assign = "ball.A14"; uart2.$name = "CONFIG_UART0"; uart2.UART.$assign = "UARTA"; uart2.UART.RX.$assign = "ball.B16"; uart2.UART.TX.$assign = "ball.C16"; edma2.$name = "CONFIG_EDMA1"; flash1.peripheralDriver.edmaConfig = edma2; edma2.edmaRmDmaCh[0].$name = "CONFIG_EDMA_RM5"; edma2.edmaRmQdmaCh[0].$name = "CONFIG_EDMA_RM6"; edma2.edmaRmTcc[0].$name = "CONFIG_EDMA_RM7"; edma2.edmaRmParam[0].$name = "CONFIG_EDMA_RM8"; edma2.edmaRmReservedDmaCh[0].$name = "CONFIG_EDMA_RM9"; debug_log.enableLogZoneError = false; debug_log.enableLogZoneWarning = false; mpu_armv71.$name = "CONFIG_MPU_REGION0"; mpu_armv71.attributes = "Device"; mpu_armv71.allowExecute = false; mpu_armv72.$name = "CONFIG_MPU_REGION1"; mpu_armv72.size = 14; mpu_armv73.$name = "CONFIG_MPU_REGION2"; mpu_armv73.baseAddr = 0x80000; mpu_armv73.size = 14; mpu_armv74.$name = "CONFIG_MPU_REGION3"; mpu_armv74.baseAddr = 0x10200000; mpu_armv74.size = 20; mpu_armv75.$name = "CONFIG_MPU_REGION4"; mpu_armv75.baseAddr = 0x102E0000; mpu_armv75.size = 16; mpu_armv75.attributes = "NonCached"; mpu_armv75.allowExecute = false; mpu_armv76.$name = "CONFIG_MPU_REGION5"; mpu_armv76.baseAddr = 0xC5000000; mpu_armv76.size = 13; mpu_armv76.attributes = "NonCached"; mpu_armv76.allowExecute = false; mpu_armv77.$name = "CONFIG_MPU_REGION6"; mpu_armv77.baseAddr = 0xA4030000; mpu_armv77.size = 12; mpu_armv77.attributes = "NonCached"; mpu_armv77.allowExecute = false; mpu_armv78.$name = "CONFIG_MPU_REGION7"; mpu_armv78.baseAddr = 0x88000000; mpu_armv78.size = 21; mpu_armv78.attributes = "Cached+Sharable"; enet_cpsw1.$name = "CONFIG_ENET_CPSW0"; enet_cpsw1.phyToMacInterfaceMode = "RGMII"; enet_cpsw1.phyAddr1 = 0; /** * 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. */ flash1.peripheralDriver.QSPI["0"].$suggestSolution = "ball.U11"; flash1.peripheralDriver.QSPI["1"].$suggestSolution = "ball.V11"; flash1.peripheralDriver.QSPI["2"].$suggestSolution = "ball.T11"; flash1.peripheralDriver.QSPI["3"].$suggestSolution = "ball.R12"; flash1.peripheralDriver.QSPI.$suggestSolution = "QSPI0"; flash1.peripheralDriver.QSPI.CLK.$suggestSolution = "ball.R10"; flash1.peripheralDriver.QSPI.CS.$suggestSolution = "ball.U12"; enet_cpsw1.MDIO.$suggestSolution = "MDIO0"; enet_cpsw1.MDIO.DATA.$suggestSolution = "ball.T5"; enet_cpsw1.MDIO.CLK.$suggestSolution = "ball.R4"; enet_cpsw1.RGMII.$suggestSolution = "RGMII0"; enet_cpsw1.RGMII.RD0.$suggestSolution = "ball.V6"; enet_cpsw1.RGMII.RD1.$suggestSolution = "ball.V4"; enet_cpsw1.RGMII.RD2.$suggestSolution = "ball.V5"; enet_cpsw1.RGMII.RD3.$suggestSolution = "ball.U10"; enet_cpsw1.RGMII.RCTL.$suggestSolution = "ball.T7"; enet_cpsw1.RGMII.RCLK.$suggestSolution = "ball.T9"; enet_cpsw1.RGMII.TD0.$suggestSolution = "ball.U7"; enet_cpsw1.RGMII.TD1.$suggestSolution = "ball.U5"; enet_cpsw1.RGMII.TD2.$suggestSolution = "ball.U6"; enet_cpsw1.RGMII.TD3.$suggestSolution = "ball.U4"; enet_cpsw1.RGMII.TCTL.$suggestSolution = "ball.R6"; enet_cpsw1.RGMII.TCLK.$suggestSolution = "ball.V3";