Ameba SDKs
GitHub
概述
SDK由以下四部分组成:
project
component
tools
doc
SDK
├── amebadxxx_gcc_project 用于配置、编译生成image, 包含maekfile、ld、utils、library等
├── component FreeRTOS、SoC、mbed API、Wi-Fi、network等组件
├── tools 工具
└── doc 文档
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 |
项目名为``amebadlite_gcc_project``,包含以下内容:
Item |
Description |
---|---|
Makefile |
|
menuconfig |
用于对项目进行配置 |
project_km4 |
KM4 项目文件 |
project_kr4 |
KR4 项目文件 |
utils |
J-Link 脚本, 用于连接CPU并调试 |
项目名为``amebadlite_gcc_project``,包含以下内容:
Item |
Description |
---|---|
Makefile |
|
menuconfig |
用于对项目进行配置 |
project_km4 |
KM4 项目文件 |
project_kr4 |
KR4 项目文件 |
utils |
J-Link 脚本, 用于连接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 |
备注
project_xx/inc/FreeRTOSConfig.h
: 用于配置FreeRTOS
project_xx/inc/platform_autoconf.h
: 为make menuconfig
自动生成project_xx/inc/build_info.h
: 一些编译信息,如版本信息等
component
Items |
Description |
---|---|
at_cmd |
AT commands |
audio |
audio codec 驱动,包含:alc5616/alc5640/alc5651/alc5660/alc5679/alc5680/sgtl5000 |
bluetooth |
BT 相关的源代码 和 library |
example |
应用示例,包含: audio/network/ota/usb/… |
file_system |
文件系统,包含: fatfs/littlefs/ftl/kv/vfs… |
lwip |
LWIP APIs 和源代码 |
network |
|
os |
FreeRTOS 源代码 |
soc |
|
ssl |
mbed TLS |
utils |
IPC: 多核之间通信 |
wifi |
|
tools
Items |
Description |
---|---|
TraceTool |
用于打印log和发送指令 |
ImageTool |
用于Image下载 |
DownloadServer |
基于socket的 OTA server 程序 |
DownloadServer (HTTP) |
基于HTTP的 OTA server 程序 |
iperf |
用于Wi-Fi吞吐量测试 |
littlefs |
littlefs 文件系统生成 |
关键头文件
Items |
Description |
Location |
---|---|---|
basic_types.h |
|
component/soc/ |
section_config.h |
链接脚本中各种Section的定义:
|
|
ameba_soc.h |
提供底层驱动的Raw API 相对于mbed APIs, Raw API提供更灵活丰富和高效的硬件配置接口
|
|
mbed API headers |
基于Raw API的高级封装接口,提供的功能相对单一,推荐使用Raw API |
component/soc/ |
基于Arduino开发的SDK
更多信息
包含Arm Cortex-A的SoC(如RTL8730E系列)的Linux SDK
更多信息