<?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>topic Re: S32DS can not generate processor code correctly in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188514#M8987</link>
    <description>&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;On another computer, I can compile the "lin_master_s32k144" &amp;amp; "lin_slave_s32k144" projects with the package and the activation code.&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="5.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130903iEE0DA12891D3DAFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I can debug and get frames that meet the requirements of protocol. However, I wonder why my computer can not generate correct code in "lin_master_s32k144" &amp;amp; "lin_slave_s32k144".&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 02:09:38 GMT</pubDate>
    <dc:creator>larry_he</dc:creator>
    <dc:date>2020-11-25T02:09:38Z</dc:date>
    <item>
      <title>S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187118#M8937</link>
      <description>&lt;P&gt;When I use S32DS create project from example,I find the processor code can not be generated correctly, which only happen in lin_master_s32k1xx &amp;amp; lin_slave_s32k1xx.&lt;/P&gt;&lt;P&gt;I do nothing but click the "Generate Processor Expert Code" button. Then build these projects.The errors are listed as below:&lt;/P&gt;&lt;TABLE width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;Errors&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;Resource&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;Path&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'HARDWARE_INSTANCE_COUNT' undeclared here (not in a function)&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;lin.h&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/SDK/middleware/lin/include line 609 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'LI0_GOTO_SLEEP_SCHEDULE' undeclared (first use in this function)&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;main.c&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/Sources line 173 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'LI0_NormalTable' undeclared (first use in this function)&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;main.c&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/Sources line 184 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'LI0' undeclared (first use in this function)&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;main.c&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/Sources line 130 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'LIN_FLAG_BUF_SIZE' undeclared here (not in a function)&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;lin.h&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/SDK/middleware/lin/include line 606 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'LIN_NUM_OF_FRMS' undeclared here (not in a function)&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;lin.h&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/SDK/middleware/lin/include line 607 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;'LIN_NUM_OF_IFCS' undeclared here (not in a function)&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;lin.h&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/SDK/middleware/lin/include line 602 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;unknown type name 'l_frame_handle'&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;lin.h&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;/lin_master_s32k144/SDK/middleware/lin/include line 244 C/C++ Problem&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="33%"&gt;&lt;P&gt;.......&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;......&lt;/P&gt;&lt;/TD&gt;&lt;TD width="33%"&gt;&lt;P&gt;......&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then I look for the Generated_code, and I find the lin_cfg.c &amp;amp; lin_cfg.h are not intact.&lt;/P&gt;&lt;P&gt;lin_cfg.c:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/** ###################################################################
**     This component module is generated by Processor Expert. Do not modify it.
**
**     @file      lin_cfg.c
**
**     @date      10:59:03, 2020-11-23
**
**     @brief     Hardware configuration file
**
**     Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
**     Copyright 2016 - 2017 NXP
**     All Rights Reserved.
**
**     THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
**     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
**     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
**     IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
**     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
**     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
**     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
**     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
**     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
**     IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
**     THE POSSIBILITY OF SUCH DAMAGE.
** ###################################################################*/

/*!
 * @file lin_cfg.c
 *
 * @page misra_violations MISRA-C:2012 violations
 *
 * @section [global]
 * Violates MISRA 2012 Advisory Rule 8.7, Could be made static.
 * Function ld_read_by_id_callout is API and shall not be made static.
 * This API is declared in lin_cfg.c so that users can configure the response
 * for  Read by ID request.
 *
 * @section [global]
 * Violates MISRA 2012 Advisory Rule 8.9, An object should be defined at block
 * scope if its identifier only appears in a single function.
 * An object with static storage duration declared at block scope cannot be
 * accessed directly from outside the block. g_lin_hardware_ifc, g_lin_tl_descriptor_array,
 * timerGetTimeIntervalCallback are dependent on user configurations,
 * so they shall be declared in lin_cfg.c.
 */

