S32DS 3.6 on Ubuntu codegen doesn't work due to upper/lowercase in paths and backslashes

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

S32DS 3.6 on Ubuntu codegen doesn't work due to upper/lowercase in paths and backslashes

857 次查看
dustinr
Contributor I

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

0 项奖励
回复
1 回复

836 次查看
jiri_kral
NXP Employee
NXP Employee

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.

 

0 项奖励
回复