0.3.8
版本发布时间: 2022-06-02 17:27:41
Nuclei-Software/nuclei-sdk最新发布版本:0.6.0(2024-07-01 10:42:53)
This is release version 0.3.8
of Nuclei SDK.
-
Application
- Add
smphello
application to test baremetal smp support, this will do demostration to boot default 2 core and each hart print hello world.
- Add
-
NMSIS
- Some macros used in NMSIS need to expose when DSP present
- nmsis_core.h might be included twice, it might be included by <Device.h> and <riscv_math.h>
-
Build
- Add
SYSCLK
andCLKSRC
make variable for gd32vf103 SoC to set system clock in hz and clock source, such asSYSCLK=72000000 CLKSRC=hxtal
- Exclude source files using
EXCLUDE_SRCS
make variable in Makefile -
C_SRCS/ASM_SRCS/CXX_SRCS
now support wildcard pattern -
USB_DRV_SUPPORT
in gd32vf103 is removed, newUSB_DRIVER
is introduced,USB_DRIVER=device/host/both
to choose device, host or both driver code. -
SMP
,HEAPSZ
andSTACKSZ
make variable are introduced to control stack/heap size and smp cpu count used in SDK
- Add
-
SoC
- Add libncrt 2.0.0 support for demosoc and gd32vf103, libncrt stub functions need to be adapted, see 2e09b6b0 and 2e09b6b0
- Fix ram size from 20K to 32K for gd32vf103v_eval and gd32vf103v_rvstar
- Change demosoc eclic/timer baseaddr to support future cpu iregion feature, see eab28320d and 18109d04
- Adapt system_gd32vf103.c to support control system clock in hz and clock source via macro SYSTEM_CLOCK and CLOCK_USING_IRC8M or CLOCK_USING_HXTAL
- Merge various changes for gd32vf103 support from @gsauthof, see PR #37, #38, #40
- Remove usb config header files and usb config source code for gd32vf103
- Change gd32vf103 linker scripts to support
HEAPSZ
andSTACKSZ
- Change demosoc linker scripts to support
HEAPSZ
,STACKSZ
andSMP
- Add baremetal SMP support for demosoc, user can pass
SMP=2
to build for 2 smp cpu.
-
Tools
- Record more flags in
nsdk_report.py
such asNUCLEI_SDK_ROOT
,OPENOCD_CFG
andLINKER_SCRIPT
. - Fix nsdk_report.py generated runresult.xls file content is not correct when some application failed
- Add benchmark c standard script in tools/misc/barebench
- Change to support
SMP
variable
- Record more flags in
-
OS
- RT_HEAP_SIZE defined in cpuport.c is small, need to be 2048 for msh example when RT_USING_HEAP is enabled
- Application can define RT_HEAP_SIZE in rtconfig.h to change the size
For detailed changes, please check commit histories since 0.3.7 release.