Releases: Ameba-AIoT/ameba-rtos
v1.1.1
ameba-rtos Release v1.1.1
Click the following URLs to view the documentations of the specific SoC.
- English: https://aiot.realmcu.com/en/latest/index.html
- Chinese: https://aiot.realmcu.com/cn/latest/index.html
ameba-rtos v1.1.1 is a QC-verified version and has fixed all known issues.
Obtaining v1.1.1
Users can use both git and download archive to obtain v1.1.1.
Using git
To get this release, use the following commands:
git clone -b v1.1.1 https://github.com/Ameba-AIoT/ameba-rtos.git ameba-rtos-v1.1.1
cd ameba-rtos-v1.1.1/
Download an archive
Attached to this release is an Source Code.zip and Source Code.tar.gz archive. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.
Changelog
Application
AT Command
- Added atcmd for whc bridge mode
- Added more abnormal interrupt signal processing in atcmd uart irq
- Added atcmd sdio module
- Added spi index item in atcmd_config.json
- Added exit tt mode judgment in atcmd fs module
- Added atcmd to specify the fs region where the certificate is located
- Added image bin version for AT+GMR cmd
- Added index limitation for certificate
- Supported CONTINUATION frame when sending a large amount of data using websocket atcmd
- Reworked Socket AT command
- Updated mqtt and ota atcmd
- Updated websocket atcmd
- Updated atcmd service to work without wifi for AmebaSmart
- Optimized atcmd spi module
- Optimized heap usage under host control mode
- Fixed the issue related to AT+WSSRVSTART/WSCONN
- Fixed the server initialization failure when executing AT+WSSRVSTOP, then immediately executing AT+WSSRVSTART
- Fixed topic print format error when mqtt message arrived
- Fixed close socket before exit mqtt_main task when reset
- Fixed ping timeout keeps showing after websocket client is closed
- Fixed the issue of AT+HTTPCONF
- Fixed the issue of atcmd UART interface receiving excessively long commands that cause it to fail to respond
OTA
- Fixed ota recover error for AmebaSmart
- Fixed error of memset NextImgBuf to 0
File System
- Added read-ony switch for vfs-fatfs
- Added log info for mkfs after file system mount failure
- Added prompt for compilation error when fatfs.bin is missing
- Enabled fatfs FF_FS_REENTRANT for thread safe
- Reduced unused interfaces of vfs-fatfs module
- Optimized Kconfig & CMakeList for file system
- Fixed false alarm in compilation check of CONFIG_FATFS_WITHIN_APP_IMG
Network
- Removed the limit of sending 1500 bytes at a time for ws_server_sendData
- Replaced fixed priority value with IPERF_PRIORITY_OFFSET for iperf
- Modified macro MEMP_NUM_NETCONN usage in httpc/httpd library to follow the lwip library
- Used standard format of a struct timeval for SO_RCVTIMEO/SO_SNDTIMEO
- Fixed the bug of getting stuck when websocket connection
- Fixed the issue related to websocket_server AT & websocket server library
- Fixed the issue related to websocket_client AT & websocket_client library
- Fixed the issue of other device can not ping the router after getting ip with usbh_wifi_bridge example
Example
- Added more information in README to help user compile project
- Added mp_app_integration example to release
- Added wifi tdma scan example
- Optimized wifi raw example
- Updated example_httpd_vfs
- Updated coap and ipv6 examples
- Updated readme for peripheral examples
- Modified the compilation section in the readme files
- Fixed captive portal can't pop up automatically when #define CONFIG_ENABLE_CAPTIVE_PORTAL 1
- Fixed httpd example compile error
- Fixed example wifi_raw compile error
- Fixed issues of wificast examples
WiFi
- Added usercfg to control broadcast rx during LPS
- Added API to get channel list
- Added usercfg to set band
- Added usercfg to set rx cca threshold
- Added API to to set EDCCA parameters
- Added API to set tx advanced configures
- Added ACS for softap
- Added some rfe types
- Added is_bus_idle api for spi bridge
- Optimized wifi API naming
- Optimized error code of WIFI ATCMD
- Optimized wifi speaker settings
- Supported channel switch mode setting in CSA
- Supported WPA3 enterprise
- Supported wowlan for WHC spi interface
- Fixed API ipc deadlock issue
- Fixed IPS hang issue when bt coex
- Fixed rx promisc issues
- Fixed mcc issue
- Fixed RNAT issues
- Fixed KCRACK test 5.2.4 and 5.2.5
- Fixed P2P connect fail issue
- Fixed packet loss issue when AP buffer wrong
- Fixed start WPA3 softAP fail with password of 65 chars
- Fixed tkip longrun crash issue
- Fixed memory leak when spi block
- Fixed softap WEP40 issue
- Fixed WPS connection issue
- Fixed issues of wificast
Bluetooth
- Added BLE wifimate example
- Added A2DP & LE audio concurrent example for AmebaSmart
- Added broadcast audio local play function for AmebaSmart
- Added BT audio noise cancellation function for AmebaSmart
- Added user defined service in BT transfer module example
- Added broadcast source and sink role switch function in PBP example
- Added LC3 PLC audio compensation mechanism
- Added apis for BLE ISO test & DTM & service changed indicate function & getting GATTS attribute handle
- Added configuration to auto generate local IRK & convert BLE LTK to BR/EDR link key
- Added some apis for AVRCP & HFP & SDP profile from customer request
- Optimized multi section patch download flow
- Optimized BT power sequence flow
- Optimized HCI rx flow
- Optimized some coding style & log format
- Optimized some BT macro usage
- Changed add audio record api for init volume
- Removed some internal test apis & AT commands
- Removed useless files
- Fixed some audio distortion issue in A2DP & LE audio
- Fixed potential crash when BT deinit
System
- Added svd files for jlinkscript
- Added jlinkGDBSever and jlink connection script
- Added ninja clean in pristine build
- Added gdb path modify
- Added error output and unzip check
- Used new axf2bin to generate firmware image
SoC
- Added pattern to protect Retetion memory content useuage fault
- Added heap protect function for AmebaSmart
- Added mpu entry to detect NULL point write error
- Updated psram initialize code
- Updated SWR parameters to fix fault at high loading
- Converted loguart rx pin to gpio during sleep
- Modified pinmux API to disable SWD when use default SWD pin
- Revised crashdump implementation
- Enabled BOR by default
- Fixed CA32 systick error when use some special clock setting
- Fixed SDH driver multi thread conflict
- Fixed the parameter of the micbias pcut api
- Fixed complie system bug,like binary gernerate,debug mode
- Fixed sysreset error
USB
- Added support for USB UAC1.0 host
- Added support for USB CDC ACM + MSC compisite device
- Reworked USB device EP API
- Moved USB device ZLP handling from class to core driver
- Improved USB device connection status detection
- Improved USB power management
- Improved USB device descriptor length handling
- Reduced CPU loading for USB host classes
- Removed USB device nptx_max_err_cnt config
- Fixed USB CDC ACM device TX busy issue
- Fixed USB MSC device SD-card read halt issue
- Fixed USB MSC device ZLP TX issue
- Fixed USB CDC ACM host ZLP RX issue
Audio
- Added audio policy configuration function
- Added a2dp audio hal function
- Added AudioManager interface
- Added direct audio function
- Added demo board amp control function
- Added audio standby duration configuration
- Added audio equalizer control via uart
- Refactored media player configuration
- Fixed some issue for audio and media player
Tools
- Updated TraceTool to v2.1.38
v1.0.1
ameba-rtos Release v1.0.1
Documentation for ameba-rtos v1.0.1 is available at https://github.com/Ameba-AIoT/ameba-iot-docs.
Click the following URLs to view the documentations of the specific SoC.
- AmebaDPlus: https://ameba-aiot.github.io/ameba-iot-docs/AmebaDplus/en/v1.0/
- AmebaLite: https://ameba-aiot.github.io/ameba-iot-docs/AmebaLite/en/v1.0/
- AmebaSmart: https://ameba-aiot.github.io/ameba-iot-docs/AmebaSmart/en/v1.0/
ameba-rtos v1.0.1 is a QC-verified version and has fixed all known issues.
Obtaining v1.0.1
Users can use both git and download archive to obtain v1.0.1.
Using git
To get this release, use the following commands:
git clone -b v1.0.1 https://github.com/Ameba-AIoT/ameba-rtos.git ameba-rtos-v1.0.1
cd ameba-rtos-v1.0.1/
Download an archive
Attached to this release is an "Source Code.zip" and "Source Code.tar.gz" archive. This archive is provided for users who have connectivity issues preventing them from cloning from GitHub.
Changelog
Application
AT Command
- Added vTaskList print in AT+WLSTATE(modify atcmd module)
- Added ameba rtos version print and chip libinfo in AT+GMR
- Added new AT command: AT+STATE
- Added new AT command: AT+IPDOMAIN
- Added atcmd_service and delete log_service, and optimize atcmd service module
- Added log for mp tool
- Added Enable ATCMD into menuconfig, adjust atcmd related makefile and menuconfig
- Corrected total heap size calculation
- Deleted old atcmd directory and config
- Deleted AT_PRINTK
- Enlarge uart cmd buffer to 4096 bytes
- Modified to stop cpu load statistic when task number exceeds TASK_CNT for AT+STATE
- Fixed shell ram task bug
- Fixed compile error when enable IPv6
- Fixed ota clear error when using command AT+OTACLEAR for AmebaSmart
OTA
- Added support for ota compression
- Fixed ota flow bug
- Fixed download error when first buffer length less than manifest_size
- Fixed compile error when enable upgrade bootloader ota for AmebaDplus
- Changed print ota version from hexadecimal to decimal when boot
- Changed ota image name from OTA_All to ota_all
File System
- Optimized vfs module
- Added function vfs region2 as fatfs which combined after image2
- Fixed link error and warning when vfs-fatfs enabled
- Fixed compile error when include sys/unistd.h or sys/stat.h
- Synced nand flash adaptation from flash loader module for AmebaSmart
Mass Production
- Supported fast MP for AmebaDplus
- Modified MP option description in menuconfig and enable shrink when MP by default
- Fixed error when build MP normal for AmebaLite
Network
- Modified state definition to avoid confict with tcpbase.h
- Modified ws/wss read/write get error number method
- Removed so_error warning
- Fixed the issue of abnormal disconnection of usbh_wifi bridge during iperf process for AmebaSmart
- Fixed compilation warning of ethernet for AmebaSmart
- Enable net_would_block() function for mbedtls
- Enable "Cipher Suite: TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" and MBEDTLS_SHA1_C for mbedtls
Example
- Added example of wifi user customize reconnect
- Fixed hardfault of httpd_vfs example
- Fixed issue of printing fail when using example wifi_nat_repeater
- Fixed i2c raw master polling compile error
- Fixed the compilation warnings related to the examples
- Fixed softap hardfault in ethernet example
WiFi
- Added disconnect reason and join fail reason in WIFI_EVENT_JOIN_STATUS event
- Added wifi event and user auto reconnect examples
- Added fail reason as return value for wifi_connect api
- Added csi new metholds
- Added wifi sdio bridge mode on AmebaDplus
- Added api to get tx power for user
- Added api to specify tx power for user
- Added cca and edcca info in wifi_fetch_phy_statistic
- Moved wifi auto reconnect in applicaion layer
- Updated channel plan to R70
- Deleted api wifi_get_disconn_reason_code
- Deleted p_wifi_joinstatus_internal_callback, use WIFI_EVENT_JOIN_STATUS event instead
- Deleted wifi_off api
- Fixed the deadlock issue when wifi connect fail
- Added AT+IPERF3 to use iperf3 and fix iperf3 fail issue
- Fixed wifi speaker disconnect issue
- Fixed WPS stack overflow issue
- Fixed NP dead lock when to delete pmksa cache
- Fixed csi crash
- Fixed the issue that antdiv fail when only rx broadcast pkts
- Fixed wifi speaker rx fail after group key update
- Fixed addbareq cannot issue again if receive delba
- Fixed security fault issue of getting btm active from Extend Capability IE.
- Fixed bug of wifi disconnect caused by incorrect beacon ssid check.
- Fixed wifi reconnect fail with WPA3 transition mode AP
- Fixed softap rssi display error issue
- Fixed wifi disconnect casued by UDP tx in tkip mode for AmebaDplus
- Fixed tx packets drop during wifi scan
- Changed csa mode to 0, keep receiving data from sta
Bluetooth
- Added Mesh 1.1 features
- Supported multi section patch format
- Supported fast MP flow for AmebaDplus
- Supported run time change TX power
- Added PBAP profile for AmebaSmart & AmebaLite
- Added RFC profile for AmebaSmart & AmebaLite
- Added BT transfer module example for AmebaDplus
- Added an api to get the stopped advertising handle according to the connection handle
- Added an api to set security pairing mode
- Added api to get advertising & scan & security parameters
- Added LE L2CAP connection oriented channels related api
- Used new AT+ command format
- Reconstructed HCI driver
- Changed extended scan related api name
- Changed BT power control related api name
- Changed set security paramters api
- Changed log print api to reduce stack size
- Optimized some log format
- Optimized LE audio performance
- Optimized BT secure stack size
- Fixed memory leak when BT init fail
- Fixed error and memory leak of BT deinit
- Fixed potential conflict of legacy and extended advertising api
- Fixed crash in some mesh scenario & LE audio scenario
- Fixed abnormal HCI event report
- Fixed some audio distortion issue in BIS & CIS for AmebaSmart & AmebaLite
- Fixed correct event report order when extended connect success for AmebaDplus
- Removed useless files
- Removed some internal test AT commands
System
- Added retarget newlib locks to avoid buffer access error for multi-threaded applications when call __wrap_printf
- Adjust common flash layout region within 4M for AmebaLite & AmebaDplus
- Added sdk version print in main
- Added toolchain installation check, toolchain version check and python check
- Supported toolchain download from aliyun
- Modified dsp related macro and variable for AmebaLite
- Removed no such file hint for verification and no a.out for cc-size when building
- Update gitignore and readme
SoC
- Added a Gather Scatter example in GDMA
- Added support for AmebaSmart XIP
- Enhanced the parameter checking in the Flash_WriteStream api
- Improved the SDIO device driver by fixing bugs occurring in extreme cases and resolving memory leak issues
- Optimized the memory layout for easier memory allocation across different CPUs
- Improved the logging system by defaulting to a smaller stack usage logging function provided by Realtek
- Upgraded the I2C driver with the addition of timeout mechanisms, exception alerts, and safety mechanisms
- Provided a new api for GPIO to control direction and output direction more safely
- Corrected the printing issues caused by unaligned stacks
- Optimized the OS wrapper and corrected typographical errors
- Updated the audio api to be compatible with the Realtek player and support more data formats, achieving lower WiFi audio latency
- Optimized CTC filter parameters and adjusted the CTC architecture
- Removed the timer trigger and compare mode functionalities from the ADC module
- Fixed the issue where the CA32 interrupt did not protect the FPU registers and addressed the problem of interrupts being mistakenly enabled in critical regions
- Fixed the DMA channel release issue in the mbed UART and SPI api
- Fixed a boot error in Sboot caused by image sizes not aligned to 32 bytes
USB
- Added remote wakeup support for device stack
- Added initial support for UAC 2.0 device
- Added support for role switch
- Added SD hotplug support for MSC device
- Added verification test cases
- Fixed DMA RX cache sync issues for device stack
- Fixed BULK IN timeout issue for CDC ECM host
- Fixed hotplug issue for CDC ECM host
- Fixed ISOC IN error for UVC host in DMA mode
- Fixed MPS issue for HID device
- Fixed ZLP issue for INIC device
- Fixed Coverity check errors
- Fixed phy calibration issue for host
- Removed deprecated section declarations
- Reduced init delay
- Eliminated unnecessary IO access
- Shrinked the log messages for USB stack
Audio
- Chosen different in multi-io and tdm for same channel
- Added I2S slave or master mode interface for user
- Added audio patch interfaces
- Added audio_manager example
- Added I2S role and data format setting
- Fixed audio standby occasionally stuck issue
- Fixed stop stuck issue when i2s slave has no lrclk.
- Fixed the reset crash issue
Tools
- Update Image Tool to v2.7.17
- Update 1_N MP Image Tool to v2.5.26
- Update Trace Tool to v2.1.33
- Update Audio Test Tool to v1.0.4
- Release Cap Test Tool v1.0.5