changelog.rst 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140
  1. .. _changelog:
  2. Changelog
  3. =========
  4. V0.7.1
  5. ------
  6. This is version ``0.7.1`` of Nuclei SDK which is still in development.
  7. * NMSIS
  8. - Fix Cache CCM related API compile fail using c++ compiler
  9. - **mfp16mode** csr is renamed to **mmisc_ctl1** due to hw changes
  10. * SoC
  11. - Only call ``EnableSUCCM`` in ``_premain_init`` process when CCM present and S/U mode present defined in auto generated cpufeature.h
  12. * Misc
  13. - Fix various typos found in source code and doc
  14. - Recommend evalsoc user to run :ref:`cpuinfo` to check cpu features it present
  15. - If you want to do openocd rtos aware debug, you need to follow note in commit b7ed34e96
  16. - Evalsoc uart eclic irq maybe not working due to different cpu configuration
  17. V0.7.0
  18. ------
  19. This is release version ``0.7.0`` of Nuclei SDK.
  20. * Application
  21. * Add ``demo_plic`` case to show how to use PLIC related API in PLIC interrupt mode.
  22. * Add ``demo_clint_timer`` case to show how to use systimer in CLINT interrupt mode not ECLIC interrupt mode.
  23. * Update ``demo_pmp`` case to make it suitable for when PMP not present.
  24. * Change download mode from ``ddr`` to ``sram`` for smp and cache cases to be suitable for some custom soc sdk.
  25. * NMSIS
  26. - Add more ECC related macros for ``milm_ctl/mdlm_ctl/mcache_ctl`` csr
  27. - Add more PLIC interrupt API in ``core_feature_plic.h``
  28. - Add more interrupt related API when in plic interrupt mode, see changes in ``core_feature_base.h``
  29. - Bump NMSIS version to 1.3.0 with updated NMSIS Core/DSP/NN header files and prebuilt library
  30. * SoC
  31. - Add **Terapines ZCC NPK** support, require Nuclei Studio >= 2024.06
  32. - Merge newlib stub code from many files into one file called ``stubs.c`` for all SoC supported in Nuclei SDK
  33. - Enable I/D cache for evalsoc before data/bss initialization steps using ``cpufeature.h`` for faster data initialization
  34. - gd32vf103 default CORE name changed from ``n205`` to ``n203`` which are the same in software
  35. - gd32vw55x default CORE name changed from ``n307fd`` to ``n300fd`` which are the same in software
  36. - evalsoc default CORE name changed from ``n307fd`` to ``n300fd`` which are the same in software
  37. - Add plic interrupt and exception related handling code for evalsoc
  38. - Fix BPU is not enabled during startup for startup code for IAR compiler, which will increase performance of 600/900/1000 series a lot
  39. * Build System
  40. - Introduce ``XLCFG_xxx`` make variable for evalsoc which is only internally used by Nuclei to overwrite default cpufeature.h macro definition, which will be useful for some applications such as demo_cidu, demo_cache, demo_spmp, demo_smpu and demo_smode_eclic
  41. - Introduce ``ECC_EN`` make variable for evalsoc which is only internally used by Nuclei to control whether ECC check is enabled or disabled.
  42. - Add core ``n200e/n202/n202e`` and remove ``n205/n205e/n305/n307/n307fd`` which can be replaced by ``n203/n203e/n300/n300f/n300fd``
  43. - Prebuilt IAR projects and workbench are updated due to evalsoc support changes for plic and clint interrupt modes.
  44. - Add ``SYSCLK`` make variable for manually set default SYSTEM_CLOCK macro in evalsoc, it is useful for ``CODESIZE=1`` case
  45. - Add ``QEMU_MC_EXTOPT`` make variable to pass extra Nuclei Qemu ``-M`` machine options for evalsoc.
  46. - Add ``QEMU_CPU_EXTOPT`` make variable to pass extra Nuclei Qemu ``-cpu`` cpu options for evalsoc.
  47. V0.6.0
  48. ------
  49. This is release version ``0.6.0`` of Nuclei SDK.
  50. .. note::
  51. - Please use **Nuclei Studio 2024.06** with this Nuclei SDK 0.6.0.
  52. - There are many changes in this release, so we decide to name it as 0.6.0, not 0.5.1
  53. - This version introduced **ThreadX and FreeRTOS-SMP support** for Nuclei RISC-V Processors.
  54. - This version introduced a ``profiling`` middleware and an example to show code coverage and profiling technology
  55. using gcov and gprof in **Nuclei Studio 2024.06**.
  56. - We introduced support for **Nuclei 100 series RISC-V CPU**, but in seperated Nuclei SDK branches called **master_n100** or **develop_n100**, see https://doc.nucleisys.com/nuclei_n100_sdk
  57. - This version introduced support for gd32vw55x chip and Nuclei DLink Board.
  58. - Better **Terapines ZCC** toolchain integrated in Nuclei SDK and Nuclei Studio, try ZStudio Lite version here https://www.terapines.com/products/
  59. - Better **IAR Workbench** support in Nuclei SDK, with Baremetal SMP and FreeRTOS SMP supported.
  60. * Application
  61. - Add ThreadX RTOS example to show how to use ThreadX in SDK.
  62. - Add Nuclei 1000 series benchmark flags for benchmark examples.
  63. - Add ``demo_vnice`` example to show how to use Nuclei Vector NICE feature.
  64. - Add ``demo_profiling`` example to how to use gprof and gcov in Nuclei Studio.
  65. - Add ``smphello``, ``demo_cidu`` baremetal SMP examples in IAR workbench.
  66. - Add FreeRTOS ``smpdemo`` example to show how to use SMP version of FreeRTOS.
  67. - Optimize and fix ``cpuinfo`` example for better cpu feature dection.
  68. - Optimize benchmark gcc13 flags to provide better performance.
  69. - Fix wrong ipc calculating for benchmark examples.
  70. - Reset mcycle and minstret when read cycle or instret in benchmark examples.
  71. - Fix dhrystone strcmp_xlcz.S removed by make clean in windows.
  72. - Update benchmark flags for benchmark examples when compiled with Terapines ZCC Toolchain.
  73. - Fix ``lowpower`` example no need to use ``newlib_full`` library.
  74. * NMSIS
  75. - Update many CSR structure defined in ``core_feature_base.h`` such as ``CSR_MCFGINFO_Type``, ``CSR_MDLMCTL_Type`` and ``CSR_MCACHECTL_Type`` etc.
  76. - Add ``__set_rv_cycle`` and ``__set_rv_instret`` API to set cycle and instret csr registers.
  77. - Add ``CSR_MTLBCFGINFO_Type`` CSR structure in ``core_feature_base.h``.
  78. - Fix protection type error in PMP/sPMP API.
  79. - Fix wrong CLIC_CLICINFO_VER_Msk and CLIC_CLICINFO_NUM_Msk macro value in ``core_feature_eclic.h``
  80. - Add ``__ROR64`` in ``core_compatiable.h``.
  81. - Add and update DSP intrinsic APIs in ``core_feature_dsp.h``.
  82. - Add and update Nuclei customized CSRs in ``riscv_encoding.h``.
  83. - Sync NMSIS DSP/NN library 1.2.1
  84. * SoC
  85. - Redesign ``evalsoc`` reference SoC support software for better evalsoc and nuclei cpu support, see :ref:`design_soc_evalsoc_usage`
  86. - Remove ``-msave-restore`` in npk.yml to fix dhrystone benchmark value is low in Nuclei Studio issue.
  87. - No need to get system clock using ``get_cpu_freq`` for gd32vf103.
  88. - In npk.yml, when pass ``-isystem=`` should be changed to ``-isystem =`` as a workaround for Nuclei Studio to pass correct system include header.
  89. - Update standard c library and arch ext prompt for soc npk.yml for better hints.
  90. - Add ``gd32vf103c_dlink`` board support for Nuclei DLink development.
  91. - Fix non-ABS relocation R_RISCV_JAL against symbol '_start' fail for nuclei_llvm toolchain
  92. - Add Nuclei ``ux1000fd`` support in both NPK and Makefile based Build System.
  93. - Add support for **gd32vw55x** SoC which is Gigadevice new Nuclei RISC-V N300 Processor based WiFi MCU.
  94. - Add **SPLITMODE** support for **evalsoc** when evaluate NA class Core.
  95. - Allow custom linker script if npk variable ``linker_script`` is not empty.
  96. - Explicit declare asm function in gcc asm code if that part of code is a function, which is required by ``gprof`` plugin in Nuclei Studio.
  97. - Clear zc bit for non zc elf in mmsic_ctl csr for cases when cpu is not reset but zc bit is set before.
  98. - Only print CSR value when CSR is present during ``__premain_init`` for **evalsoc**.
  99. - Fix undefined symbol when link cpp for clang ``__eh_frame_start/__eh_frame_hdr_start/__eh_frame_end/__eh_frame_hdr_end``
  100. - Add **LDSPEC_EN**, **L2_EN** and **BPU_EN** for evalsoc in Makefile based build system to control
  101. load speculative, L2 cache and BPU enable or disable, which is only internally used.
  102. - Move eclic and interrupt and exception initialization from startup asm code into premain c code for evalsoc.
  103. - Optimize cpu startup when ECLIC not present it will not be initialized, which is helpful for CPU without ECLIC unit.
  104. - evalsoc ``SystemIRegionInfo`` variable is removed now, if you want to access to the base address of cpu internal device, you can use ``*_BASEADDR``,
  105. such as ``__CIDU_BASEADDR``.
  106. - Introduce an IAR startup asm code called ``IAR/startup.S`` for evalsoc to support SMP boot, and for SMP stack setup,
  107. different IAR linker script is required, see the iar linker script provided in ``smphello`` or ``freertos/smpdemo``.
  108. * Build System
  109. - Now disassemble elf will show no alias instructions
  110. - Add ``u600*/u900*/ux1000fd`` into support CORE list
  111. - Update and optimize toolchain support for Terapines ZCC Toolchain, which can provide better performance
  112. - In ``Build/toolchain/nuclei_gnu.mk``, ``-mmemcpy-strategy=scalar`` option is replaced by ``-mstringop-strategy=scalar`` in official gcc 14, see
  113. https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=4ae5a7336ac8e1ba57ee1e885b5b76ed86cdbfd5
  114. * RTOS
  115. - Bump FreeRTOS Kernel to V11.1.0
  116. - Bump RTThread Nano to V3.1.5
  117. - Introduce FreeRTOS SMP support for Nuclei RISC-V CPU
  118. - Introduce Eclipse ThreadX v6.4.1 Support for Nuclei RISC-V CPU
  119. * Misc
  120. - Add ``Zc/Zicond`` and ``1000`` series support in SDK CLI script used internally
  121. - Optimize gitlab ci jobs to speedup job execution time and better merge request pipeline check
  122. V0.5.0
  123. ------
  124. This is release version ``0.5.0`` of Nuclei SDK, please use it with `Nuclei Studio 2023.10`_ release.
  125. .. note::
  126. - This 0.5.0 version is a big change version for Nuclei SDK, it now support `Nuclei Toolchain 2023.10`_,
  127. which have gnu toolchain and llvm toolchain in it, gcc version increased to gcc 13, and clang version
  128. used is clang 17. It will no longer support old gcc 10 version, since gcc and clang ``-march`` option
  129. changed a lot, such as b extension changed to ``_zba_zbb_zbc_zbs``.
  130. - This version also introduced other compiler support such as terapines zcc and IAR compiler.
  131. For terapines zcc compiler, please visit https://www.terapines.com/ to contact them for toolchain evaluation, pass ``TOOLCHAIN=terapines`` during make to select terapines zcc compiler.
  132. For IAR compiler, please visit https://www.iar.com/riscv for IAR workbench evaluation, we provided iar projects to take a try with it.
  133. - This version introduced libncrt v3.0.0 support, which split libncrt library into three parts, you need to take care when using newer toolchain.
  134. - This version removed demosoc support, please use evalsoc instead.
  135. - This version introduced qemu 8.0 support, old qemu will not be supported.
  136. - This version introduced Nuclei Studio 2023.10 support which introduced llvm toolchain support via npk, so it can only works with 2023.10 or later version.
  137. - This version required a lot of new npk features introduced in `Nuclei Studio 2023.10`_, so it can only be imported as npk package in `Nuclei Studio 2023.10`_ or later version.
  138. * Application
  139. - Add cpuinfo case to dump nuclei cpu feature
  140. - Add stack check demo to demostrate nuclei stack check feature
  141. - Add support for gcc13/clang17/terapines/iar compiler
  142. - Fix missing break in ``__set_hpm_event`` function, take care if you are using this API.
  143. - For different compiler option support, we introduced ``toolchain_$(TOOLCHAIN).mk`` file to place toolchain specified options, see benchmark examples' Makefile
  144. - Optimize demo_cidu smp case
  145. - Optimize application code and makefile when port for clang, terapines zcc and iar compiler
  146. - Change :ref:`develop_buildsystem_var_archext` makefile comment for demo_dsp when using gcc 13
  147. - Auto choose proper CPU_SERIES and proper optimization flags for benchmark cases
  148. - Optimize whetstone cost to decrease execution time for better ci testing in qemu and fpga
  149. - Add Zc and Xxlcz extension optimization for coremark and dhrystone cases
  150. - Do specical adaption for demo_pmp/demo_spmp for iar compiler which require customized iar linker icf for this cases
  151. - Optimize benchmark flags when using gcc 13
  152. * NMSIS
  153. - Add bench reset/sample/stop/stat and get usecyc/sumcyc/lpcnt APIs in NMSIS Core
  154. - Add more CSRs such as Zc/Stack Check in riscv_encoding.h
  155. - Rename NMSIS DSP/NN library name to match gcc 13 changes, eg. ``b -> zba_zbb_zbc_zbs``, so the library name changed a lot
  156. - Add IAR compiler support in NMSIS Core
  157. - No more bitmanip extension intrinsic header ``<rvintrin.h>`` for gcc13
  158. - Fix ``__RV_CLAMP`` macro and add ``__MACHINE/SUPERVISOR/USER_INTERRUPT`` macros
  159. - Add ``__get_hart_index`` and ``SysTimer_GetHartID`` and modify ``__get_hart_id`` API
  160. - In <Device.h>, we introduced ``__HARTID_OFFSET`` and ``__SYSTIMER_HARTID`` macro to represent timer hart index relation with cpu hartid for AMP SoC
  161. - Update NMSIS Core/DSP/NN header files to `NMSIS 1.2.0`_
  162. - Update NMSIS DSP/NN prebuilt library to v1.2.0, and added F16 prebuilt library
  163. * SOC
  164. - **CAUTION**: Demosoc support is removed since evalsoc is the successor, please use **evalsoc** now.
  165. - Set **RUNMODE_CCM_EN** macro when **CCM_EN** make variable passed and allow ``__CCM_PRESENT`` overwrite by **RUNMODE_CCM_EN** macro
  166. - Enable ``__CIDU_PRESENT`` macro passed via compiler option
  167. - Update cpu startup asm code to fix clang compile issue such as STB_WEAK warning and non-ABS relocation error
  168. - Update cpu startup asm code to support zcmt jump table
  169. - Update gnu linker files to support zcmt extension
  170. - Update gnu linker files to fix 2 byte gap issue, and align section to 8bytes and reorg sections
  171. - Update openocd configuration files to support openocd new version
  172. - Make ``metal_tty_putc/getc`` with ``__USED`` attribute to avoid ``-flto`` build and link fail
  173. - Add startup and exception code and iar linker icf files for IAR compiler support
  174. - Add new macros ``__HARTID_OFFSET`` and ``__SYSTIMER_HARTID`` in evalsoc.h
  175. - Add **HARTID_OFFSET** make variable to control hartid offset for evalsoc
  176. - Boot hartid check no longer only compare lower 8bits for evalsoc
  177. - Currently IAR compiler support is only for single core support, smp support is not yet ready and need to use in IAR workbench
  178. - Update Nuclei Studio NPK files to support both gcc and llvm toolchain support, this require `Nuclei Studio 2023.10`_, which is incompatiable with previous IDE version.
  179. * Build System
  180. - Fix semihost not working when link with semihost library
  181. - Add support for gcc 13, clang 17, terapines zcc toolchain using :ref:`develop_buildsystem_var_toolchain` make variable, eg. ``TOOLCHAIN=nuclei_gnu`` for gnu gcc toolchain, ``TOOLCHAIN=nuclei_llvm`` for llvm toolchain, ``TOOLCHAIN=terapines`` for terapines zcc toolchain
  182. - Add support for libncrt v3.0.0, which spilt libncrt into 3 parts, the c library part, fileops part, and heapops part, so :ref:`develop_buildsystem_var_ncrtheap` and :ref:`develop_buildsystem_var_ncrtio` makefile variable are added to support new version of libncrt, about upgrading libncrt, please check :ref:`develop_buildsystem_var_stdclib`
  183. - To support both gcc, clang, zcc, now we no longer use ``--specs=nano.specs`` like ``--specs=`` gcc only options, since clang don't support it, we directly link the required libraries according to the library type you want to use in Makefile, group all the required libraries using ``--start-group archives --end-group`` of linker option, see https://sourceware.org/binutils/docs/ld/Options.html, but when using Nuclei Studio, the Eclipse CDT based IDE didn't provided a good way to do library group, here is an issue tracking it, see https://github.com/eclipse-embed-cdt/eclipse-plugins/issues/592
  184. - And also now we defaultly enabled ``-nodefaultlibs`` option to not use any standard system libraries when linking, so we need to specify the system libraries we want to use during linking, which is the best way to support both gcc and clang toolchain.
  185. - When using libncrt library, this is no need to link with other libgcc library, c library or math library, such as gcc libgcc library(``-lgcc``), newlib c library(``-lc/-lc_nano``) and math library(``-lm``), the c and math features are also provided in libncrt library
  186. - When using Nuclei Studio with imported Nuclei SDK NPK package, you might meet with undefined reference issue during link
  187. - The use of :ref:`develop_buildsystem_var_archext` is changed for new toolchain, eg. you can't pass ``ARCH_EXT=bp`` to represent b/p extension, instead you need to pass ``ARCH_EXT=_zba_zbb_zbc_zbs_xxldspn1x``
  188. - Show CC/CXX/GDB when make showflags
  189. - Add u900 series cores support
  190. - No longer support gd32vf103 soc run on qemu
  191. - Add extra ``-fomit-frame-pointer -fno-shrink-wrap-separate`` options for Zc extension to enable zcmp instruction generation
  192. - Extra **CPU_SERIES** macro is passed such (200/300/600/900) during compiling for benchmark examples
  193. - When you want to select different nmsis library arch, please use :ref:`develop_buildsystem_var_nmsis_lib_arch` make variable, see demo_dsp as example
  194. * Tools
  195. - A lot of changes mainly in nsdk cli configs have been made to remove support of demosoc, and change it to evalsoc
  196. - A lot of changes mainly in nsdk cli configs have been made to support newer :ref:`develop_buildsystem_var_archext` variable format
  197. - Add llvm ci related nsdk cli config files
  198. - Add Zc/Xxlcz fpga benchmark config files
  199. - Support qemu 8.0 in nsdk cli tools
  200. - Update configurations due to application adding and updating
  201. * RTOS
  202. - Add freertos/ucosii/rtthread porting code for IAR compiler
  203. - Enable vector when startup new task for rtos for possible execute rvv related instruction exception
  204. * Misc
  205. - Change gitlab ci to use `Nuclei Toolchain 2023.10`_
  206. - Add IAR workbench workspace and projects for evalsoc, so user can quickly evaluate IAR support in IAR workbench
  207. V0.4.1
  208. ------
  209. This is release version ``0.4.1`` of Nuclei SDK.
  210. * Application
  211. - Add demo_cidu to demo cidu feature of Nuclei RISC-V Processor
  212. - Add demo_cache to demo ccm feature of Nuclei RISC-V Processor
  213. - Optimize demo_nice for rv64
  214. - Fix compile error when -Werror=shadow
  215. - Update helloworld and smphello due to mhartid changes
  216. * NMSIS
  217. - Bump NMSIS to 1.1.1 release version, NMSIS DSP/NN prebuilt libraries are built with 1.1.1 release.
  218. - Add CIDU support via core_feature_cidu.h, and ``__CIDU_PRESENT`` macro is required in ``<Device>.h`` to represent CIDU present or not
  219. - Add macros of HPM m/s/u event enable, events type, events idx
  220. - Fix define error of HPM_INIT macro
  221. - Due to mhartid csr update for nuclei subsystem reference design, two new API added called ``__get_hart_id`` and ``__get_cluster_id``
  222. - mhartid csr is now used to present cluster id and hart id for nuclei subsystem reference design
  223. - bit 0-7 is used for hart id in current cluster
  224. - bit 8-15 is used for cluster id of current cluster
  225. - for normal nuclei riscv cpu design, the mhartid csr is used as usual, but in NMSIS Core, we only take
  226. lower 8bits in use cases like systimer, startup code to support nuclei subsystem
  227. * Build System
  228. - Add semihost support in build system via SEMIHOST make variable, if SEMIHOST=1, will link semihost library, currently only works with newlibc library, not working with libncrt
  229. - Add support for compile cpp files with suffix like .cc or .CC
  230. - Remove ``--specs=nosys.specs`` compile options used during compiling, since we have implement almost all necessary newlibc stub functions, no need to link the nosys version, which will throw warning of link with empty newlibc stub functions.
  231. * SoC
  232. - Fix missing definition of BOOT_HARTID in ``startup_demosoc.S``
  233. - Update demosoc and evalsoc interrupt id and handler definition for CIDU changes
  234. - Add ``__CIDU_PRESENT`` macro to control CIDU present or not in ``demosoc.h`` and ``evalsoc.h`` which is the ``<Device>.h``
  235. - Add uart status get and clear api for evalsoc and demosoc, which is used by cidu demo
  236. - Add semihost support for all SoCs, currently only works with newlib, ``SEMIHOST=1`` control semihost support
  237. - Update openocd configuration file to support semihosting feature
  238. - Add extra run/restart command for openocd debug configuration in smp debug in npk for Nuclei Studio
  239. - Update smp/boot flow to match mhartid csr update
  240. - **BOOT_HARTID** is the choosen boot hart id in current cluster, not the full mhartid register value, for example, it the mhartid csr register is 0x0101, and the **BOOT_HARTID** should be set to 1, if you want hart 1 to be boot hart
  241. - Update and add more newlib stub functions in demosoc/evalsoc/gd32vf103 SoC's newlibc stub implementation, since we are no longer compile with ``--specs=nosys.specs``
  242. * CI
  243. - Add demo_cidu and demo_cache in ci configuration files, but expect it to run fail when run in qemu
  244. - Don't check certificate when download tool
  245. * Tools
  246. - Modify openocd configuration file in nsdk_utils.oy support win32 now
  247. - Add new feature to generate cpu json when knowing cpu arch in nsdk_runcpu.py script
  248. - Add runresult_diff.py script to compare the difference of two runresult.xlsx.csvtable.json files, useful when
  249. do benchmark difference check
  250. - Add ``--uniqueid <id>`` option for nsdk cli tools
  251. V0.4.0
  252. ------
  253. This is release version ``0.4.0`` of Nuclei SDK.
  254. * Application
  255. - Add :ref:`design_app_demo_pmp` application to demostrate pmp feature.
  256. - Add :ref:`design_app_demo_spmp` application to demostrate smode pmp feature, spmp is present when TEE feature is enabled.
  257. - Add :ref:`design_app_demo_smode_eclic` application to demonstrate ECLIC interrupt with TEE feature of Nuclei Processor.
  258. - Changed ``test/core`` test case due to ``EXC_Frame_Type`` struct member name changes.
  259. - Fix XS bit set bug in demo_nice application.
  260. - Add return value in smphello application.
  261. * NMSIS
  262. - Add ``__CTZ`` count trailing zero API in core_compatiable.h
  263. - Add ``__switch_mode`` switch risc-v privilege mode API in core_feature_base.h
  264. - Add ``__enable_irq_s``, ``__disable_irq_s`` smode irq control(on/off) API in core_feature_base.h
  265. - Add ``__set_medeleg`` exception delegation API in core_feature_base.h
  266. - Update and add smode eclic related API in core_feature_eclic.h only present when **TEE_PRESENT=1**
  267. - Optimize APIs of PMP and add ``__set_PMPENTRYx`` and ``__get_PMPENTRYx`` API for easily PMP configuration in core_feature_pmp.h
  268. - Add spmp related APIs for smode pmp hardware feature when **__SPMP_PRESENT=1**
  269. - Add per-hart related APIs for systimer such as ``SysTimer_SetHartCompareValue``, ``SysTimer_SetHartSWIRQ`` and etc in core_feature_timer.h, this is mainly needed when configure timer in smode per hart
  270. - Add TEE related csr macros in riscv_encoding.h
  271. - Add iregion offset macros and N3/VP mask in riscv_encoding.h and use it in demosoc/evalsoc implementation.
  272. - Add ``ICachePresent/DCachePresent`` API
  273. - Don't sub extra cost for BENCH_xxx API
  274. - Update NMSIS Core/DSP/NN and prebuilt library to version 1.1.0
  275. * Build System
  276. - Add ``intexc_<Device>_s.S`` asm file into compiling for evalsoc and demosoc
  277. - Show ``ARCH_EXT`` information when run make info
  278. - Don't specify elf filename when run gdb, only specify it when do load to avoid some gdb internal error
  279. - Add ``BOOT_HARTID`` and ``JTAGSN`` support, which need to be done in SoC support code and build system
  280. * SoC
  281. - Add smode interrupt and exception handling framework for evalsoc and demosoc, for details see code changes.
  282. - A new section called ``.vector_s`` is added(required in linker script) to store smode vector table which is initialized in ``system_<Device>.c``
  283. - A new ``intexc_<Device>_s.S`` asm source file is added to handle s-mode interrupt and exception
  284. - A default smode exception register and handling framework is added in ``system_<Device>.c``
  285. - **API Changes**: ``Exception_DumpFrame`` parameters changed to add mode passing in ``system_<Device>.c/h``
  286. - **API Changes**: ``EXC_Frame_Type`` struct member mcause/mepc changed to cause/epc in ``system_<Device>.c/h``
  287. - Print ``\0`` instead of ``\r`` when do simulation exit for better integration in Nuclei Studio QEMU simulation.
  288. - Add ``clock`` stub function for libncrt library in demosoc/evalsoc/gd32vf103 SoC support software.
  289. - Add ``sram`` download mode for evalsoc/demosoc, for details directly check the linker script
  290. - Change default ``__ICACHE_PRESENT/__DCACHE_PRESENT`` to 1 for evalsoc/demosoc, when evalsoc/demosoc startup, it will
  291. enable i/d cache if it really present.
  292. - Update openocd configuration files to remove deprecated command which might not be support in future
  293. - Merge smp and single core openocd config into one configuration for evalsoc and demosoc
  294. - Add **BOOT_HARTID** support for evalsoc and demosoc, which is used to specify the boot hartid, used together with **SMP**
  295. can support SMP or AMP run mode
  296. - Add **JTAGSN** support to specify a unified hummingbird jtag debugger via ``adapter serial``
  297. - For AMP support, we can work together with Nuclei Linux SDK, see https://github.com/Nuclei-Software/nsdk_ampdemo
  298. - Add NPK support for SMP/AMP working mode, and sram download mode
  299. * CI
  300. - Start to use Nuclei QEMU/Toolchain/OpenOCD 2022.12 in daily ci for gitlab runner
  301. * Tools
  302. - Add ``httpserver.py`` tool to create a http server on selected folder, good to preview built documentation.
  303. - Fix many issues related to nsdk_cli scripts when integrated using fpga hardware ci flow.
  304. - Support extra parsing benchmark python script for nsdk_cli tools, see 5f546fa0
  305. - Add ``nsdk_runcpu.py`` tool to run fpga baremetal benchmark
  306. * Documentation
  307. - Add ``make preview`` to preview build documentation.
  308. V0.3.9
  309. ------
  310. This is release version ``0.3.9`` of Nuclei SDK.
  311. * Application
  312. - Add ``lowpower`` application to demonstrate low-power feature of Nuclei Processor.
  313. - Update ``demo_nice`` application due to RTL change in cpu.
  314. - Change dhrystone compiling options to match better with Nuclei CPU IP.
  315. * NMSIS
  316. - Update riscv_encoding.h, a lot of changes in the CSRs and macros, VPU are added.
  317. - Add nmsis_bench.h, this header file will not be included in nmsis_core.h, if you want to
  318. use it, please directly include in your source code. It is used to help provide NMSIS
  319. benchmark and high performance monitor macro helpers.
  320. - Add hpm related API in core_feature_base.h
  321. - Add enable/disable vector API only when VPU available
  322. * Build System
  323. - Fix upload program the pc is not set correctly to _start when cpu is reset in flash programming mode.
  324. - Add run_qemu_debug/run_xlspike_rbb/run_xlspike_openocd make targets
  325. * SoC
  326. - Add npk support for smp, required to update ide plugin in Nuclei Studio 2022.04. And also a new version
  327. of qemu is required, if you want to run in qemu.
  328. - Add ``evalsoc`` in Nuclei SDK, ``evalsoc`` is a new evaluation SoC for Nuclei RISC-V Core, for next generation
  329. of cpu evaluation with iregion feature support. ``demosoc`` will be deprecated in future, when all our CPU IP
  330. provide iregion support.
  331. - **Important**: A lot of changes are made to linker script of SDK.
  332. - rodata are placed in data section for ilm/flash/ddrdownload mode, but placed in text section for flashxip download mode.
  333. - For ilm download mode, if you want to make the generated binary smaller, you can change REGION_ALIAS of DATA_LMA from ``ram`` to ``ilm``.
  334. - Add ``_text_lma/_text/_etext`` to replace ``_ilm_lma/_ilm/_eilm``, and startup code now using new ld symbols.
  335. - Use REGION_ALIAS to make linker script portable
  336. - Linker scripts of gd32vf103/evalsoc/demosoc are all changed.
  337. - FPU state are set to initial state when startup, not previous dirty state.
  338. - Vector are enabled and set to initial state when startup, when vector are enabled during compiling.
  339. - For latest version of Nuclei CPU IP, BPU cold init need many cycles, so we placed bpu enable before enter to main.
  340. V0.3.8
  341. ------
  342. This is release version ``0.3.8`` of Nuclei SDK.
  343. * Application
  344. - Add ``smphello`` application to test baremetal smp support, this will do demonstration
  345. to boot default 2 core and each hart print hello world.
  346. * NMSIS
  347. - Some macros used in NMSIS need to expose when DSP present
  348. - nmsis_core.h might be included twice, it might be included by <Device.h> and <riscv_math.h>
  349. * Build
  350. - Add ``SYSCLK`` and ``CLKSRC`` make variable for gd32vf103 SoC to set system clock in hz and clock source, such as ``SYSCLK=72000000 CLKSRC=hxtal``
  351. - Exclude source files using ``EXCLUDE_SRCS`` make variable in Makefile
  352. - ``C_SRCS/ASM_SRCS/CXX_SRCS`` now support wildcard pattern
  353. - ``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.
  354. - ``SMP``, ``HEAPSZ`` and ``STACKSZ`` make variable are introduced to control stack/heap
  355. size and smp cpu count used in SDK
  356. * SoC
  357. - Add libncrt 2.0.0 support for demosoc and gd32vf103, libncrt stub functions need to be adapted, see 2e09b6b0 and 2e09b6b0
  358. - Fix ram size from 20K to 32K for gd32vf103v_eval and gd32vf103v_rvstar
  359. - Change demosoc eclic/timer baseaddr to support future cpu iregion feature, see eab28320d and 18109d04
  360. - 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**
  361. - Merge various changes for gd32vf103 support from ``gsauthof@github``, see PR #37, #38, #40
  362. - Remove usb config header files and usb config source code for gd32vf103
  363. - Change gd32vf103 linker scripts to support ``HEAPSZ`` and ``STACKSZ``
  364. - Change demosoc linker scripts to support ``HEAPSZ``, ``STACKSZ`` and ``SMP``
  365. - Add baremetal SMP support for demosoc, user can pass ``SMP=2`` to build for 2 smp cpu.
  366. * Tools
  367. - Record more flags in ``nsdk_report.py`` such as ``NUCLEI_SDK_ROOT``, ``OPENOCD_CFG`` and ``LINKER_SCRIPT``.
  368. - Fix nsdk_report.py generated runresult.xls file content is not correct when some application failed
  369. - Add benchmark c standard script in tools/misc/barebench
  370. - Change to support ``SMP`` variable
  371. * OS
  372. - RT_HEAP_SIZE defined in cpuport.c is small, need to be 2048 for msh example when RT_USING_HEAP is enabled
  373. - Application can define RT_HEAP_SIZE in rtconfig.h to change the size
  374. For detailed changes, please check commit histories since 0.3.7 release.
  375. V0.3.7
  376. ------
  377. This is release version ``0.3.7`` of Nuclei SDK.
  378. * Application
  379. - **CAUTION**: Fix benchmark value not correct printed when print without float c library,
  380. which means the CSV printed value in previous release is not correct, please take care
  381. - Add **DHRY_MODE** variable to support different dhrystone run options in dhrystone benchmark, ``ground``, ``inline`` and ``best`` are supported
  382. * NMSIS
  383. - Bump to v1.0.4
  384. - Add B-extension support for NMSIS
  385. - Fix various issues reported in github
  386. * Build
  387. - add ``showflags`` target to show compiling information and flags
  388. - add ``showtoolver`` target to show tool version used
  389. * SoC
  390. - Change all un-registered interrupt default handler to ``default_intexc_handler``, which means user need to register
  391. the interrupt handler using ``ECLIC_SetVector`` before enable it.
  392. - Add **RUNMODE** support only in ``demosoc``, internal usage
  393. - Add jlink debug configuration for gd32vf103 soc
  394. * Tools
  395. - Update ``nsdk_report.py`` script to support generate benchmark run result in excel.
  396. - Add ``ncycm`` cycle model runner support in ``nsdk_bench.py``
  397. - Add ``nsdk_runner.py`` script for running directly on different fpga board with feature of programing fpga bitstream using vivado
  398. For detailed changes, please check commit histories since 0.3.6 release.
  399. V0.3.6
  400. ------
  401. This is release version ``0.3.6`` of Nuclei SDK.
  402. * Application
  403. - update coremark benchmark options for n900/nx900, which can provide better score number
  404. - benchmark value will be print in float even printf with float is not supported in c library
  405. - baremetal applications will exit with an return value in main
  406. * NMSIS
  407. - add ``__CCM_PRESENT`` macro in NMSIS-Core, if CCM hardware unit is present in your CPU,
  408. ``__CCM_PRESENT`` macro need to be set to 1 in ``<Device>.h``
  409. - Fixed mtvec related api comment in ``core_feature_eclic.h``
  410. - Add safely write mtime/mtimecmp register for 32bit risc-v processor
  411. - rearrage #include header files for all NMSIS Core header files
  412. - removed some not good #pragma gcc diagnostic lines in ``nmsis_gcc.h``
  413. * Build
  414. - Add experimental ``run_xlspike`` and ``run_qemu`` make target support
  415. - ``SIMU=xlspike`` or ``SIMU=qemu`` passed in make will auto exit xlspike/qemu if main function returned
  416. * SoC
  417. - Add xlspike/qemu auto-exit support for gd32vf103 and demosoc, required next version after Nuclei QEMU 2022.01
  418. For detailed changes, please check commit histories since 0.3.5 release.
  419. V0.3.5
  420. ------
  421. This is release version ``0.3.5`` of Nuclei SDK.
  422. .. caution::
  423. - This version introduce a lot of new features, and required Nuclei GNU Toolchain 2022.01
  424. - If you want to import as NPK zip package into Nuclei Studio, 2022.01 version is required.
  425. - If you want to have smaller code size for Nuclei RISC-V 32bit processors, please define ``STDCLIB=libncrt_small``
  426. in your application Makefile, or change **STDCLIB** defined in ``Build/Makefile.base`` to make it available
  427. globally.
  428. * Application
  429. - **DSP_ENABLE** and **VECTOR_ENABLE** are deprecated now in demo_dsp application, please use **ARCH_EXT** to replace it.
  430. ``ARCH_EXT=p`` equal to ``DSP_ENABLE=ON``, ``ARCH_EXT=v`` equal to ``VECTOR_ENABLE=ON``.
  431. - ``demo_dsp`` application no need to set include and libraries for NMSIS DSP library, just use ``NMSIS_LIB = nmsis_dsp`` to
  432. select NMSIS DSP library and set include directory.
  433. - Update coremark compile options for different Nuclei cpu series, currently
  434. 900 series options and 200/300/600 series options are provided, and can be selected by ``CPU_SERIES``.
  435. - ``CPU_SERIES=900``: the compiler options for Nuclei 900 series will be selected.
  436. - otherwise, the compiler options for Nuclei 200/300/600 series will be selected, which is by default for 300
  437. - Fix ``whetstone`` application compiling issue when compiled with v extension present
  438. * SoC
  439. - Provide correct gd32vf103.svd, the previous one content is messed up.
  440. - ``putchar/getchar`` newlib stub are required to be implemented for RT-Thread porting
  441. - Added support for newly introduced nuclei c runtime library(libncrt).
  442. - Rearrange stub function folder for gd32vf103 and demosoc to support
  443. different c runtime library.
  444. - A lot changes happened in link scripts under SoC folder
  445. - heap section is added for libncrt, size controlled by ``__HEAP_SIZE``
  446. - heap start and end ld symbols are ``__heap_start`` and ``__heap_end``
  447. - stub function ``sbrk`` now using new heap start and end ld symbols
  448. - tdata/tbss section is added for for libncrt, thread local storage supported
  449. - For **flash** download mode, vector table are now placed in ``.vtable`` section now instead of ``.vtable_ilm``,
  450. ``VECTOR_TABLE_REMAPPED`` macro is still required in **DOWNLOAD=flash** mode
  451. - flash program algo used in openocd for demosoc changed to nuspi, see changes in openocd_demosoc.cfg
  452. * NMSIS
  453. - Update NMSIS Core/DSP/NN to version 1.0.3, see `NMSIS 1.0.3 Changelog`_
  454. - Update prebuilt NMSIS DSP/NN library to version 1.0.3 built by risc-v gcc 10.2
  455. - For NMSIS Core 1.0.3, no need to define ``__RISCV_FEATURE_DSP`` and ``__RISCV_FEATURE_VECTOR``
  456. for ``riscv_math.h`` now, it is now auto-defined in ``riscv_math_types.h``
  457. * OS
  458. - Change RT-Thread porting to support libncrt and newlibc, mainly using putchar and getchar
  459. * Build System
  460. - Introduce :ref:`develop_buildsystem_var_stdclib` makefile variable to support different c library.
  461. - **NEWLIB** and **PFLOAT** variable is deprecated in this release.
  462. - Introduce :ref:`develop_buildsystem_var_archext` makefile variable to support b/p/v extension.
  463. - Only link ``-lstdc++`` library when using **STDCLIB=newlib_xxx**
  464. - **RISCV_CMODEL** variable is added to choose code model, medlow or medany can be chosen,
  465. default is ``medlow`` for RV32 otherwise ``medany`` for RV64.
  466. - **RISCV_TUNE** variable is added to select riscv tune model, for Nuclei CPU, we added ``nuclei-200-series``,
  467. ``nuclei-300-series``, ``nuclei-600-series`` and ``nuclei-900-series`` in Nuclei RISC-V GNU toolchain >= 2021.12
  468. * Contribution
  469. - Update contribution guide due to runtime library choices provided now.
  470. * NPK
  471. - **newlibsel** configuration variable changed to **stdclib**, and is not compatiable.
  472. - **newlibsel=normal** change to **stdclib=newlib_full**
  473. - **newlibsel=nano_with_printfloat** changed to **stdclib=newlib_small**
  474. - **newlibsel=nano** changed to **stdclib=newlib_nano**
  475. - **stdclib** has more options, please see ``SoC/demosoc/Common/npk.yml``
  476. - **nuclei_archext** is added as new configuration variable, see ``SoC/demosoc/Common/npk.yml``
  477. * tools
  478. - generate benchmark values in csv files when running nsdk_bench.py or nsdk_execute.py
  479. - fix xl_spike processes not really killed in linux environment when running nsdk_bench.py
  480. For detailed changes, please check commit histories since 0.3.4 release.
  481. V0.3.4
  482. ------
  483. This is release version ``0.3.4`` of Nuclei SDK.
  484. * CI
  485. - Fix gitlab ci fail during install required software
  486. * Build System
  487. - build asm with -x assembler-with-cpp
  488. * Tools
  489. - Fix ``tools/scripts/nsdk_cli/configs/nuclei_fpga_eval_ci_qemu.json`` description issue for dsp enabled build configs
  490. - Generate html report when run ``tools/scripts/nsdk_cli/nsdk_bench.py``
  491. - nsdk_builder.py: modify qemu select cpu args,change ``p`` to ``,ext=p``
  492. * SoC
  493. - For demosoc, if you choose ilm and ddr download mode, then the data section's LMA is equal to VMA now, and there
  494. will be no data copy for data section, bss section still need to set to zero.
  495. - For demosoc, if you choose ilm and ddr download mode, The rodata section are now also placed in data section.
  496. * NPK
  497. - add ``-x assembler-with-cpp`` in npk.yml for ssp
  498. For detailed changes, please check commit histories since 0.3.3 release.
  499. V0.3.3
  500. ------
  501. This is release version ``0.3.3`` of Nuclei SDK.
  502. * NPK
  503. - Fix NPK issues related to QEMU for demosoc and gd32vf103, and RTOS macro definitions in NPK
  504. - This SDK release required Nuclei Studio 2021.09-ENG1, 2021.08.18 build version
  505. For detailed changes, please check commit histories since 0.3.2 release.
  506. V0.3.2
  507. ------
  508. This is release version ``0.3.2`` of Nuclei SDK.
  509. * Build
  510. - **Important changes** about build system:
  511. - The SoC and RTOS related makefiles are moving to its own folder, and controlled By
  512. **build.mk** inside in in the SoC/<SOC> or OS/<RTOS> folders.
  513. - Middlware component build system is also available now, you can add you own middleware or library
  514. into ``Components`` folder, such as ``Components/tjpgd`` or ``Components/fatfs``, and you can include
  515. this component using make variable ``MIDDLEWARE`` in application Makefile, such as ``MIDDLEWARE := fatfs``,
  516. or ``MIDDLEWARE := tjpgd fatfs``.
  517. - Each middleware component folder should create a ``build.mk``, which is used to control
  518. the component build settings and source code management.
  519. - An extra ``DOWNLOAD_MODE_STRING`` macro is passed to represent the DOWNLOAD mode string.
  520. - In ``startup_<Device>.S`` now, we don't use ``DOWNLOAD_MODE`` to handle the vector table location, instead
  521. we defined a new macro called ``VECTOR_TABLE_REMAPPED`` to stand for whether the vector table's vma != lma.
  522. If ``VECTOR_TABLE_REMAPPED`` is defined, the vector table is placed in ``.vtable_ilm``, which means the vector
  523. table is placed in flash and copy to ilm when startup.
  524. - Change openocd ``--pipe`` option to ``-c "gdb_port pipe; log_output openocd.log"``
  525. - Remove ``-ex "monitor flash protect 0 0 last off"`` when upload or debug program to avoid error
  526. when openocd configuration file didn't configure a flash
  527. - Add ``cleanall`` target in **<NUCLEI_SDK_ROOT>/Makefile**, you can clean all the applications
  528. defined by ``EXTRA_APP_ROOTDIRS`` variable
  529. - Fix ``size`` target of build system
  530. * Tools
  531. - Add ``nsdk_cli`` tools in Nuclei SDK which support run applications
  532. - **tools/scripts/nsdk_cli/requirements.txt**: python module requirement file
  533. - **tools/scripts/nsdk_cli/configs**: sample configurations used by scripts below
  534. - **tools/scripts/nsdk_cli/nsdk_bench.py**: nsdk bench runner script
  535. - **tools/scripts/nsdk_cli/nsdk_execute.py**: nsdk execute runner script
  536. * SoC
  537. - Add general bit operations and memory access APIs in ``<Device>.h``, eg. ``_REG32(p, i)``, ``FLIP_BIT(regval, bitofs)``
  538. - ``DOWNLOAD_MODE_xxx`` macros are now placed in ``<Device>.h``, which is removed from ``riscv_encoding.h``, user can define
  539. different ``DOWNLOAD_MODE_xxx`` according to its device/board settings.
  540. - ``DOWNLOAD_MODE_STRING`` are now used to show the download mode string, which should be passed eg. ``-DOWNLOAD_MODE_STRING=\"flash\"``,
  541. it is used in ``system_<Device>.c``
  542. - ``DOWNLOAD_MODE_xxx`` now is used in ``startup_<Device>.S`` to control the vector table location,
  543. instead a new macro called ``VECTOR_TABLE_REMAPPED`` is used, and it should be defined in ``SoC/<SOC>/build.mk``
  544. if the vector table's LMA and VMA are different.
  545. * NMSIS
  546. - Bump NMSIS to version 1.0.2
  547. * OS
  548. - Fix OS task switch bug in RT-Thread
  549. V0.3.1
  550. ------
  551. This is official version ``0.3.1`` of Nuclei SDK.
  552. .. caution::
  553. - We are using ``demosoc`` to represent the Nuclei Evaluation SoC for customer to replace the old name ``hbird``.
  554. - The ``hbird`` SoC is renamed to ``demosoc``, so the ``SoC/hbird`` folder is renamed to ``SoC/demosoc``,
  555. and the ``SoC/hbird/Board/hbird_eval`` is renamed to ``SoC/demosoc/Board/nuclei_fpga_eval``.
  556. * SoC
  557. - board: Add support for TTGO T-Display-GD32, contributed by `tuupola`_
  558. - Add definitions for the Interface Association Descriptor of USB for GD32VF103, contributed by `michahoiting`_.
  559. - **IMPORTANT**: ``hbird`` SoC is renamed to ``demosoc``, and ``hbird_eval`` is renamed to ``nuclei_fpga_eval``
  560. - Please use ``SOC=demosoc BOARD=nuclei_fpga_eval`` to replace ``SOC=hbird BOARD=hbird_eval``
  561. - The changes are done to not using the name already used in opensource Hummingbird E203 SoC.
  562. - Now ``demosoc`` is used to represent the Nuclei Demo SoC for evaluation on Nuclei FPGA evaluation Board(MCU200T/DDR200T)
  563. * Documentation
  564. - Update ``msh`` application documentation
  565. - Add basic documentation for **TTGO T-Display-GD32**
  566. - Add Platformio user guide(written in Chinese) link in get started guide contributed by Maker Young
  567. * Application
  568. - Increase idle and finsh thread stack for RT-Thread, due to stack size is not enough for RISC-V 64bit
  569. - Set rt-thread example tick hz to 100, and ucosii example tick hz to 50
  570. * Build
  571. - Format Makefile space to tab
  572. - Add $(TARGET).dasm into clean targets which are missing before
  573. * Code style
  574. - Format source files located in application, OS, SoC, test using astyle tool
  575. V0.3.0
  576. ------
  577. This is official version ``0.3.0`` of Nuclei SDK.
  578. * SoC
  579. - Add more newlib stub functions for all SoC support packages
  580. - Dump extra csr ``mdcause`` in default exception handler for hbird
  581. - Add Sipeed Longan Nano as new supported board
  582. - Add **gd32vf103c_longan_nano** board support, contributed by `tuupola`_ and `RomanBuchert`_
  583. * Documentation
  584. - Add ``demo_nice`` application documentation
  585. - Add ``msh`` application documentation
  586. - Update get started guide
  587. - Add **gd32vf103c_longan_nano** board Documentation
  588. - Update board documentation structure levels
  589. * Application
  590. - Cleanup unused comments in dhrystone
  591. - Add new ``demo_nice`` application to show Nuclei NICE feature
  592. - Add new ``msh`` application to show RT-Thread MSH shell component usage
  593. * NMSIS
  594. - Fix typo in CLICINFO_Type._reserved0 bits
  595. - Fix ``__STRBT``, ``__STRHT``, ``__STRT`` and ``__USAT`` macros
  596. * OS
  597. - Add ``msh`` component source code into RT-Thread RTOS source code
  598. - Add ``rt_hw_console_getchar`` implementation
  599. * Build
  600. - Add ``setup.ps1`` for setting up environment in windows powershell
  601. V0.2.9
  602. ------
  603. This is official version ``0.2.9`` of Nuclei SDK.
  604. * SoC
  605. - Remove ``ftdi_device_desc "Dual RS232-HS"`` line in openocd configuration.
  606. .. note::
  607. Newer version of RVSTAR and Hummingbird Debugger have changed the FTDI description
  608. from "Dual RS232-HS" to "USB <-> JTAG-DEBUGGER", to be back-compatiable with older
  609. version, we just removed this ``ftdi_device_desc "Dual RS232-HS"`` line.
  610. If you want to select specified JTAG, you can add this ``ftdi_device_desc`` according
  611. to your description.
  612. - Fix typos in **system_<Device>.c**
  613. - Fix gpio driver implementation bugs of hbird
  614. - Enable more CSR(micfg_info, mdcfg_info, mcfg_info) show in gdb debug
  615. * Documentation
  616. - Add more faqs
  617. * Build System
  618. - Remove unnecessary upload gdb command
  619. - Remove upload successfully message for ``make upload``
  620. V0.2.8
  621. ------
  622. This is the official release version ``0.2.8`` of Nuclei SDK.
  623. * SoC
  624. - Fixed implementation for ``_read`` newlib stub function, now scanf
  625. can be used correctly for both gd32vf103 and hbird SoCs.
  626. * Misc
  627. - Update platformio package json file according to latest platformio requirements
  628. V0.2.7
  629. ------
  630. This is the official release version ``0.2.7`` of Nuclei SDK.
  631. * OS
  632. - Fix OS portable code, configKERNEL_INTERRUPT_PRIORITY should
  633. set to default 0, not 1. 0 is the lowest abs interrupt level.
  634. * Application
  635. - Fix configKERNEL_INTERRUPT_PRIORITY in FreeRTOSConfig.h to 0
  636. * NMSIS
  637. - Change timer abs irq level setting in function SysTick_Config from 1 to 0
  638. V0.2.6
  639. ------
  640. This is the official release version ``0.2.6`` of Nuclei SDK.
  641. * Application
  642. - Fix typo in rtthread demo code
  643. - Update helloworld application to parse vector extension
  644. * NMSIS
  645. - Update NMSIS DSP and NN library built using NMSIS commit 3d9d40ff
  646. * Documentation
  647. - Update quick startup nuclei tool setup section
  648. - Update build system documentation
  649. - Fix typo in application documentation
  650. V0.2.5
  651. ------
  652. This is the official release version ``0.2.5`` of Nuclei SDK.
  653. This following changes are maded since ``0.2.5-RC1``.
  654. * SoC
  655. - For **SOC=hbird**, in function ``_premain_init`` of ``system_hbird.c``, cache will be enable in following cases:
  656. - If ``__ICACHE_PRESENT`` is set to 1 in ``hbird.h``, I-CACHE will be enabled
  657. - If ``__DCACHE_PRESENT`` is set to 1 in ``hbird.h``, D-CACHE will be enabled
  658. * Documentation
  659. - Fix several invalid cross reference links
  660. * NMSIS
  661. - Update and use NMSIS 1.0.1
  662. V0.2.5-RC1
  663. ----------
  664. This is release ``0.2.5-RC1`` of Nuclei SDK.
  665. * Documentation
  666. - Fix invalid links used in this documentation
  667. - Rename `RVStar` to `RV-STAR` to keep alignment in documentation
  668. * NMSIS
  669. - Update and use NMSIS 1.0.1-RC1
  670. - Add NMSIS-DSP and NMSIS-NN library for RISC-V 32bit and 64bit
  671. - Both RISC-V 32bit and 64bit DSP instructions are supported
  672. * SoC
  673. - All startup and system init code are adapted to match design changes of NMSIS-1.0.1-RC1
  674. - `_init` and `_fini` are deprecated for startup code, now please use `_premain_init` and `_postmain_fini` instead
  675. - Add `DDR` download mode for Hummingbird SoC, which downloaded program into DDR and execute in DDR
  676. V0.2.4
  677. ------
  678. This is release ``0.2.4`` of Nuclei SDK.
  679. * Application
  680. - Upgrade the ``demo_dsp`` application to a more complicated one, and by default,
  681. ``DSP_ENABLE`` is changed from ``OFF`` to ``ON``, optimization level changed from
  682. ``O2`` to no optimization.
  683. * SoC
  684. - Update openocd configuration file for Hummingbird FPGA evaluation board,
  685. If you want to use ``2-wire`` mode of JTAG, please change ``ftdi_oscan1_mode off``
  686. in ``openocd_hbird.cfg`` to ``ftdi_oscan1_mode on``.
  687. - Add ``delay_1ms`` function in all supported SoC platforms
  688. - Fix bugs found in uart and gpio drivers in hbird SoC
  689. - Move ``srodata`` after ``sdata`` for ILM linker script
  690. - Change bool to BOOL to avoid cpp compiling error in gd32vf103
  691. - Fix ``adc_mode_config`` function in gd32vf103 SoC
  692. * Build System
  693. - Add **GDB_PORT** variable in build system, which is used to specify the gdb port
  694. of openocd and gdb when running ``run_openocd`` and ``run_gdb`` targets
  695. - Add Nuclei N/NX/UX 600 series core configurations into *Makefile.core*
  696. - Add -lstdc++ library for cpp application
  697. - Generate hex output for dasm target
  698. - Optimize Makefile to support MACOS
  699. V0.2.3
  700. ------
  701. This is release ``0.2.3`` of Nuclei SDK.
  702. * OS
  703. - Add **RT-Thread 3.1.3** as a new RTOS service of Nuclei SDK, the kernel source
  704. code is from RT-Thread Nano project.
  705. - Update UCOSII source code from version ``V2.91`` to ``V2.93``
  706. - The source code of UCOSII is fetched from https://github.com/SiliconLabs/uC-OS2/
  707. - **Warning**: Now for UCOSII application development, the ``app_cfg.h``, ``os_cfg.h``
  708. and ``app_hooks.c`` are required, which can be also found in
  709. https://github.com/SiliconLabs/uC-OS2/tree/master/Cfg/Template
  710. * Application
  711. - Add **RT-Thread** demo application.
  712. - Don't use the ``get_cpu_freq`` function in application code, which currently is only
  713. for internal usage, and not all SoC implementations are required to provide this function.
  714. - Use ``SystemCoreClock`` to get the CPU frequency instead of using ``get_cpu_freq()`` in
  715. ``whetstone`` application.
  716. - Update UCOSII applications due to UCOSII version upgrade, and application development
  717. for UCOSII also required little changes, please refer to :ref:`design_rtos_ucosii`
  718. - Fix ``time_in_secs`` function error in ``coremark``, and cleanup ``coremark`` application.
  719. * Documentation
  720. - Add documentation about RT-Thread and its application development.
  721. - Update documentation about UCOSII and its application development.
  722. - Update ``coremark`` application documentation.
  723. * Build System
  724. - Add build system support for RT-Thread support.
  725. - Build system is updated due to UCOSII version upgrade, the ``OS/UCOSII/cfg`` folder
  726. no longer existed, so no need to include it.
  727. * SoC
  728. - Update SoC startup and linkscript files to support RT-Thread
  729. * Misc
  730. - Add ``SConscript`` file in Nuclei SDK root, this file is used by RT-Thread package.
  731. V0.2.2
  732. ------
  733. This is release ``0.2.2`` of Nuclei SDK.
  734. * OS
  735. - Update UCOSII portable code
  736. - Now both FreeRTOS and UCOSII are using similar portable code,
  737. which both use ``SysTimer Interrupt`` and ``SysTimer Software Interrupt``.
  738. * Documentation
  739. - Update documentation about RTOS
  740. V0.2.1
  741. ------
  742. This is release ``0.2.1`` of Nuclei SDK.
  743. * Build System
  744. - Add extra linker options ``-u _isatty -u _write -u _sbrk -u _read -u _close -u _fstat -u _lseek``
  745. in Makefile.conf to make sure if you pass extra ``-flto`` compile option, link phase will not fail
  746. * Documentation
  747. - Add documentation about how to optimize for code size in application development, using ``demo_eclic``
  748. as example.
  749. * OS
  750. - Update FreeRTOS to version V10.3.1
  751. - Update FreeRTOS portable code
  752. * NMSIS
  753. - Update NMSIS to release ``v1.0.0-beta1``
  754. V0.2.0-alpha
  755. ------------
  756. This is release ``0.2.0-alpha`` of Nuclei SDK.
  757. * Documentation
  758. - Initial verison of Nuclei SDK documentation
  759. - Update Nuclei-SDK README.md
  760. * Application
  761. - Add ``demo_eclic`` application
  762. - Add ``demo_dsp`` application
  763. - ``timer_test`` application renamed to ``demo_timer``
  764. * Build System
  765. - Add comments for build System
  766. - Small bug fixes
  767. * **NMSIS**
  768. - Change ``NMSIS/Include`` to ``NMSIS/Core/Include``
  769. - Add ``NMSIS/DSP`` and ``NMSIS/NN`` header files
  770. - Add **NMSIS-DSP** and **NMSIS-NN** pre-built libraries
  771. V0.1.1
  772. ------
  773. This is release ``0.1.1`` of Nuclei SDK.
  774. Here are the main features of this release:
  775. * Support Windows and Linux development in command line using Make
  776. * Support development using PlatformIO, see https://github.com/Nuclei-Software/platform-nuclei
  777. * Support Humming Bird FPGA evaluation Board and GD32VF103 boards
  778. - The **Humming Bird FPGA evaluation Board** is used to run evaluation FPGA bitstream
  779. of Nuclei N200, N300, N600 and NX600 processor cores
  780. - The **GD32VF103 boards** are running using a real MCU from Gigadevice which is using
  781. Nuclei N200 RISC-V processor core
  782. * Support different download modes flashxip, ilm, flash for our FPGA evaluation board
  783. .. _Nuclei-SDK: https://github.com/Nuclei-Software/nuclei-sdk
  784. .. _tuupola: https://github.com/tuupola
  785. .. _RomanBuchert: https://github.com/RomanBuchert
  786. .. _michahoiting: https://github.com/michahoiting
  787. .. _NMSIS 1.0.3 Changelog: https://doc.nucleisys.com/nmsis/changelog.html#v1-0-3
  788. .. _Nuclei Studio 2023.10: https://github.com/Nuclei-Software/nuclei-studio/releases/tag/2023.10
  789. .. _Nuclei Toolchain 2023.10: https://github.com/riscv-mcu/riscv-gnu-toolchain/releases/tag/nuclei-2023.10
  790. .. _NMSIS 1.2.0: https://github.com/Nuclei-Software/NMSIS/releases/tag/1.2.0