Ameba SDKs
GitHub
Introduction
The SDK consists of four parts:
project
component
tools
doc
SDK
├── amebaxxx_gcc_project Project for build image, including makefile, ld, utils, library, etc.
├── component FreeRTOS, SoC, mbed API, Wi-Fi, network, etc.
├── tools Tools
└── doc Documents
project
The project name is amebadplus_gcc_project
, and the project includes the following items:
Item |
Description |
---|---|
Makefile |
Compile the project with one command |
menuconfig |
Used to configure the project |
project_km4 |
KM4 project files |
project_km0 |
KM0 project files |
utils |
J-Link script for connecting to CPU |
The project name is amebadlite_gcc_project
, and the project includes the following items:
Item |
Description |
---|---|
Makefile |
Compile the project with one command |
menuconfig |
Used to configure the project |
project_km4 |
KM4 project files |
project_kr4 |
KR4 project files |
utils |
J-Link script for connecting to CPU |
The project name is amebadlite_gcc_project
, and the project includes the following items:
Item |
Description |
---|---|
Makefile |
Compile the project with one command |
menuconfig |
Used to configure the project |
project_km4 |
KM4 project files |
project_kr4 |
KR4 project files |
utils |
J-Link script for connecting to CPU |
The project name is amebasmart_gcc_project
, and the project includes the following items:
Item |
Description |
---|---|
Makefile |
Compile the project with one command |
menuconfig |
Used to configure the project |
project_ap |
CA32 project files |
project_hp |
KM4 project files |
project_lp |
KM0 project files |
utils |
J-Link script for connecting to CPU |
Note
project_xx/inc/FreeRTOSConfig.h: configure FreeRTOS
project_xx/inc/platform_autoconf.h: generated by
make menuconfig
project_xx/inc/build_info.h: some build information
component
Items |
Description |
---|---|
at_cmd |
AT commands |
audio |
Drivers of alc5616/alc5640/alc5651/alc5660/alc5679/alc5680/sgtl5000 |
bluetooth |
BT related source code and library |
example |
Utility examples: audio/network/ota/usb/… |
file_system |
File system: fatfs/littlefs/ftl/kv/vfs… |
lwip |
LWIP APIs and driver codes |
network |
|
os |
FreeRTOS source codes |
soc |
|
ssl |
mbed TLS |
utils |
IPC: util for multicore communication |
wifi |
|
tools
Items |
Description |
---|---|
TraceTool |
Tools used to print logs and send commands |
ImageTool |
Image tool |
DownloadServer |
Used to send image to the device based on socket by OTA function |
DownloadServer (HTTP) |
Used to send image to the device based on HTTP by OTA function |
iperf |
iperf for Wi-Fi performance test |
littlefs |
Tools to make littlefs file system |
Critical Header Files
Items |
Description |
Location |
---|---|---|
basic_types.h |
|
component/soc/ |
section_config.h |
Section definition used in link script:
|
|
ameba_soc.h |
Peripheral header files for raw APIs (recommended) Compared to mbed APIs, Raw APIs provide more flexible, rich,
and efficient hardware configuration interfaces.
If you want to use raw APIs, this header must be included. |
|
mbed API headers |
Peripheral header files for mbed APIs. High-level encapsulated interfaces based on Raw APIs, providing
relatively limited features.
If you want to use mbed APIs, related headers must be included. |
component/soc/ |
SDK based on Zephyr
More Information
SDK based on Arduino
More Information
Linux SDK for Ameba SoCs with Arm Cortex-A, such as RTL8730E series
Tip
Sometimes, downloading the SDK from GitHub may take a long time due to slow internet speed. In such cases, you can contact Realtek to obtain an acceleration package, which contains a
.repo
folder.Save it in the directory where you want to download the SDK, and then follow the commands described in Linux SDK to execute
repo init
to obtain the SDK, which will save downloading time.