Source Tree Structure {#source_tree}
.
├── arch /* Architecture-specific code, including interrupt and cache operation. Each supported architecture has its own subdirectory. */
│ ├── arm64 /* The specific architecture, which is chosen by ARCH environment variable */
│ ├── riscv
│ └── xtensa
├── boards /* Board related code and configuration files. */
│ ├── arm64
│ │ ├── ad401_a113l /* The specific board, which is chosen by BOARD environment variable */
│ │ │ ├── defconfig /* Default board configuration, which is correspond to HW configuration. */
│ │ │ ├── lscript.h /* The input file for Link script */
│ │ │ └── ...
│ │ ├── ad403_a113l
│ │ ├── ad409_a113l
│ │ ├── CMakeLists.txt
│ │ ├── Kconfig
│ │ └── lscript /* Link script */
│ ├── riscv
│ │ └── ...
│ └── xtensa
├── build_system /* The Build system for the SDK, containing Kconfig and CMake rules, cross toolchain. */
├── CMakeLists.txt /* The top-level file for the CMake build system, which is automatically generated by scripts. */
├── docs /* Technical documentation source files used to generate the http://tee.amlogic.com:8000/Documents/Ecosystem/RTOS/rtos-sdk/ web content. */
├── drivers /* Device driver code. */
├── examples /* Example applications that demonstrate the use of Amlogic RTOS SDK features. */
│ ├── benchmark
│ ├── fota
│ ├── hello
│ ├── net
│ ├── shell
│ ├── unity_test
│ └── ...
├── Kconfig /* The top-level Kconfig file, which is automatically generated by scripts. */
├── kernel /* RTOS kernel code. * /
├── lib /* Various library code. */
│ ├── cli
│ ├── common_io
│ ├── libc
│ ├── libcurl
│ ├── librws
│ ├── lwip
│ ├── mbedtls
│ ├── nghttp2
│ ├── osal
│ ├── posix
│ ├── setting
│ ├── stack_trace
│ ├── ulog
│ ├── unity
├── Makefile /* The top-level file for the build system, containing a lot of the logic required to build SDK. */
├── products /* Product related code and configuration files. */
│ ├── speaker /* The specific product, which is chosen by PRODUCT environment variable */
│ │ ├── CMakeLists.txt
│ │ ├── main.c /* Main function */
│ │ └── prj.conf /* Default product configuration file, which is correspond to SW configuration. */
│ └── ...
├── scripts /* Bash and python scripts files, which are necessary to build the SDK. */
├── soc /* SoC related code. */
│ ├── arm64
│ │ ├── a1 /* The specific SoC, which is chosen by SOC environment variable */
│ │ └── ...
│ ├── riscv
│ └── xtensa
├── third_party /* Third-party code. */
└── wcn /* Amlogic wireless connectivity support, including Bluetooth and Wi-Fi. */