Skip to content

Commit

Permalink
Remove nr5m100(risc-v) arch and board source code
Browse files Browse the repository at this point in the history
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
  • Loading branch information
xiaoxiang781216 authored and btashton committed Mar 11, 2021
1 parent f71c5e5 commit c54d617
Show file tree
Hide file tree
Showing 54 changed files with 4 additions and 6,670 deletions.
7 changes: 0 additions & 7 deletions Documentation/introduction/detailed_support.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3020,13 +3020,6 @@ RISC-V
RISC-V Architectural Support. Basic support for the RISC-V architecture
was contributed by Ken Pettit in NuttX-7.19.

NEXT RISC-V NR5Mxx
------------------

This support is for a custom NEXT RISC-V NR5Mxx (RV32IM). The initial release
is *thin* but a great starting point for anyone interested in RISC-V development with
NuttX.

GreenWaves GAP8
---------------

Expand Down
1 change: 0 additions & 1 deletion Documentation/introduction/supported_platforms.rst
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ from board-to-board. Follow the links for the details:
-
- :ref:`introduction/detailed_support:RISC-V` (2)

- :ref:`introduction/detailed_support:NEXT RISC-V NR5Mxx` (1)
- :ref:`introduction/detailed_support:GreenWaves GAP8` (1)
- :ref:`introduction/detailed_support:LiteX on Arty A7` (1)

Expand Down
2 changes: 0 additions & 2 deletions Documentation/quickstart/organization.rst
Original file line number Diff line number Diff line change
Expand Up @@ -225,8 +225,6 @@ Current architecture/chip directories are summarized below:
- ``arch/renesas``: This directory is the home for various
Renesas architectures, currently only the M16C and vererable
SuperH-1 architectures.
- ``arch/risc-v``: This directory supports the RISC-V NR5
architecture.
- ``arch/xtensa``: This directory supports the Xtensa LX6
architecture as used by the ESP32.
- ``arch/z16f``: Zilog z16f Microcontroller.
Expand Down
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2302,11 +2302,8 @@ Below is a guide to the available README files in the NuttX source tree:
| | `- us7032evb1/
| | `- README.txt
| |- risc-v/
| | |- gap8/
| | | `- gapuino/
| | | `- README.txt
| | `-nr5m100/
| | `- nr5m100-nexys4/
| | `- gap8/
| | `- gapuino/
| | `- README.txt
| |- sim/
| | `- sim/
Expand Down
1 change: 0 additions & 1 deletion arch/README.txt
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,6 @@ arch/risc-v
arch/risc-v/include/gap8 and arch/risc-v/src/gap8
arch/risc-v/include/k210 and arch/risc-v/src/k210
arch/risc-v/include/litex and arch/risc-v/src/litex
arch/risc-v/include/nr5m100 and arch/risc-v/src/nr5m100
arch/risc-v/include/rv32im and arch/risc-v/src/rv32im
arch/risc-v/include/rv64gc and arch/risc-v/src/rv64gc

Expand Down
22 changes: 1 addition & 21 deletions arch/risc-v/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ comment "RISC-V Options"

choice
prompt "RISC-V chip selection"
default ARCH_CHIP_NR5
default ARCH_CHIP_RISCV_CUSTOM

config ARCH_CHIP_FE310
bool "SiFive FE310"
Expand All @@ -31,12 +31,6 @@ config ARCH_CHIP_LITEX
---help---
Enjoy Digital LITEX VEXRISCV softcore processor (RV32IMA).

config ARCH_CHIP_NR5
bool "NEXT NanoRisc5"
select ARCH_RV32IM
---help---
NEXT RISC-V NR5Mxx architectures (RISC-V RV32IM cores).

config ARCH_CHIP_GAP8
bool "GreenwavesTechnologies GAP8"
select ARCH_RV32IM
Expand Down Expand Up @@ -101,22 +95,11 @@ config ARCH_CHIP
default "fe310" if ARCH_CHIP_FE310
default "k210" if ARCH_CHIP_K210
default "litex" if ARCH_CHIP_LITEX
default "nr5m100" if ARCH_CHIP_NR5
default "gap8" if ARCH_CHIP_GAP8
default "bl602" if ARCH_CHIP_BL602
default "esp32c3" if ARCH_CHIP_ESP32C3
default "c906" if ARCH_CHIP_C906

config NR5_MPU
bool "MPU support"
default n
depends on ARCH_HAVE_MPU
select ARCH_USE_MPU
---help---
Build in support for the RISC-V Memory Protection Unit (MPU).
Check your chip specifications first; not all RISC-V architectures
support the MPU.

if ARCH_RV32IM
source arch/risc-v/src/rv32im/Kconfig
endif
Expand All @@ -132,9 +115,6 @@ endif
if ARCH_CHIP_LITEX
source arch/risc-v/src/litex/Kconfig
endif
if ARCH_CHIP_NR5
source arch/risc-v/src/nr5m100/Kconfig
endif
if ARCH_CHIP_GAP8
source arch/risc-v/src/gap8/Kconfig
endif
Expand Down
56 changes: 0 additions & 56 deletions arch/risc-v/include/nr5m100/chip.h

This file was deleted.

55 changes: 0 additions & 55 deletions arch/risc-v/include/nr5m100/irq.h

This file was deleted.

66 changes: 0 additions & 66 deletions arch/risc-v/include/nr5m100/nr5m1xx_irq.h

This file was deleted.

2 changes: 1 addition & 1 deletion arch/risc-v/src/gap8/gap8_schedulesigaction.c
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@

#include <nuttx/irq.h>
#include <nuttx/arch.h>
#include <arch/nr5m100/irq.h>
#include <arch/gap8/irq.h>

#include "sched/sched.h"
#include "riscv_internal.h"
Expand Down
Loading

0 comments on commit c54d617

Please sign in to comment.