#include "lin.h"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lin_cfg.h:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/** ###################################################################
**     This component module is generated by Processor Expert. Do not modify it.
**
**     @file      lin_cfg.h
**
**     @date      10:59:03, 2020-11-23
**
**     @brief     Hardware configuration file
**
**     Copyright : 1997 - 2015 Freescale Semiconductor, Inc.
**     Copyright 2016 - 2017 NXP
**     All Rights Reserved.
**
**     THIS SOFTWARE IS PROVIDED BY NXP "AS IS" AND ANY EXPRESSED OR
**     IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
**     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
**     IN NO EVENT SHALL NXP OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
**     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
**     (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
**     SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
**     HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
**     STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
**     IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
**     THE POSSIBILITY OF SUCH DAMAGE.
** ###################################################################*/

/*!
 * @file lin_cfg.h
 *
 * @page misra_violations MISRA-C:2012 violations
 *
 * @section [global]
 * Violates MISRA 2012 Advisory Rule 2.3, A project should not contain unused type declarations.
 * The type can be used by user application.
 *
 * @section [global]
 * Violates MISRA 2012 Advisory Rule 2.5, A project should not contain unused macro declarations.
 * The macro can be used by user application.
 *
 * @section [global]
 * Violates MISRA 2012 Required Rule 5.1, External identifiers shall be distinct.
 * The identifiers are generated from signal names. The signal name is defined by users and we can not control this.
 *
 * @section [global]
 * Violates MISRA 2012 Required Rule 5.2, Identifiers declared in the same scope and name
 * space shall be distinct.
 * The name of signal is defined by user and we can not control this.
 *
 * @section [global]
 * Violates MISRA 2012 Required Rule 5.4, Macro identifiers shall be distinct.
 * The name of signal is defined by user and we can not control this.
 *
 * @section [global]
 * Violates MISRA 2012 Required Rule 5.5, Identifier shall be distinct from macro names.
 * The name of signal is defined by user and we can not control this.
 *
 * @section [global]
 * Violates MISRA 2012 Advisory Directive 4.9, A function should be used in preference
 * to a function-like macro where they are interchangeable.
 * The macro is used to define static or dynamic implementation of API functions.
 * This way is more efficient.
 *
 * @section [global]
 * Violates MISRA 2012 Advisory Rule 20.10, The #/ ## preprocessor operator should not be used.
 * The operator is used to define dynamic implementation of API functions of signal interaction.
 * This way is more efficient.
 */
#ifndef    LIN_CFG_H
#define    LIN_CFG_H

#include &amp;lt;stdint.h&amp;gt;
#include "lin_driver.h"
#include "lin1.h"

/* Implements    : SUPPORT_MASTER_MODE_Class */
#define SUPPORT_MASTER_MODE     1U /* Equal to 1 when have at least one master interface */
/* Implements    : SUPPORT_SLAVE_MODE_Class */
#define SUPPORT_SLAVE_MODE      0U  /* Equal to 1 when have at least one slave interface */

/* Implements    : SUPPORT_PROTOCOL_21_Class */
#define SUPPORT_PROTOCOL_21     1U /* Equal to 1 when have at least one LIN2.1 or LIN2.2 interface */
/* Implements    : SUPPORT_PROTOCOL_20_Class */
#define SUPPORT_PROTOCOL_20     0U /* Equal to 1 when have at least one LIN2.0 interface */
/* Implements    : SUPPORT_PROTOCOL_J2602_Class */
#define SUPPORT_PROTOCOL_J2602  0U /* Equal to 1 when have at least one J2602 interface */
/* Implements    : SUPPORT_PROTOCOL_13_Class */
#define SUPPORT_PROTOCOL_13     0U /* Equal to 1 when have at least one LIN1.3 interface */

/* Implements    : SUPPORT_DIAG_CLASS_III_Class */
#define SUPPORT_DIAG_CLASS_III  0U /* Equal to 1 when have at least one ifc with diagnostic class III */
/* Implements    : SUPPORT_DIAG_CLASS_II_Class */
#define SUPPORT_DIAG_CLASS_II   0U /* Equal to 1 when have at least one ifc with diagnostic class II or III */

/* Implements    : SUPPORT_TRANSPORT_LAYER_Class */
#define SUPPORT_TRANSPORT_LAYER 0U /* Equal to 1 to use transport layer */
/* Implements    : SUPPORT_DIAG_SERVICE_Class */
#define SUPPORT_DIAG_SERVICE    0U /* Equal to 1 to use diagnostic service layer */
#define TIME_OUT_UNIT_US 500U





#define LI0_DIAG_NUMBER_OF_SERVICES     5U

#define LI0_DIAGSRV_ASSIGN_NAD_ORDER       0U
#define LI0_DIAGSRV_READ_BY_IDENTIFIER_ORDER       1U
#define LI0_DIAGSRV_CONDITIONAL_CHANGE_NAD_ORDER       2U
#define LI0_DIAGSRV_SAVE_CONFIGURATION_ORDER       3U
#define LI0_DIAGSRV_ASSIGN_FRAME_ID_RANGE_ORDER       4U

#define MAX_LENGTH_SERVICE 6




#endif    /* _LIN_CFG_H_ */&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What's going on with this situation?&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 03:28:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187118#M8937</guid>
      <dc:creator>larry_he</dc:creator>
      <dc:date>2020-11-23T03:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187480#M8957</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unfortunately, I cannot reproduce your issue.&lt;/P&gt;
&lt;P&gt;I have imported the lin_master_s32k144 and lin_slave_s32k144 example from S32DS 2.2 and S32DS 2018.R1. I'm able to&amp;nbsp;&lt;SPAN&gt;"Generate Processor Expert Code" and compile the projects without any errors.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;From S32SDK S32K1xx RTM v3.0.0 Example Projects.&lt;/P&gt;
&lt;P&gt;Which S32DS and SDK version do you use?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 12:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187480#M8957</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-11-23T12:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187784#M8963</link>
      <description>&lt;P&gt;I tried them both. Unfortunately, neither S32DS 2.2 nor S32DS 2018.R1 can work.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="捕获.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130808i19331276EF05961E/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获.JPG" alt="捕获.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="捕获1.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130809iF5A0D62C81FFA01C/image-size/large?v=v2&amp;amp;px=999" role="button" title="捕获1.JPG" alt="捕获1.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 01:58:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187784#M8963</guid>
      <dc:creator>larry_he</dc:creator>
      <dc:date>2020-11-24T01:58:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187976#M8966</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Do you use examples from this folder? (here can be found the latest patch for both versions of S32DS&amp;nbsp;&lt;A href="https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-arm:S32DS-ARM?&amp;amp;tab=Design_Tools_Tab" target="_blank"&gt;https://www.nxp.com/design/software/development-software/s32-design-studio-ide/s32-design-studio-for-arm:S32DS-ARM?&amp;amp;tab=Design_Tools_Tab&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dianabatrlova_0-1606204110717.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130828iFC7D2254800FA8D9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dianabatrlova_0-1606204110717.png" alt="dianabatrlova_0-1606204110717.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you try to import the attached project into S32DS v2.2 (this project has generated lin_cfg.c)? Have you seen any errors?&lt;/P&gt;
&lt;P&gt;Do you use the default installation folder for the S32DS?&lt;/P&gt;
&lt;P&gt;Do you have an option to test it on another computer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 08:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1187976#M8966</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-11-24T08:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188176#M8972</link>
      <description>&lt;P&gt;Yes，I download and install the latest SDK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="2.JPG" style="width: 617px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130858i62E671DCE0A13E93/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="3.JPG" style="width: 973px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130859i6B9F353C771DD409/image-size/large?v=v2&amp;amp;px=999" role="button" title="3.JPG" alt="3.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't use the default location of installation. I set it to "D:\NXP_20201122\S32DS_ARM_v2.2",so there is a error when compiling the project which you provided.&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;&lt;P&gt;make: *** No rule to make target 'C:/NXP/S32DS_ARM_v2.2/S32DS/software/S32SDK_S32K1xx_RTM_3.0.0/rtos/osif/osif_baremetal.c', needed by 'SDK/rtos/osif/osif_baremetal.o'. Stop.&amp;nbsp;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I copy&amp;nbsp;&lt;SPAN&gt;lin_cfg.c in your project and put into my project. Compiling maybe successful(no errors).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="4.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130863iB6B21D552CFCB619/image-size/large?v=v2&amp;amp;px=999" role="button" title="4.JPG" alt="4.JPG" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;My friends can&amp;nbsp;utilize those project well via their own install package. Let me have a try to install the package on another computer.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 12:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188176#M8972</guid>
      <dc:creator>larry_he</dc:creator>
      <dc:date>2020-11-24T12:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188189#M8975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your details.&lt;/P&gt;
&lt;P&gt;If you will try it on another computer, please, try to use the default location for installation if it is possible (just to be sure).&lt;/P&gt;
&lt;P&gt;I will wait for your feedback.&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 12:35:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188189#M8975</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-11-24T12:35:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188514#M8987</link>
      <description>&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;On another computer, I can compile the "lin_master_s32k144" &amp;amp; "lin_slave_s32k144" projects with the package and the activation code.&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="5.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130903iEE0DA12891D3DAFA/image-size/large?v=v2&amp;amp;px=999" role="button" title="5.png" alt="5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I can debug and get frames that meet the requirements of protocol. However, I wonder why my computer can not generate correct code in "lin_master_s32k144" &amp;amp; "lin_slave_s32k144".&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 02:09:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188514#M8987</guid>
      <dc:creator>larry_he</dc:creator>
      <dc:date>2020-11-25T02:09:38Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188706#M8995</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the details.&lt;/P&gt;
&lt;P&gt;Have you tried to reinstall S32DS on your computer with the default installation path?&lt;/P&gt;
&lt;P&gt;Which Windows version do you have on your computer?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 07:40:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188706#M8995</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-11-25T07:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188928#M9004</link>
      <description>&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;This time, I did not change anything.They are all default.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="6.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130975i8DE335779C6A878E/image-size/large?v=v2&amp;amp;px=999" role="button" title="6.JPG" alt="6.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="7.JPG" style="width: 744px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130976iF5A40F7D302D6FCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="7.JPG" alt="7.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="8.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130977i59D9FC9740FA3503/image-size/large?v=v2&amp;amp;px=999" role="button" title="8.JPG" alt="8.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the code was still not intact.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="9.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/130978iC402626BFC485397/image-size/large?v=v2&amp;amp;px=999" role="button" title="9.JPG" alt="9.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Windows version is listed as below:&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="100%"&gt;Windows 10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;1909&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;2019/8/22&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="100%"&gt;18363.1198&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Wed, 25 Nov 2020 11:46:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1188928#M9004</guid>
      <dc:creator>larry_he</dc:creator>
      <dc:date>2020-11-25T11:46:28Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS can not generate processor code correctly</title>
      <link>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1190956#M9051</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please accept my apologies for the delay.&lt;/P&gt;
&lt;P&gt;I can see warnings in your last image related to the LIN path.&lt;/P&gt;
&lt;P&gt;This can be fixed by the right click on the project -&amp;gt; Properties -&amp;gt; Build -&amp;gt; Settings -&amp;gt; Includes and select the correct SDK path:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dianabatrlova_0-1606743169211.png" style="width: 565px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131345i2FE7F0447535A67E/image-dimensions/565x264?v=v2" width="565" height="264" role="button" title="dianabatrlova_0-1606743169211.png" alt="dianabatrlova_0-1606743169211.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diana&lt;/P&gt;</description>
      <pubDate>Mon, 30 Nov 2020 13:34:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32DS-can-not-generate-processor-code-correctly/m-p/1190956#M9051</guid>
      <dc:creator>dianabatrlova</dc:creator>
      <dc:date>2020-11-30T13:34:26Z</dc:date>
    </item>
  </channel>
</rss>

