<?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>Model-Based Design Toolbox (MBDT)のトピックRe: fatal error: Adc.h: No such file or directory</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2086692#M10232</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054"&gt;@Irina_Costachescu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the&amp;nbsp;&lt;SPAN&gt;the default configuration of my project and worked fine until i've put inside the CAN_DBG subsystem the&amp;nbsp;DGT_DIAG subsystem...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If i commet it the error chage like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;### Invoking Target Language Compiler on CED1200S_can_uart_adc_pwm_gpio_spi_i2c.rtw&lt;BR /&gt;### Using System Target File: C:\Program Files\MATLAB\R2022b\rtw\c\ert\ert.tlc&lt;BR /&gt;### Loading TLC function libraries&lt;BR /&gt;### Generating TLC interface API for custom data&lt;BR /&gt;### Initial pass through model to cache user defined code&lt;BR /&gt;Error: File: C:\walvoil\CED1200S_Project\prove_hw\local copy\05_can_uart_adc_pwm_gpio_spi_i2c_currupted\slprj\_sfprj\CED1200S_can_uart_adc_pwm_gpio_spi_i2c\_self\rtw\ert\src\CED1200S_can_uart_adc_pwm_gpio_spi_i2c_rtw.tlc Line: 44 Column: 49&lt;BR /&gt;&lt;STRONG&gt;Unable to open block template file hdlsllib_rtw.tlc from GENERATE or GENERATE_TYPE&lt;/STRONG&gt;&lt;BR /&gt;Main program:&lt;BR /&gt;==&amp;gt; [00] C:\walvoil\CED1200S_Project\prove_hw\local copy\05_can_uart_adc_pwm_gpio_spi_i2c_currupted\slprj\_sfprj\CED1200S_can_uart_adc_pwm_gpio_spi_i2c\_self\rtw\ert\src\CED1200S_can_uart_adc_pwm_gpio_spi_i2c_rtw.tlc:GlobalMachineTerminator(44)&lt;BR /&gt;[01] C:\Program Files\MATLAB\R2022b\toolbox\stateflow\src\tlc\stateflow.tlc:BlockTypeSetup(90)&lt;BR /&gt;[02] C:\Program Files\MATLAB\R2022b\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(590)&lt;BR /&gt;[03] C:\Program Files\MATLAB\R2022b\rtw\c\tlc\private_api\blocksetuplib.tlc:BlockSetupAndCompatibilityCheck(113)&lt;BR /&gt;[04] C:\Program Files\MATLAB\R2022b\rtw\c\tlc\mw\commonpass.tlc:&amp;lt;NONE&amp;gt;(53)&lt;BR /&gt;### Caching model source code&lt;BR /&gt;### Writing header file CED1200S_can_uart_adc_pwm_gpio_spi_i2c_types.h&lt;BR /&gt;### Writing source file Adc_Params.c&lt;BR /&gt;### Writing header file CED1200S_can_uart_adc_pwm_gpio_spi_i2c.h&lt;BR /&gt;### Writing source file CED1200S_can_uart_adc_pwm_gpio_spi_i2c.c&lt;BR /&gt;### Writing header file CED1200S_can_uart_adc_pwm_gpio_spi_i2c_private.h&lt;BR /&gt;### Writing header file rtwtypes.h&lt;BR /&gt;### Writing source file CED1200S_can_uart_adc_pwm_gpio_spi_i2c_data.c&lt;BR /&gt;### Writing header file rtmodel.h&lt;BR /&gt;### TLC code generation complete (took 5.328s).&lt;BR /&gt;### Build procedure for CED1200S_can_uart_adc_pwm_gpio_spi_i2c aborted due to an error.&lt;BR /&gt;Warning:Converting 'Reusable function' setting of subsystem 'CED1200S_can_uart_adc_pwm_gpio_spi_i2c/CAN_10ms' to 'Nonreused function' because a child system has either been explicitly marked as nonreused, or is used in a configuration that must be nonreused. Please generate the HTML report during code generation and see the "Subsystems" section for more information&lt;BR /&gt;Warning:Converting 'Reusable function' setting of subsystem 'CED1200S_can_uart_adc_pwm_gpio_spi_i2c/PWM_1000ms' to 'Nonreused function' because a child system has either been explicitly marked as nonreused, or is used in a configuration that must be nonreused. Please generate the HTML report during code generation and see the "Subsystems" section for more information&lt;BR /&gt;Warning:Converting 'Reusable function' setting of subsystem 'CED1200S_can_uart_adc_pwm_gpio_spi_i2c/UART_100ms' to 'Nonreused function' because a child system has either been explicitly marked as nonreused, or is used in a configuration that must be nonreused. Please generate the HTML report during code generation and see the "Subsystems" section for more information&lt;BR /&gt;Top model targets built:&lt;BR /&gt;&lt;BR /&gt;Model Action Rebuild Reason&lt;BR /&gt;==================================================================================================&lt;BR /&gt;CED1200S_can_uart_adc_pwm_gpio_spi_i2c Failed Code generation information file does not exist.&lt;BR /&gt;&lt;BR /&gt;0 of 1 models built (0 models already up to date)&lt;BR /&gt;Build duration: 0h 1m 35.437s&lt;BR /&gt;Error:Error: Errors occurred - aborting&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the model and mex file, hoping could be useful to understand my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tell me if you need somthing else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
    <pubDate>Thu, 24 Apr 2025 14:53:12 GMT</pubDate>
    <dc:creator>simon98</dc:creator>
    <dc:date>2025-04-24T14:53:12Z</dc:date>
    <item>
      <title>fatal error: Adc.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2083246#M10222</link>
      <description>&lt;P&gt;Hi NXP Team,&lt;/P&gt;&lt;P&gt;I've encoutered this error while compiling the model iand i don't know how to solve it.&lt;/P&gt;&lt;P&gt;I've only modified a block in the can transmission and it seems it doesn't find the "Adc.h" file... But it is in the correct folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How could i solve this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I Attach the Log&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 18 Apr 2025 09:59:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2083246#M10222</guid>
      <dc:creator>simon98</dc:creator>
      <dc:date>2025-04-18T09:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: fatal error: Adc.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2086670#M10230</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/240160"&gt;@simon98&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If your application is targeting S32K358, please note that the default configuration project that our toolboxes delivers for this MCU does not contain an enabled ADC configuration. However, you could edit that configuration in an unlimited mode - modify/add/remove all of the parameters necessary for your application. A short guide on ADC configuration can be found here. Please let us know if this helps.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898" target="_self"&gt;https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM/ta-p/1747898&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Irina&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 14:15:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2086670#M10230</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2025-04-24T14:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: fatal error: Adc.h: No such file or directory</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2086692#M10232</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/100054"&gt;@Irina_Costachescu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've modified the&amp;nbsp;&lt;SPAN&gt;the default configuration of my project and worked fine until i've put inside the CAN_DBG subsystem the&amp;nbsp;DGT_DIAG subsystem...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If i commet it the error chage like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;### Invoking Target Language Compiler on CED1200S_can_uart_adc_pwm_gpio_spi_i2c.rtw&lt;BR /&gt;### Using System Target File: C:\Program Files\MATLAB\R2022b\rtw\c\ert\ert.tlc&lt;BR /&gt;### Loading TLC function libraries&lt;BR /&gt;### Generating TLC interface API for custom data&lt;BR /&gt;### Initial pass through model to cache user defined code&lt;BR /&gt;Error: File: C:\walvoil\CED1200S_Project\prove_hw\local copy\05_can_uart_adc_pwm_gpio_spi_i2c_currupted\slprj\_sfprj\CED1200S_can_uart_adc_pwm_gpio_spi_i2c\_self\rtw\ert\src\CED1200S_can_uart_adc_pwm_gpio_spi_i2c_rtw.tlc Line: 44 Column: 49&lt;BR /&gt;&lt;STRONG&gt;Unable to open block template file hdlsllib_rtw.tlc from GENERATE or GENERATE_TYPE&lt;/STRONG&gt;&lt;BR /&gt;Main program:&lt;BR /&gt;==&amp;gt; [00] C:\walvoil\CED1200S_Project\prove_hw\local copy\05_can_uart_adc_pwm_gpio_spi_i2c_currupted\slprj\_sfprj\CED1200S_can_uart_adc_pwm_gpio_spi_i2c\_self\rtw\ert\src\CED1200S_can_uart_adc_pwm_gpio_spi_i2c_rtw.tlc:GlobalMachineTerminator(44)&lt;BR /&gt;[01] C:\Program Files\MATLAB\R2022b\toolbox\stateflow\src\tlc\stateflow.tlc:BlockTypeSetup(90)&lt;BR /&gt;[02] C:\Program Files\MATLAB\R2022b\rtw\c\tlc\blocks\gensfun.tlc:BlockTypeSetup(590)&lt;BR /&gt;[03] C:\Program Files\MATLAB\R2022b\rtw\c\tlc\private_api\blocksetuplib.tlc:BlockSetupAndCompatibilityCheck(113)&lt;BR /&gt;[04] C:\Program Files\MATLAB\R2022b\rtw\c\tlc\mw\commonpass.tlc:&amp;lt;NONE&amp;gt;(53)&lt;BR /&gt;### Caching model source code&lt;BR /&gt;### Writing header file CED1200S_can_uart_adc_pwm_gpio_spi_i2c_types.h&lt;BR /&gt;### Writing source file Adc_Params.c&lt;BR /&gt;### Writing header file CED1200S_can_uart_adc_pwm_gpio_spi_i2c.h&lt;BR /&gt;### Writing source file CED1200S_can_uart_adc_pwm_gpio_spi_i2c.c&lt;BR /&gt;### Writing header file CED1200S_can_uart_adc_pwm_gpio_spi_i2c_private.h&lt;BR /&gt;### Writing header file rtwtypes.h&lt;BR /&gt;### Writing source file CED1200S_can_uart_adc_pwm_gpio_spi_i2c_data.c&lt;BR /&gt;### Writing header file rtmodel.h&lt;BR /&gt;### TLC code generation complete (took 5.328s).&lt;BR /&gt;### Build procedure for CED1200S_can_uart_adc_pwm_gpio_spi_i2c aborted due to an error.&lt;BR /&gt;Warning:Converting 'Reusable function' setting of subsystem 'CED1200S_can_uart_adc_pwm_gpio_spi_i2c/CAN_10ms' to 'Nonreused function' because a child system has either been explicitly marked as nonreused, or is used in a configuration that must be nonreused. Please generate the HTML report during code generation and see the "Subsystems" section for more information&lt;BR /&gt;Warning:Converting 'Reusable function' setting of subsystem 'CED1200S_can_uart_adc_pwm_gpio_spi_i2c/PWM_1000ms' to 'Nonreused function' because a child system has either been explicitly marked as nonreused, or is used in a configuration that must be nonreused. Please generate the HTML report during code generation and see the "Subsystems" section for more information&lt;BR /&gt;Warning:Converting 'Reusable function' setting of subsystem 'CED1200S_can_uart_adc_pwm_gpio_spi_i2c/UART_100ms' to 'Nonreused function' because a child system has either been explicitly marked as nonreused, or is used in a configuration that must be nonreused. Please generate the HTML report during code generation and see the "Subsystems" section for more information&lt;BR /&gt;Top model targets built:&lt;BR /&gt;&lt;BR /&gt;Model Action Rebuild Reason&lt;BR /&gt;==================================================================================================&lt;BR /&gt;CED1200S_can_uart_adc_pwm_gpio_spi_i2c Failed Code generation information file does not exist.&lt;BR /&gt;&lt;BR /&gt;0 of 1 models built (0 models already up to date)&lt;BR /&gt;Build duration: 0h 1m 35.437s&lt;BR /&gt;Error:Error: Errors occurred - aborting&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've attached the model and mex file, hoping could be useful to understand my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tell me if you need somthing else.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 24 Apr 2025 14:53:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/fatal-error-Adc-h-No-such-file-or-directory/m-p/2086692#M10232</guid>
      <dc:creator>simon98</dc:creator>
      <dc:date>2025-04-24T14:53:12Z</dc:date>
    </item>
  </channel>
</rss>

