nuttx/boards/risc-v/c906/smartl-c906
Huang Qi e144b1208f boards/riscv: Fix module linker target
Fix:
```
riscv-none-elf-ld: sotest.o: ABI is incompatible with that of the selected emulation:
  target emulation `elf64-littleriscv' does not match `elf32-littleriscv'
riscv-none-elf-ld: failed to merge target specific data of file sotest.o
```

Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
2023-09-20 17:04:56 +08:00
..
configs libc/tls: Change the default value of TLS_NELEM to zero 2023-07-20 08:11:30 +02:00
include Indent the include statement by two spaces 2023-05-16 12:34:32 -03:00
kernel boards/riscv: Add -melf64lriscv to 64bit USER_LDFLAGS/LDELFFLAGS 2023-08-25 21:22:47 +03:00
scripts boards/riscv: Fix module linker target 2023-09-20 17:04:56 +08:00
src Fix typos 2022-08-07 23:33:19 +08:00
Kconfig
README-qemu.txt arch:rv64:c906:demo protect build without PMP. 2021-03-16 11:43:10 -03:00
README.txt

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