/** * 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 "AM62x" --package "AMC" --part "Default" --context "r5fss0-0" --product "MCU_PLUS_SDK_AM62x@09.02.01" * @versions {"tool":"1.20.0+3587"} */ /** * Import the modules used in this configuration. */ const flash = scripting.addModule("/board/flash/flash", {}, false); const flash1 = flash.addInstance(); const bootloader = scripting.addModule("/drivers/bootloader/bootloader", {}, false); const bootloader1 = bootloader.addInstance(); const bootloader2 = bootloader.addInstance(); const ddr = scripting.addModule("/drivers/ddr/ddr", {}, false); const ddr1 = ddr.addInstance(); const gtc = scripting.addModule("/drivers/gtc/gtc"); 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 mpu_armv79 = mpu_armv7.addInstance(); const mpu_armv710 = mpu_armv7.addInstance(); /** * Write custom configuration values to the imported modules. */ bootloader1.$name = "CONFIG_BOOTLOADER_FLASH_DM"; bootloader1.appImageOffset = "0xA00000"; flash1.$name = "CONFIG_FLASH0"; bootloader1.flashDriver = flash1; flash1.flashTopology = "parallelFlash"; flash1.parallelFlashDriver.$name = "board_flash_parallelFlash_parallelflash0"; flash1.parallelFlashDriver.device = "CUSTOM_FLASH"; flash1.parallelFlashDriver.flashSize = 31268536320; flash1.parallelFlashDriver.fname = "IS22TF32G_JCLA2"; flash1.parallelFlashDriver.flashPageSize = 16384; flash1.parallelFlashDriver.flashSpareAreaSize = 1280; flash1.parallelFlashDriver.flashManfId = "0x9D"; flash1.parallelFlashDriver.flashDeviceId = "0x00D7"; flash1.parallelFlashDriver.flashBlockSize = 4194304; flash1.parallelFlashDriver.peripheralDriver.$name = "CONFIG_GPMC0"; flash1.parallelFlashDriver.peripheralDriver.GPMC.OEn_REn.$used = false; flash1.parallelFlashDriver.peripheralDriver.GPMC.ADVn_ALE.$used = false; flash1.parallelFlashDriver.peripheralDriver.GPMC.WEn.$used = false; flash1.parallelFlashDriver.peripheralDriver.GPMC.BE0n_CLE.$used = false; flash1.parallelFlashDriver.peripheralDriver.GPMC.CSn0.$used = false; flash1.parallelFlashDriver.peripheralDriver.GPMC.WAIT0.$used = false; bootloader2.$name = "CONFIG_BOOTLOADER0"; bootloader2.bootMedia = "MEM"; ddr1.$name = "CONFIG_DDR0"; const udma = scripting.addModule("/drivers/udma/udma", {}, false); const udma1 = udma.addInstance({}, false); udma1.$name = "CONFIG_UDMA0"; flash1.parallelFlashDriver.peripheralDriver.udmaDriver = udma1; const udma_blkcopy_channel = scripting.addModule("/drivers/udma/udma_blkcopy_channel", {}, false); const udma_blkcopy_channel1 = udma_blkcopy_channel.addInstance({}, false); udma_blkcopy_channel1.$name = "CONFIG_UDMA_BLKCOPY_CH0"; flash1.parallelFlashDriver.peripheralDriver.udmaBlkCopyChannel = udma_blkcopy_channel1; debug_log.enableLogZoneInfo = true; debug_log.enableCssLog = false; debug_log.enableUartLog = true; debug_log.uartLog.$name = "CONFIG_UART0"; debug_log.uartLog.useWakeupDomainPeripherals = false; debug_log.uartLog.intrEnable = "DISABLE"; mpu_armv71.$name = "CONFIG_MPU_REGION0"; mpu_armv71.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv71.attributes = "NonCached"; mpu_armv71.allowExecute = false; mpu_armv72.$name = "CONFIG_MPU_REGION1"; mpu_armv72.size = 7; mpu_armv72.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv73.$name = "CONFIG_MPU_REGION2"; mpu_armv73.baseAddr = 0x41C00000; mpu_armv73.size = 19; mpu_armv73.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv74.$name = "CONFIG_MPU_REGION3"; mpu_armv74.size = 16; mpu_armv74.baseAddr = 0x70000000; mpu_armv74.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv75.$name = "CONFIG_MPU_REGION4"; mpu_armv75.size = 31; mpu_armv75.baseAddr = 0x80000000; mpu_armv76.$name = "CONFIG_MPU_REGION5"; mpu_armv76.size = 15; mpu_armv76.baseAddr = 0x41010000; mpu_armv76.attributes = "NonCached"; mpu_armv77.$name = "CONFIG_MPU_REGION6"; mpu_armv77.size = 15; mpu_armv77.attributes = "NonCached"; mpu_armv78.$name = "CONFIG_MPU_REGION7"; mpu_armv78.baseAddr = 0xFC40000; mpu_armv78.size = 8; mpu_armv78.attributes = "Device"; mpu_armv78.allowExecute = false; mpu_armv79.$name = "CONFIG_MPU_REGION8"; mpu_armv79.size = 18; mpu_armv79.baseAddr = 0x43C00000; mpu_armv710.$name = "CONFIG_MPU_REGION9"; mpu_armv710.baseAddr = 0x60000000; mpu_armv710.size = 7; mpu_armv710.attributes = "Device"; mpu_armv710.allowExecute = false; /** * 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.parallelFlashDriver.peripheralDriver.GPMC.$suggestSolution = "GPMC0"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD0.$suggestSolution = "GPMC0_AD0"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD1.$suggestSolution = "GPMC0_AD1"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD2.$suggestSolution = "GPMC0_AD2"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD3.$suggestSolution = "GPMC0_AD3"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD4.$suggestSolution = "GPMC0_AD4"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD5.$suggestSolution = "GPMC0_AD5"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD6.$suggestSolution = "GPMC0_AD6"; flash1.parallelFlashDriver.peripheralDriver.GPMC.AD7.$suggestSolution = "GPMC0_AD7"; debug_log.uartLog.UART.$suggestSolution = "USART0"; debug_log.uartLog.UART.RXD.$suggestSolution = "UART0_RXD"; debug_log.uartLog.UART.TXD.$suggestSolution = "UART0_TXD";