|
|
5 miesięcy temu | |
|---|---|---|
| .ci | 4 lat temu | |
| .github | 10 miesięcy temu | |
| Build | 10 miesięcy temu | |
| Components | 4 lat temu | |
| NMSIS | 1 rok temu | |
| OS | 5 miesięcy temu | |
| SoC | 6 miesięcy temu | |
| application | 5 miesięcy temu | |
| doc | 5 miesięcy temu | |
| ideprojects | 1 rok temu | |
| test | 1 rok temu | |
| tools | 5 miesięcy temu | |
| .astylerc | 4 lat temu | |
| .clang-format | 6 lat temu | |
| .editorconfig | 6 lat temu | |
| .gitignore | 2 lat temu | |
| .gitlab-ci.yml | 10 miesięcy temu | |
| LICENSE | 6 lat temu | |
| Makefile | 2 lat temu | |
| NMSIS_VERSION | 1 rok temu | |
| README.md | 8 miesięcy temu | |
| SConscript | 6 miesięcy temu | |
| npk.yml | 5 miesięcy temu | |
| package.json | 6 miesięcy temu | |
| setup.bat | 1 rok temu | |
| setup.ps1 | 1 rok temu | |
| setup.sh | 1 rok temu |
[!NOTE] If you want to develop and run program on Nuclei 200/300/600/900/1000 series RISC-V CPU, please switch to develop or master branch.
This N100 SDK is modified based on the Nuclei SDK framework, NMSIS is also a modified version to support limited feature provided by Nuclei 100 series processor.
We also integrated some RTOSes into Nuclei SDK, which are FreeRTOS, UCOSII and RTThread, you can easily find it in the OS folder.
Nuclei RISC-V GCC/Clang, IAR compiler and Terapines ZCC are supported in Nuclei N100 SDK.
Wanner to take a try with Nuclei N100 SDK for Nuclei 100 series CPU, click Quick Start with Nuclei N100 SDK to start up.
Wanner to take a try with Nuclei SDK for Nuclei 200/300/600/900/1000 series CPU, click Quick Start with Nuclei SDK to start up.
setup.bat or setup.sh
setup_config.sh in $NUCLEI_SDK_ROOT.setup_config.bat in %NUCLEI_SDK_ROOT%.source setup.shsetup.batBuild and run application.
evalsoc and nuclei_fpga_eval,
if you don't pass any SOC and BOARD variable in Make command,
it will use the default SoC and Board.CORE=n100mFor example, if you want to build your application for CORE=n100m DOWNLOAD=sram, you can easily run this command:
make CORE=n100m DOWNLOAD=sram all
If you want to upload your application for CORE=n100m DOWNLOAD=sram, you can easily run this command:
make CORE=n100m DOWNLOAD=sram upload
(Option 1)If you want to debug your application for CORE=n100m DOWNLOAD=sram:
make CORE=n100m DOWNLOAD=sram run_openocdmake CORE=n100m DOWNLOAD=sram run_gdb in the existing terminal, then you can debug it using gdb,
if you want to load your program, you need to type load to achieve it.GDB_PORT=<portno>, to change to use new gdb port other than default
3333, for example, make CORE=n100m DOWNLOAD=sram GDB_PORT=3344 run_openocd and make CORE=n100m DOWNLOAD=sram GDB_PORT=3344 run_gdb(Option 2)If you want to debug your application for CORE=n100m DOWNLOAD=sram:
make CORE=n100m DOWNLOAD=sram debug
If you want to use UART terminal tool to view the UART message, you can choose screen or minicom in Linux, teraterm in Windows, the default UART baudrate we use is 115200.
N100 SDK only support Nuclei RISC-V Toolchain >= 2025.02, and toolchain prefix is riscv64-unknown-elf-.
N100 SDK is modified based on Nuclei SDK, so the user experience are similiar to Nuclei SDK, and directory structure is also similar, if you have experience in using Nuclei SDK, it will be easy to use N100 SDK.