<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S32KのトピックRe: 2 Improvements for Running RTD on Linux</title>
    <link>https://community.nxp.com/t5/S32K/2-Improvements-for-Running-RTD-on-Linux/m-p/2333246#M57334</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have notified SW team to have a look at your comments.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
    <pubDate>Mon, 16 Mar 2026 05:59:23 GMT</pubDate>
    <dc:creator>petervlna</dc:creator>
    <dc:date>2026-03-16T05:59:23Z</dc:date>
    <item>
      <title>2 Improvements for Running RTD on Linux</title>
      <link>https://community.nxp.com/t5/S32K/2-Improvements-for-Running-RTD-on-Linux/m-p/2332907#M57320</link>
      <description>&lt;DIV class=""&gt;I use Linux to run S32DS + RTD, leveraging Linux's overlayfs mechanism to switch between different RTD versions seamlessly. With this setup, a single S32DS installation can work with distinct RTD overlays, enabling flexible RTD version management.&lt;/DIV&gt;&lt;DIV class=""&gt;However, the current RTD distribution has &lt;STRONG&gt;two critical compatibility issues on Linux&lt;/STRONG&gt; that I hope can be fixed before the official RTD release:&lt;/DIV&gt;&lt;H2&gt;Issue 1: Case Mismatch in Component File Directory Names&lt;/H2&gt;&lt;DIV class=""&gt;In the eclipse/mcu_data/components directory, the directory names defined in the codegen_file nodes of component files have &lt;STRONG&gt;case inconsistencies&lt;/STRONG&gt; with the actual physical directory names.&lt;/DIV&gt;&lt;DIV class=""&gt;This works fine on Windows (which is case-insensitive for file paths) but causes &lt;STRONG&gt;path resolution failures&lt;/STRONG&gt; on Linux (a case-sensitive OS), making the RTD components unusable.&lt;/DIV&gt;&lt;H2&gt;Issue 2: Incorrect Windows Path Separators in Generated Clock Files&lt;/H2&gt;&lt;DIV class=""&gt;The two key configuration files—ClockConfigurationMappings.txt and ClockYaml.txt—are generated using &lt;STRONG&gt;Windows backslash path separators (\)&lt;/STRONG&gt; in the file generation logic.&lt;/DIV&gt;&lt;DIV class=""&gt;On Linux, this misformatting causes the files to be incorrectly placed directly in the root workspace directory, with filenames formatted as:ProjectName\ClockConfigurationMappings.txt and ProjectName\ClockYaml.txtinstead of being stored in their correct project-specific subdirectories.&lt;/DIV&gt;&lt;H2&gt;Fix: Bash Script for Global Correction&lt;/H2&gt;&lt;DIV class=""&gt;I created a bash script to resolve the second issue automatically. Run this script &lt;STRONG&gt;in the mcu_data directory&lt;/STRONG&gt; to apply 3 global find-and-replace operations that fix the path logic for Linux compatibility:&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;P&gt;#!/bin/bash&lt;/P&gt;&lt;P&gt;find . -type f -name "*.js" | while read -r file; do&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sed -i 's/mexPath\.substring(0,[ ]\?mexPath\.lastIndexOf("\\\\"))/java.nio.file.Paths.get(mexPath).getParent().toString()/g' "$file"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sed -i 's/+[ ]\?"\\\\ClockConfigurationMappings\.txt"/, "ClockConfigurationMappings.txt"/g' "$file"&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sed -i 's/+[ ]\?"\\\\ClockYaml\.txt"/, "ClockYaml.txt"/g' "$file"&lt;BR /&gt;done&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 14 Mar 2026 02:49:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/2-Improvements-for-Running-RTD-on-Linux/m-p/2332907#M57320</guid>
      <dc:creator>chenwilsoft</dc:creator>
      <dc:date>2026-03-14T02:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: 2 Improvements for Running RTD on Linux</title>
      <link>https://community.nxp.com/t5/S32K/2-Improvements-for-Running-RTD-on-Linux/m-p/2333246#M57334</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I have notified SW team to have a look at your comments.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Peter&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2026 05:59:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/2-Improvements-for-Running-RTD-on-Linux/m-p/2333246#M57334</guid>
      <dc:creator>petervlna</dc:creator>
      <dc:date>2026-03-16T05:59:23Z</dc:date>
    </item>
  </channel>
</rss>

