/** * 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" --package "ALV" --part "Default" --context "r5fss0-0" --product "INDUSTRIAL_COMMUNICATIONS_SDK_AM64x@09.00.00" * @versions {"tool":"1.18.0+3266"} */ /** * Import the modules used in this configuration. */ const ipc = scripting.addModule("/drivers/ipc/ipc"); const pruicss = scripting.addModule("/drivers/pruicss/pruicss", {}, false); const pruicss1 = pruicss.addInstance(); const ethernetip = scripting.addModule("/industrial_comms/ethernetip/ethernetip", {}, false); const ethernetip1 = ethernetip.addInstance(); 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 timer = scripting.addModule("/kernel/dpl/timer", {}, false); const timer1 = timer.addInstance(); /** * Write custom configuration values to the imported modules. */ ipc.r5fss1_1 = "NONE"; ipc.r5fss0_1 = "NONE"; ipc.m4fss0_0 = "NONE"; ipc.enableLinuxIpc = true; ethernetip1.$name = "CONFIG_ETHERNETIP0"; ethernetip1.phyToMacInterfaceMode = "RGMII"; ethernetip1.mdioManualModeLinkPolling = "MLINK"; ethernetip1.phyAddr0 = 2; ethernetip1.phyAddr1 = 1; ethernetip1.icss_emac[0].$name = "CONFIG_ICSS_EMAC0"; ethernetip1.icss_emac[0].mode = scripting.forceWrite("SWITCH"); ethernetip1.icss_emac[0].learningEnable = true; ethernetip1.icss_emac[0].linkTaskPriority = 24; ethernetip1.icss_emac[0].rxTaskPriority = 20; ethernetip1.icss_emac[0].txTaskPriority = 20; ethernetip1.ethphy1[0].$name = "CONFIG_ETHPHY0"; ethernetip1.ethphy1[0].customDeviceName = "DP83822_0"; ethernetip1.ethphy1[0].name = "CUSTOM"; ethernetip1.ethphy2[0].$name = "CONFIG_ETHPHY1"; ethernetip1.ethphy2[0].customDeviceName = "DP83822_1"; ethernetip1.ethphy2[0].name = "CUSTOM"; ethernetip1.PRU_ICSSG1_RGMII1.$assign = "PRU_ICSSG1_RGMII2"; ethernetip1.icss = pruicss1; pruicss1.$name = "CONFIG_PRU_ICSS1"; pruicss1.AdditionalICSSSettings[0].$name = "CONFIG_PRU_ICSS_IO0"; debug_log.enableLogZoneInfo = true; debug_log.enableSharedMemLog = true; debug_log.enableSharedMemLogReader = true; mpu_armv71.$name = "CONFIG_MPU_REGION0"; mpu_armv71.size = 31; mpu_armv71.attributes = "Device"; mpu_armv71.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv71.allowExecute = false; mpu_armv72.$name = "CONFIG_MPU_REGION1"; mpu_armv72.size = 15; mpu_armv72.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv73.$name = "CONFIG_MPU_REGION2"; mpu_armv73.baseAddr = 0x41010000; mpu_armv73.size = 15; mpu_armv73.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv74.$name = "CONFIG_MPU_REGION3"; mpu_armv74.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv74.baseAddr = 0x70000000; mpu_armv74.size = 21; mpu_armv75.$name = "CONFIG_MPU_REGION4"; mpu_armv75.size = 16; mpu_armv75.attributes = "Cached+Sharable"; mpu_armv75.baseAddr = 0xA3100000; mpu_armv76.$name = "CONFIG_MPU_REGION5"; mpu_armv76.baseAddr = 0x80000000; mpu_armv76.size = 31; mpu_armv77.$name = "CONFIG_MPU_REGION6"; mpu_armv77.baseAddr = 0xA0000000; mpu_armv77.size = 20; mpu_armv77.attributes = "NonCached"; mpu_armv77.allowExecute = false; mpu_armv78.$name = "CONFIG_MPU_REGION7"; mpu_armv78.baseAddr = 0xA5000000; mpu_armv78.size = 23; mpu_armv78.attributes = "NonCached"; mpu_armv78.allowExecute = false; mpu_armv79.$name = "CONFIG_MPU_REGION8"; mpu_armv79.baseAddr = 0xA5800000; mpu_armv79.size = 14; mpu_armv79.accessPermissions = "Supervisor RD+WR, User RD"; mpu_armv79.attributes = "NonCached"; mpu_armv79.allowExecute = false; timer1.$name = "CONFIG_TIMER0"; timer1.startTimer = true; timer1.timerCallback = "OSAL_FREERTOS_callbackTimer"; timer1.TIMER.$assign = "DMTIMER4"; /** * 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. */ ethernetip1.PRU_ICSSG1_MDIO.$suggestSolution = "PRU_ICSSG1_MDIO0"; ethernetip1.PRU_ICSSG1_MDIO.MDC.$suggestSolution = "PRG1_MDIO0_MDC"; ethernetip1.PRU_ICSSG1_MDIO.MDIO.$suggestSolution = "PRG1_MDIO0_MDIO"; ethernetip1.PRU_ICSSG1_IEP.$suggestSolution = "PRU_ICSSG1_IEP0"; ethernetip1.PRU_ICSSG1_IEP.EDC_LATCH_IN0.$suggestSolution = "PRG1_PRU0_GPO18"; ethernetip1.PRU_ICSSG1_IEP.EDC_SYNC_OUT0.$suggestSolution = "PRG1_PRU0_GPO19"; ethernetip1.PRU_ICSSG1_RGMII1.RD0.$suggestSolution = "PRG1_PRU1_GPO0"; ethernetip1.PRU_ICSSG1_RGMII1.RD1.$suggestSolution = "PRG1_PRU1_GPO1"; ethernetip1.PRU_ICSSG1_RGMII1.RD2.$suggestSolution = "PRG1_PRU1_GPO2"; ethernetip1.PRU_ICSSG1_RGMII1.RD3.$suggestSolution = "PRG1_PRU1_GPO3"; ethernetip1.PRU_ICSSG1_RGMII1.RXC.$suggestSolution = "PRG1_PRU1_GPO6"; ethernetip1.PRU_ICSSG1_RGMII1.RX_CTL.$suggestSolution = "PRG1_PRU1_GPO4"; ethernetip1.PRU_ICSSG1_RGMII1.TD0.$suggestSolution = "PRG1_PRU1_GPO11"; ethernetip1.PRU_ICSSG1_RGMII1.TD1.$suggestSolution = "PRG1_PRU1_GPO12"; ethernetip1.PRU_ICSSG1_RGMII1.TD2.$suggestSolution = "PRG1_PRU1_GPO13"; ethernetip1.PRU_ICSSG1_RGMII1.TD3.$suggestSolution = "PRG1_PRU1_GPO14"; ethernetip1.PRU_ICSSG1_RGMII1.TXC.$suggestSolution = "PRG1_PRU1_GPO16"; ethernetip1.PRU_ICSSG1_RGMII1.TX_CTL.$suggestSolution = "PRG1_PRU1_GPO15"; ethernetip1.PRU_ICSSG1_RGMII2.$suggestSolution = "PRU_ICSSG1_RGMII1"; ethernetip1.PRU_ICSSG1_RGMII2.RD0.$suggestSolution = "PRG1_PRU0_GPO0"; ethernetip1.PRU_ICSSG1_RGMII2.RD1.$suggestSolution = "PRG1_PRU0_GPO1"; ethernetip1.PRU_ICSSG1_RGMII2.RD2.$suggestSolution = "PRG1_PRU0_GPO2"; ethernetip1.PRU_ICSSG1_RGMII2.RD3.$suggestSolution = "PRG1_PRU0_GPO3"; ethernetip1.PRU_ICSSG1_RGMII2.RXC.$suggestSolution = "PRG1_PRU0_GPO6"; ethernetip1.PRU_ICSSG1_RGMII2.RX_CTL.$suggestSolution = "PRG1_PRU0_GPO4"; ethernetip1.PRU_ICSSG1_RGMII2.TD0.$suggestSolution = "PRG1_PRU0_GPO11"; ethernetip1.PRU_ICSSG1_RGMII2.TD1.$suggestSolution = "PRG1_PRU0_GPO12"; ethernetip1.PRU_ICSSG1_RGMII2.TD2.$suggestSolution = "PRG1_PRU0_GPO13"; ethernetip1.PRU_ICSSG1_RGMII2.TD3.$suggestSolution = "PRG1_PRU0_GPO14"; ethernetip1.PRU_ICSSG1_RGMII2.TXC.$suggestSolution = "PRG1_PRU0_GPO16"; ethernetip1.PRU_ICSSG1_RGMII2.TX_CTL.$suggestSolution = "PRG1_PRU0_GPO15"; ethernetip1.PRU_ICSSG1_MII_G_RT.$suggestSolution = "PRU_ICSSG1_MII_G_RT"; ethernetip1.PRU_ICSSG1_MII_G_RT.MII0_RXLINK.$suggestSolution = "PRG1_PRU0_GPO8"; ethernetip1.PRU_ICSSG1_MII_G_RT.MII1_RXLINK.$suggestSolution = "PRG1_PRU1_GPO8";