I had to change a few lines in some JS/XML to run* codegen on Ubuntu:
dustin@dustin-Standard-PC-Q35-ICH9-2009:/usr/local/NXP/S32DS.3.6.0/eclipse/mcu_data/components/PlatformSDK_S32XX_4_0_0$ grep -A 1 -rn "original line"
Mcu/mcu_utils.js:24: // original line myfile = java.nio.file.Paths.get(scriptApi.getUtils().getEnv("ProjDirPath")+"\\ClockConfigurationMappings.txt").toFile();
Mcu/mcu_utils.js-25- myfile = java.nio.file.Paths.get(scriptApi.getUtils().getEnv("ProjDirPath")+"/ClockConfigurationMappings.txt").toFile();
--
Mcu/Mcu.component:3140: <!-- original line <variable value="`../mcu/mcu_codegen.js`" id="codegen_file"/> -->
Mcu/Mcu.component-3141- <variable value="`../Mcu/mcu_codegen.js`" id="codegen_file"/>
--
Spi_Ip/Spi_Ip.component:301: <!-- original line <variable value="`../spi_ip/spi_ip_codegen.js`" id="codegen_file"></variable> -->
Spi_Ip/Spi_Ip.component-302- <variable value="`../Spi_Ip/spi_ip_codegen.js`" id="codegen_file"></variable>
* can't actually run yet due to another JS error, but I'm making a different post for that
Hi Dustin,
unfortunately RTD is not supported on Linux host. The main reason is that Linux is case sensitive OS and some filenames contains lover case characters instead of uppercase ones.
It can by fixed in couple internal .xml files, but it is not tested and the question is, if it will be working correctly.