Repository navigation
SiFli-SDK Release v2.4.5
Changelog
Documentation for v2.4.5 is available at https://docs.sifli.com/projects/sdk/v2.4.5/sf32lb52x/index.html
Main Changes
- All examples now support sf32lb56-lcd and sf32lb58-lcd series boards
- The default toolchain set by
set_envhas been changed togcc. To compile using Keil, runset_env keilinstead
Change log since v2.4.4
Drivers
Fixed
- rcc: Fixed PCLK2 configuration error in deepwfi state for sf32lb52x
- psram: Fixed bit-flip issue when PSRAM working at 24MHz on 52x
- nand: Fixed ECC status mode of HYF4GQ4UTACAE
- gpio: Fixed rt_pin callback not being invoked by LCPU side when HCPU is in sleep on SF32LB58
- gpio: Fixed HPSYS sleep issue when using GPIO2 wakeup pin
Changed
- pdm: Added PDM2 support
- common: Added sf32lb58 revision and LCPU config mismatch check
- sdio: Added PM mode configuration
Middleware
Fixed
- lvgl: Changed to use RT-Thread's malloc by default to avoid compiler warnings
- log: Fixed log crash when log is paused
- lvgl_v9: Fixed issue where LV_USE_MEM_MONITOR cannot be enabled when LV_STDLIB_BUILTIN is absent
- lvgl_v8: Fixed abnormal slider progress filling caused by list rendering problem
- elm_rw: Fixed incomplete exported file data
Changed
- dfu: Added support for 55x
- lvgl: Added
CONFIG_prefix to macro definitions that do not have it
Added
- dfu_pan: Added DFU_PAN
- battery: Added battery component
Bluetooth
Fixed
- bt: Synced LCPU patch for sf32lb52x and sf32lb56x
- ble: Fixed ble connection cfm auth error
- bt: Fixed typo by replacing mis-use of
callHeldStatuswithcallSetupStatus - ble: Fixed ad type flags set error
- ble: Changed rw timer to soft time
- bt: Fixed hf feature about multi connect
Changed
- bt: Unified BR/EDR output power to 10dBm for 56x no-signal test
- bt: Synced 52x and 56x RF driver
- bt: Fixed 56x BIS audio stuttering issue
- ble: Added some GATT cmp message process
- bt: Supported two sbc/aac decoders
Added
- bt: Added AVRCP multi-connection function
- bt: Added API for role switch
- ble: Added ble tx power service
- bt: Added passkey and pincode pair mode
- ble: Added BLE_GAP_SET_PHY_CNF message
- ble: Added read remote feature finsh command
- ble: Added a way to set primary phy for ble advertising
- bt: Added RF hopping test
RTOS
Fixed
- gmtime: Modified to search for RTC device only when time value is needed
Examples
Fixed
multimedia/audio/record: Removed gain settingmultimedia/audio/record: Fixed playback time bugble/hid: Added debouncing for the button of board eh-lb551ble/peripheral_with_ota: Turned off ULOG_OUTPUT_LVL_Ibt/pan: Fixed PAN delete link key bugmultimedia/audio/record: Fixed abnormal playback speed because data is written to NOR Flash
Changed
all examples: Added support for sf32lb56x-lcd and sf32lb58-lcd series boardbt/music_source: Fixed incorrect description of playback loop count in READMEble/file_transfer: Fixed path length verification issue and enabled RTC functionble/talkback: Added README
Tools
Fixed
- build: Fixed VS2017 project generation failure
Changed
- set_env: Changed to use GCC as default toolchain
BSP
Fixed
board/eh-lb520: Expanded DFU_FLASH_CODE areaboard/sf32lb52-lchspi-ulp: Added DFU_DOWNLOAD_REGION areaboard/eh-lb551: Increased size of DFU areaboard/eh-lb555: Fixed DFU region of board eh-lb555 not being large enoughboard/sf32lb56-lcd_n16r12n1: Changed to use UART1 as console and not enable UART4 by HCPU sideboard/sf32lb58-lcd: Fixed HCPU_FLASH_CODE tag error in 58-lcd_n16xxx boardsboard/sf32lb58-lcd: Fixed key config errorboard/sf32lb56-lcd: Fixed key config errorboard/sf32lb56-lcd: Fixed LED pin config errorboard/sf32lb58-lcd: Added DFU areaboard/sf32lb58-lcd_a128r32n1_dsi: Fixed filesystem not workingboard/sf32lb58-lcd_a128r32n1_dsi: Fixed JLINK_DEVICEboard/sf32lb58-lcd_a128r32n1_a1_dsi: Fixed filesystem not workingboard/sf32lb58-lcd: Enabled PA and specified control pinboard/sf32lb52-lcd_n16r8_jdi: Corrected board macro definition
Added
- board: Added board sf32lb58-lcd_n16r32n1_qspi and sf32lb58-lcd_a128r32n1_qspi which use QSPI display as default display
- board: Added sf32lb58-lcd board variants using A1 chip