Target Device: PN7642
SDK Version: v021201
Platform: Windows
I have received the SDK zip file from NXP. I have installed the SDK in mcuExpesso IDE. Example import and execution all working fine with McuExpresso IDE.
I want to build my project using armgcc. I followed the setup instructions provided in "Getting Started with MCUXpresso SDK (MCUXSDKGSUG)" document. I am using the windows platform.
During the compilation of "led_blinkey" example I am getting following error.
"\devices\PN7642\utilities\fsl_sbrk.c:23:1: error: unknown type name 'caddr_t'"
I see the definition of 'caddr_t' is available in "ARMGCC_DIR\arm-none-eabi\include\sys\types.h". Looks like there is some configuration issue which is not able to include the ARMGCC properly.
Can you please guide me how can I use armgcc toolchain on windows for PN7642 device?
Thanks,
Facing exact same issue while compiling "hello world" demo example.
camke: cmake version 3.24.2
ARM GCC: 12.3 rel1 (arm-gnu-toolchain-12.3.rel1-mingw-w64-i686-arm-none-eabi.exe)
Hi @dilawarali
I tried the hello world demo on my side, it works. please refer to below picture.
I would suggest you check your ARM GCC version.
Regards
Daniel
Hi Daniel,
That is great. Can you please share a guide how did you set it all up?
I am seeing a cygwin terminal in your case. While I was using the windows cmd. It will be really helpful.
The document I was following did not describe any such thing.
Thanks,
Hi @dilawarali
I am using windows command, followed the quick start guider.
please refer to my full log
Regards
Daniel
Hi
Can you try to build the "hello world" demo successfully in your side? which version of ARM GCC and CMAKE you are using?
Regards
Daniel