AM335X-PAC Series User Manual version 2.0.4 Page: 75
Copyright © 2021 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
4.3.
Your First Program
In this section, we will introduce how to compile the helloworld.c file to helloworld
executable file
and executes this on the LinPAC AM335x PAC. In this example, no ICP DAS modules are used. To
create a demo program with C language that includes the following main steps:
1. Find demo ‘helloworld.c’ in SDK
2. Compile the demo on Windows/Linux PC using SDK
3. Upload and execute the demo on LinPAC AM335x PAC
4. Execute the application on LinPAC AM335x PAC at boot time
All main steps will be described in the following subsection.