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

492件の閲覧回数
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 返信

471件の閲覧回数
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 件の賞賛
返信