<?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 A building project problem. in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1354648#M4361</link>
    <description>&lt;P&gt;I created a project in MCUXpresso IDE v11.4.1_6260 for i.MX RT1160 MCU (SDK_2_10_0_MIMXRT1166xxxxx.zip).&lt;/P&gt;&lt;P&gt;Then I try to build an empty project.&lt;/P&gt;&lt;P&gt;I get some errors in LWIP library&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;../lwip/port/enet_ethernetif.h:89:5: error: unknown type name 'phy_handle_t'&lt;BR /&gt;89 | phy_handle_t *phyHandle;&lt;BR /&gt;| ^~~~~~~~~~~~&lt;BR /&gt;-I"D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\device" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="../lwip/port/"=. -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"lwip/port/enet_ethernetif_kinetis.d" -MT"lwip/port/enet_ethernetif_kinetis.o" -MT"lwip/port/enet_ethernetif_kinetis.d" -o "lwip/port/enet_ethernetif_kinetis.o" "../lwip/port/enet_ethernetif_kinetis.c"&lt;BR /&gt;../lwip/port/enet_ethernetif.c: In function 'ethernetif_phy_init':&lt;BR /&gt;../lwip/port/enet_ethernetif.c:74:5: error: unknown type name 'phy_config_t'; did you mean 'enet_config_t'?&lt;BR /&gt;74 | phy_config_t phyConfig;&lt;BR /&gt;| ^~~~~~~~~~~~&lt;BR /&gt;| enet_config_t&lt;BR /&gt;../lwip/port/enet_ethernetif.c:81:14: error: request for member 'phyAddr' in something not a structure or union&lt;BR /&gt;81 | phyConfig.phyAddr = ethernetifConfig-&amp;gt;phyHandle-&amp;gt;phyAddr;&lt;BR /&gt;| ^&lt;BR /&gt;../lwip/port/enet_ethernetif.c:81:52: error: request for member 'phyAddr' in something not a structure or union&lt;BR /&gt;81 | phyConfig.phyAddr = ethernetifConfig-&amp;gt;phyHandle-&amp;gt;phyAddr;&lt;BR /&gt;| ^~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:82:14: error: request for member 'autoNeg' in something not a structure or union&lt;BR /&gt;82 | phyConfig.autoNeg = true;&lt;BR /&gt;| ^&lt;BR /&gt;../lwip/port/enet_ethernetif.c:84:32: error: request for member 'mdioHandle' in something not a structure or union&lt;BR /&gt;84 | ethernetifConfig-&amp;gt;phyHandle-&amp;gt;mdioHandle-&amp;gt;resource.base = *ethernetif_enet_ptr(ethernetif);&lt;BR /&gt;| ^~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:90:43: warning: passing argument 1 of 'PHY_Init' from incompatible pointer type [-Wincompatible-pointer-types]&lt;BR /&gt;90 | status = PHY_Init(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;phyConfig);&lt;BR /&gt;| ~~~~~~~~~~~~~~~~^~~~~~~~~~~&lt;BR /&gt;| |&lt;BR /&gt;| int * const&lt;BR /&gt;In file included from ../lwip/port/enet_ethernetif.h:46,&lt;BR /&gt;from ../lwip/port/enet_ethernetif.c:58:&lt;BR /&gt;D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\board/fsl_phy.h:124:30: note: expected 'ENET_Type *' but argument is of type 'int * const'&lt;BR /&gt;124 | status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz);&lt;BR /&gt;| ~~~~~~~~~~~^~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:90:56: warning: passing argument 2 of 'PHY_Init' makes integer from pointer without a cast [-Wint-conversion]&lt;BR /&gt;90 | status = PHY_Init(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;phyConfig);&lt;BR /&gt;| ^~~~~~~~~~&lt;BR /&gt;| |&lt;BR /&gt;| int *&lt;BR /&gt;In file included from ../lwip/port/enet_ethernetif.h:46,&lt;BR /&gt;from ../lwip/port/enet_ethernetif.c:58:&lt;BR /&gt;D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\board/fsl_phy.h:124:45: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'int *'&lt;BR /&gt;124 | status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz);&lt;BR /&gt;| ~~~~~~~~~^~~~~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:90:18: error: too few arguments to function 'PHY_Init'&lt;BR /&gt;90 | status = PHY_Init(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;phyConfig);&lt;BR /&gt;| ^~~~~~~~&lt;BR /&gt;In file included from ../lwip/port/enet_ethernetif.h:46,&lt;BR /&gt;from ../lwip/port/enet_ethernetif.c:58:&lt;BR /&gt;D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\board/fsl_phy.h:124:10: note: declared here&lt;BR /&gt;124 | status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz);&lt;BR /&gt;| ^~~~~~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:101:13: warning: implicit declaration of function 'PHY_GetAutoNegotiationStatus' [-Wimplicit-function-declaration]&lt;BR /&gt;101 | PHY_GetAutoNegotiationStatus(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;autonego);&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:102:47: warning: passing argument 1 of 'PHY_GetLinkStatus' from incompatible pointer type [-Wincompatible-pointer-types]&lt;BR /&gt;102 | PHY_GetLinkStatus(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;link);&lt;BR /&gt;| ~~~~~~~~~~~~~~~~^~~~~~~~~~~&lt;BR /&gt;| |&lt;BR /&gt;| int * const&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;And so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What can be wrong?&lt;/P&gt;&lt;P&gt;Well...I ported an example project from SDK - evkmimxrt1160_lwip_httpssrv_mbedTLS_bm_cm4. When I build it I get some errors also related to LWIP&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;request for member 'autoNeg' in something not a structure or union enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 82 C/C++ Problem&lt;BR /&gt;request for member 'mdioHandle' in something not a structure or union enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 84 C/C++ Problem&lt;BR /&gt;request for member 'mdioHandle' in something not a structure or union enet_ethernetif_kinetis.c /MIMXRT1166_EVK_Project/lwip/port line 386 C/C++ Problem&lt;BR /&gt;request for member 'phyAddr' in something not a structure or union enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 81 C/C++ Problem&lt;BR /&gt;too few arguments to function 'PHY_GetLinkSpeedDuplex' enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 119 C/C++ Problem&lt;BR /&gt;too few arguments to function 'PHY_GetLinkStatus' enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 102 C/C++ Problem&lt;BR /&gt;too few arguments to function 'PHY_Init' enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 90 C/C++ Problem&lt;BR /&gt;unknown type name 'phy_config_t'; did you mean 'enet_config_t'? enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 74 C/C++ Problem&lt;BR /&gt;unknown type name 'phy_handle_t' enet_ethernetif.h /MIMXRT1166_EVK_Project/lwip/port line 89 C/C++ Problem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Wed, 13 Oct 2021 06:56:54 GMT</pubDate>
    <dc:creator>john71</dc:creator>
    <dc:date>2021-10-13T06:56:54Z</dc:date>
    <item>
      <title>A building project problem.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1354648#M4361</link>
      <description>&lt;P&gt;I created a project in MCUXpresso IDE v11.4.1_6260 for i.MX RT1160 MCU (SDK_2_10_0_MIMXRT1166xxxxx.zip).&lt;/P&gt;&lt;P&gt;Then I try to build an empty project.&lt;/P&gt;&lt;P&gt;I get some errors in LWIP library&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;BLOCKQUOTE&gt;../lwip/port/enet_ethernetif.h:89:5: error: unknown type name 'phy_handle_t'&lt;BR /&gt;89 | phy_handle_t *phyHandle;&lt;BR /&gt;| ^~~~~~~~~~~~&lt;BR /&gt;-I"D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\device" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="../lwip/port/"=. -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"lwip/port/enet_ethernetif_kinetis.d" -MT"lwip/port/enet_ethernetif_kinetis.o" -MT"lwip/port/enet_ethernetif_kinetis.d" -o "lwip/port/enet_ethernetif_kinetis.o" "../lwip/port/enet_ethernetif_kinetis.c"&lt;BR /&gt;../lwip/port/enet_ethernetif.c: In function 'ethernetif_phy_init':&lt;BR /&gt;../lwip/port/enet_ethernetif.c:74:5: error: unknown type name 'phy_config_t'; did you mean 'enet_config_t'?&lt;BR /&gt;74 | phy_config_t phyConfig;&lt;BR /&gt;| ^~~~~~~~~~~~&lt;BR /&gt;| enet_config_t&lt;BR /&gt;../lwip/port/enet_ethernetif.c:81:14: error: request for member 'phyAddr' in something not a structure or union&lt;BR /&gt;81 | phyConfig.phyAddr = ethernetifConfig-&amp;gt;phyHandle-&amp;gt;phyAddr;&lt;BR /&gt;| ^&lt;BR /&gt;../lwip/port/enet_ethernetif.c:81:52: error: request for member 'phyAddr' in something not a structure or union&lt;BR /&gt;81 | phyConfig.phyAddr = ethernetifConfig-&amp;gt;phyHandle-&amp;gt;phyAddr;&lt;BR /&gt;| ^~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:82:14: error: request for member 'autoNeg' in something not a structure or union&lt;BR /&gt;82 | phyConfig.autoNeg = true;&lt;BR /&gt;| ^&lt;BR /&gt;../lwip/port/enet_ethernetif.c:84:32: error: request for member 'mdioHandle' in something not a structure or union&lt;BR /&gt;84 | ethernetifConfig-&amp;gt;phyHandle-&amp;gt;mdioHandle-&amp;gt;resource.base = *ethernetif_enet_ptr(ethernetif);&lt;BR /&gt;| ^~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:90:43: warning: passing argument 1 of 'PHY_Init' from incompatible pointer type [-Wincompatible-pointer-types]&lt;BR /&gt;90 | status = PHY_Init(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;phyConfig);&lt;BR /&gt;| ~~~~~~~~~~~~~~~~^~~~~~~~~~~&lt;BR /&gt;| |&lt;BR /&gt;| int * const&lt;BR /&gt;In file included from ../lwip/port/enet_ethernetif.h:46,&lt;BR /&gt;from ../lwip/port/enet_ethernetif.c:58:&lt;BR /&gt;D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\board/fsl_phy.h:124:30: note: expected 'ENET_Type *' but argument is of type 'int * const'&lt;BR /&gt;124 | status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz);&lt;BR /&gt;| ~~~~~~~~~~~^~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:90:56: warning: passing argument 2 of 'PHY_Init' makes integer from pointer without a cast [-Wint-conversion]&lt;BR /&gt;90 | status = PHY_Init(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;phyConfig);&lt;BR /&gt;| ^~~~~~~~~~&lt;BR /&gt;| |&lt;BR /&gt;| int *&lt;BR /&gt;In file included from ../lwip/port/enet_ethernetif.h:46,&lt;BR /&gt;from ../lwip/port/enet_ethernetif.c:58:&lt;BR /&gt;D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\board/fsl_phy.h:124:45: note: expected 'uint32_t' {aka 'unsigned int'} but argument is of type 'int *'&lt;BR /&gt;124 | status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz);&lt;BR /&gt;| ~~~~~~~~~^~~~~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:90:18: error: too few arguments to function 'PHY_Init'&lt;BR /&gt;90 | status = PHY_Init(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;phyConfig);&lt;BR /&gt;| ^~~~~~~~&lt;BR /&gt;In file included from ../lwip/port/enet_ethernetif.h:46,&lt;BR /&gt;from ../lwip/port/enet_ethernetif.c:58:&lt;BR /&gt;D:\Workspace_MCUXpresso_11.4\MIMXRT1166_EVK_Project\board/fsl_phy.h:124:10: note: declared here&lt;BR /&gt;124 | status_t PHY_Init(ENET_Type *base, uint32_t phyAddr, uint32_t srcClock_Hz);&lt;BR /&gt;| ^~~~~~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:101:13: warning: implicit declaration of function 'PHY_GetAutoNegotiationStatus' [-Wimplicit-function-declaration]&lt;BR /&gt;101 | PHY_GetAutoNegotiationStatus(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;autonego);&lt;BR /&gt;| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;../lwip/port/enet_ethernetif.c:102:47: warning: passing argument 1 of 'PHY_GetLinkStatus' from incompatible pointer type [-Wincompatible-pointer-types]&lt;BR /&gt;102 | PHY_GetLinkStatus(ethernetifConfig-&amp;gt;phyHandle, &amp;amp;link);&lt;BR /&gt;| ~~~~~~~~~~~~~~~~^~~~~~~~~~~&lt;BR /&gt;| |&lt;BR /&gt;| int * const&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;And so on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;What can be wrong?&lt;/P&gt;&lt;P&gt;Well...I ported an example project from SDK - evkmimxrt1160_lwip_httpssrv_mbedTLS_bm_cm4. When I build it I get some errors also related to LWIP&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;Description Resource Path Location Type&lt;BR /&gt;request for member 'autoNeg' in something not a structure or union enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 82 C/C++ Problem&lt;BR /&gt;request for member 'mdioHandle' in something not a structure or union enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 84 C/C++ Problem&lt;BR /&gt;request for member 'mdioHandle' in something not a structure or union enet_ethernetif_kinetis.c /MIMXRT1166_EVK_Project/lwip/port line 386 C/C++ Problem&lt;BR /&gt;request for member 'phyAddr' in something not a structure or union enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 81 C/C++ Problem&lt;BR /&gt;too few arguments to function 'PHY_GetLinkSpeedDuplex' enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 119 C/C++ Problem&lt;BR /&gt;too few arguments to function 'PHY_GetLinkStatus' enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 102 C/C++ Problem&lt;BR /&gt;too few arguments to function 'PHY_Init' enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 90 C/C++ Problem&lt;BR /&gt;unknown type name 'phy_config_t'; did you mean 'enet_config_t'? enet_ethernetif.c /MIMXRT1166_EVK_Project/lwip/port line 74 C/C++ Problem&lt;BR /&gt;unknown type name 'phy_handle_t' enet_ethernetif.h /MIMXRT1166_EVK_Project/lwip/port line 89 C/C++ Problem&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Wed, 13 Oct 2021 06:56:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1354648#M4361</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2021-10-13T06:56:54Z</dc:date>
    </item>
    <item>
      <title>Re: A building project problem.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1355456#M4371</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/134631"&gt;@john71&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I tried this project, but I didn't find any problem. I use win10, MCUXpresso 10.4.0 and SDK2.10. Can you tell me how you import the project?&lt;/P&gt;
