Skip to content

Nuclei embedded Software Development Kit, Release 0.3.8

Compare
Choose a tag to compare
@fanghuaqi fanghuaqi released this 02 Jun 09:27
· 1150 commits to master since this release
4c72945

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.
  • 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 and CLKSRC make variable for gd32vf103 SoC to set system clock in hz and clock source, such as SYSCLK=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, new USB_DRIVER is introduced, USB_DRIVER=device/host/both to choose device,
      host or both driver code.
    • SMP, HEAPSZ and STACKSZ make variable are introduced to control stack/heap
      size and smp cpu count used in SDK
  • SoC

    • Add libncrt 2.0.0 support for demosoc and gd32vf103, libncrt stub functions need to be adapted, see 2e09b6b and 2e09b6b
    • 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 eab2832 and 18109d0
    • 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 and STACKSZ
    • Change demosoc linker scripts to support HEAPSZ, STACKSZ and SMP
    • 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 as NUCLEI_SDK_ROOT, OPENOCD_CFG and LINKER_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
  • 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.