2 Source Organization
There are some folders automatically allocated according to user configurations. The example source consists of main.c and main.h. The application source files are structured as follows:
- ./src/ASF
- All ASF modules' source files are located in this folder. You can select various modules with the ASF wizard and it will configure the content in this folder.
- ./src/config
- This folder consists of configuration header files for the SAM D21 and extension boards.
- ./src/iot
- Some protocol/advanced examples include this folder. It contains source code to make use of certain protocols (for example, HTTP, MQTT, and so on), typically needed in IoT applications.
- ./src/ASF/common/components/wifi/winc1500
- This is the folder which contains the driver source for the ATWINC15x0 Wi-Fi module.
- ./src/ASF/common/components/wifi/winc3400
- This is the folder which contains the driver source for the ATWINC3400 Wi-Fi module.
Note: Some examples may have additional
source files, but the structure is similar across these examples.