/** * 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 "AM64x" --part "Default" --package "ALV" --context "m4fss0-0" --product "MCU_PLUS_SDK_AM64x@11.00.00" * @v2CliArgs --device "AM6442" --package "FCBGA (ALV)" --variant "AM6442-D" --context "m4fss0-0" --product "MCU_PLUS_SDK_AM64x@11.00.00" * @versions {"tool":"1.22.0+3893"} */ /** * Import the modules used in this configuration. */ const addr_translate = scripting.addModule("/kernel/dpl/addr_translate", {}, false); const addr_translate1 = addr_translate.addInstance(); const addr_translate2 = addr_translate.addInstance(); const addr_translate3 = addr_translate.addInstance(); const addr_translate4 = addr_translate.addInstance(); const clock = scripting.addModule("/kernel/dpl/clock"); const debug_log = scripting.addModule("/kernel/dpl/debug_log"); const dpl_cfg = scripting.addModule("/kernel/dpl/dpl_cfg"); const mpu_armv7 = scripting.addModule("/kernel/dpl/mpu_armv7", {}, false); const mpu_armv71 = mpu_armv7.addInstance(); const mpu_armv72 = mpu_armv7.addInstance(); const default_linker = scripting.addModule("/memory_configurator/default_linker", {}, false); const default_linker1 = default_linker.addInstance(); const general = scripting.addModule("/memory_configurator/general", {}, false); const general1 = general.addInstance(); const region = scripting.addModule("/memory_configurator/region", {}, false); const region1 = region.addInstance(); const section = scripting.addModule("/memory_configurator/section", {}, false); const section1 = section.addInstance(); const section2 = section.addInstance(); const section3 = section.addInstance(); const section4 = section.addInstance(); const section5 = section.addInstance(); const section6 = section.addInstance(); const section7 = section.addInstance(); const section8 = section.addInstance(); const shared_region_references = scripting.addModule("/memory_configurator/shared_region_references", {}, false); const shared_region_references1 = shared_region_references.addInstance(); /** * Write custom configuration values to the imported modules. */ addr_translate1.$name = "CONFIG_ADDR_TRANSLATE_REGION0"; addr_translate1.localAddr = 0x80000000; addr_translate2.$name = "CONFIG_ADDR_TRANSLATE_REGION1"; addr_translate2.systemAddr = 0x20000000; addr_translate2.localAddr = 0xA0000000; addr_translate3.$name = "CONFIG_ADDR_TRANSLATE_REGION2"; addr_translate3.systemAddr = 0x40000000; addr_translate3.localAddr = 0xC0000000; addr_translate4.$name = "CONFIG_ADDR_TRANSLATE_REGION3"; addr_translate4.systemAddr = 0x60000000; addr_translate4.localAddr = 0x60000000; debug_log.enableUartLog = true; debug_log.uartLog.$name = "CONFIG_UART_CONSOLE"; debug_log.uartLog.MCU_UART.$assign = "MCU_USART0"; const uart_v0_template = scripting.addModule("/drivers/uart/v0/uart_v0_template", {}, false); const uart_v0_template1 = uart_v0_template.addInstance({}, false); uart_v0_template1.$name = "drivers_uart_v0_uart_v0_template0"; debug_log.uartLog.child = uart_v0_template1; mpu_armv71.$name = "CONFIG_MPU_REGION0"; mpu_armv71.attributes = "Device"; mpu_armv71.allowExecute = false; mpu_armv72.$name = "CONFIG_MPU_REGION1"; mpu_armv72.size = 18; default_linker1.$name = "memory_configurator_default_linker0"; general1.$name = "CONFIG_GENERAL0"; general1.linker.$name = "TIARMCLANG0"; region1.$name = "MEMORY_REGION_CONFIGURATION0"; region1.memory_region.create(5); region1.memory_region[0].type = "RAM0_M4F"; region1.memory_region[0].$name = "M4F_VECS"; region1.memory_region[0].size = 0x1E848; region1.memory_region[1].type = "RAM0_M4F"; region1.memory_region[1].$name = "M4F_IRAM"; region1.memory_region[1].auto = false; region1.memory_region[1].manualStartAddress = 0x200; region1.memory_region[1].size = 0xFE00; region1.memory_region[2].type = "DRAM_M4F"; region1.memory_region[2].$name = "M4F_DRAM"; region1.memory_region[2].auto = false; region1.memory_region[2].size = 0x10000; region1.memory_region[3].type = "DDR_ALL"; region1.memory_region[3].isShared = true; region1.memory_region[3].shared_cores = ["a53ss0-0"]; region1.memory_region[3].size = 0x30000; region1.memory_region[4].$name = "MEMORY_REGION0"; region1.memory_region[4].isShared = true; region1.memory_region[4].shared_cores = ["a53ss0-0"]; region1.memory_region[4].size = 0x30D40; section1.load_memory = "M4F_VECS"; section1.group = false; section1.$name = "Vector Table"; section1.output_section.create(1); section1.output_section[0].$name = ".vectors"; section1.output_section[0].palignment = true; section2.group = false; section2.$name = "Text Segments"; section2.load_memory = "DDR_ALL_X"; section2.output_section.create(1); section2.output_section[0].$name = ".text"; section2.output_section[0].palignment = true; section3.group = false; section3.$name = "Bss Segment"; section3.load_memory = "M4F_DRAM"; section3.output_section.create(1); section3.output_section[0].$name = ".bss"; section3.output_section[0].output_sections_start = "__BSS_START"; section3.output_section[0].output_sections_end = "__BSS_END"; section4.group = false; section4.$name = "Code and Read-Only Data"; section4.load_memory = "MEMORY_REGION0"; section4.output_section.create(2); section4.output_section[0].$name = ".data"; section4.output_section[0].palignment = true; section4.output_section[1].$name = ".rodata"; section4.output_section[1].palignment = true; section5.group = false; section5.$name = "Memory and Stack Segments"; section5.load_memory = "MEMORY_REGION0"; section5.output_section.create(5); section5.output_section[0].$name = ".sysmem"; section5.output_section[0].palignment = true; section5.output_section[1].$name = ".stack"; section5.output_section[1].palignment = true; section5.output_section[2].$name = ".ARM.exidx"; section5.output_section[2].palignment = true; section5.output_section[3].$name = ".init_array"; section5.output_section[3].palignment = true; section5.output_section[4].$name = ".fini_array"; section5.output_section[4].palignment = true; section6.type = "NOLOAD"; section6.group = false; section6.$name = "User Shared Memory"; section6.load_memory = "DDR_ALL_X"; section6.output_section.create(1); section6.output_section[0].$name = ".bss.user_shared_mem"; section6.output_section[0].alignment = 0; section7.group = false; section7.type = "NOLOAD"; section7.$name = "Log Shared Memory"; section7.load_memory = "DDR_ALL_X"; section7.output_section.create(1); section7.output_section[0].$name = ".bss.log_shared_mem"; section7.output_section[0].alignment = 0; section8.type = "NOLOAD"; section8.group = false; section8.$name = "IPC Shared Memory"; section8.load_memory = "DDR_ALL_X"; section8.output_section.create(1); section8.output_section[0].$name = ".bss.ipc_vring_mem"; section8.output_section[0].alignment = 0; shared_region_references1.$name = "CONFIG_SHARED0"; shared_region_references1.shared_region = "RTOS_NORTOS_IPC_SHM_MEM"; shared_region_references1.shared_region_name_change = "IPC_VRING_MEM"; /** * 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. */ debug_log.uartLog.MCU_UART.RXD.$suggestSolution = "MCU_UART0_RXD"; debug_log.uartLog.MCU_UART.TXD.$suggestSolution = "MCU_UART0_TXD";