Hi. I have purchased a FRDM-KL03Z development board and wish to learn how to build and debug the Hello World example application using the ARM GCC toolchain. I have accessed a set of software installation instructions for this by clicking on the "Use ARM GCC" button at
https://www.nxp.com/document/guide/get-started-with-the-frdm-kl03z:NGS-FRDM-KL03Z#title3.2
My operating system is Windows 7 (32-bit)
I've downloaded and installed the following programs:
I added new system variable using Windows 7 Control Panel
Variable name: ARMGCC_DIR
Variable value: C:\Program Files\GNU Tools ARM Embedded\8 2019-q3-update
I then rebooted and tried to run the following from the Windows command line
C:\Freescale\KSDK_1.3.0\examples\frdmkl03z\demo_apps\hello_world\armgcc\build_debug.bat
I received a number of errors and the build failed. I have attached the system output as a text file.
Please can someone assist?
解決済! 解決策の投稿を見る。
Hi Den Bigh ,
The example code you are referring is really very old, please go to this link download the newest SDK2.x for your FRDM-KL03 board:
Welcome | MCUXpresso SDK Builder
After you download the SDK code, you can find some document will tell you how to run the code in GCC, please check this SDK folder:
SDK_2.3.1_FRDM-KL03Z\docs
If you still have questions about it, please kinldy let me know.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Den Bigh ,
The example code you are referring is really very old, please go to this link download the newest SDK2.x for your FRDM-KL03 board:
Welcome | MCUXpresso SDK Builder
After you download the SDK code, you can find some document will tell you how to run the code in GCC, please check this SDK folder:
SDK_2.3.1_FRDM-KL03Z\docs
If you still have questions about it, please kinldy let me know.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Thank you Kerry! I have managed to build the file now.
For anyone else with the same problem, I downloaded the software from https://mcuxpresso.nxp.com/en/builder and chose the GCC ARM option (screenshot below)
You are right! Toolchain/IDE used to select the specific IDE project.
On my side, I normally select all the toolchain.
If you still have questions about it, please kinldy let me know.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
By the way, the content of your build_debug.bat file is:
cmake -DCMAKE_TOOLCHAIN_FILE="../../../../../tools/cmake_toolchain_files/armgcc.cmake" -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Debug .
mingw32-make -j4
pause