nuttx/boards/risc-v/c906/smartl-c906
Masayuki Ishikawa 613cbbf688 boards: risc-v: Move -fno-common option to ARCHCFLAGS/ARCHCXXFLAGS
Summary:
- Apply the same style as sabre-6quad

Impact:
- None
- NOTE: esp32c3-devkit still remains old style because of link errors

Testing:
- Build only

Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2022-02-15 16:27:53 +08:00
..
configs Revert "libc: Call pthread_exit in user-space by up_pthread_exit" 2022-02-09 21:21:43 +08:00
include arch:riscv64:basic porting for C906. 2021-03-10 19:23:24 +08:00
kernel boards: move USERMAIN_XX out of INIT_ENTRYPOINT 2021-12-24 08:23:30 -06:00
scripts boards: risc-v: Move -fno-common option to ARCHCFLAGS/ARCHCXXFLAGS 2022-02-15 16:27:53 +08:00
src arch/risc-v: Merge rv32im and rv64gc into common 2022-01-11 23:24:33 +08:00
Kconfig arch:riscv64:basic porting for C906. 2021-03-10 19:23:24 +08:00
README-qemu.txt arch:rv64:c906:demo protect build without PMP. 2021-03-16 11:43:10 -03:00
README.txt arch:riscv64:basic porting for C906. 2021-03-10 19:23:24 +08:00

1. Download and install toolchain

  https://occ.t-head.cn/community/download

2. Download and install qemu

  https://occ.t-head.cn/community/download

3. Modify defconfig

4. Configure and build NuttX

  $ make distclean
  $ ./tools/configure.sh smartl-c906:nsh
  $ make -j

5. Run the nuttx by downloading elf to RAM via HW debugger

6. TODO

  Support FPU
  Support ELF based file applications
  Support RISC-V User mode