&lt;P&gt;You can try to reinstall the SDK and then import the project again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 02:45:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1355456#M4371</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-14T02:45:31Z</dc:date>
    </item>
    <item>
      <title>Re: A building project problem.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1355577#M4372</link>
      <description>&lt;P&gt;I import the project - Import SDK example(s)-&amp;gt;Choose eval. board-&amp;gt; Choose an example.&lt;/P&gt;&lt;P&gt;But when I restart the MCUXpresso -the SDK is vanished from Installed SDKs and I have to install it again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 06:24:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1355577#M4372</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2021-10-14T06:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: A building project problem.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1355792#M4380</link>
      <description>&lt;P&gt;Well..I ported SDK_2_9_0 instead of SDK_2_10_0 and now it's OK.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Oct 2021 10:48:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1355792#M4380</guid>
      <dc:creator>john71</dc:creator>
      <dc:date>2021-10-14T10:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: A building project problem.</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1356285#M4384</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Occasionally, installing SDK will have problem. But download and install the SDK again can resolve the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Jing&lt;/P&gt;</description>
      <pubDate>Fri, 15 Oct 2021 07:49:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/A-building-project-problem/m-p/1356285#M4384</guid>
      <dc:creator>jingpan</dc:creator>
      <dc:date>2021-10-15T07:49:36Z</dc:date>
    </item>
  </channel>
</rss>

