Skip to content

Commit

Permalink
[RV32M1] Add RV32M1 spport
Browse files Browse the repository at this point in the history
This is based on https://github.com/open-isa-rv32m1/rv32m1-openocd
commit SHA 753dde2a62d9ea1f73c29bf95c771c653966b8ea with various
cleanups:

* Fixes to build with current openocd sources
* re-formatting files
* removed encoding.h

Signed-off-by: Kumar Gala <[email protected]>
Signed-off-by: Stephanos Ioannidis <[email protected]>
  • Loading branch information
galak authored and stephanosio committed Jun 14, 2022
1 parent ef38da9 commit 6e7129a
Show file tree
Hide file tree
Showing 13 changed files with 3,814 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/flash/nor/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ NOR_DRIVERS = \
%D%/jtagspi.c \
%D%/kinetis.c \
%D%/kinetis_ke.c \
%D%/rv32m1.c \
%D%/lpc2000.c \
%D%/lpc288x.c \
%D%/lpc2900.c \
Expand Down
2 changes: 2 additions & 0 deletions src/flash/nor/drivers.c
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ extern const struct flash_driver fespi_flash;
extern const struct flash_driver jtagspi_flash;
extern const struct flash_driver kinetis_flash;
extern const struct flash_driver kinetis_ke_flash;
extern const struct flash_driver rv32m1_flash;
extern const struct flash_driver lpc2000_flash;
extern const struct flash_driver lpc288x_flash;
extern const struct flash_driver lpc2900_flash;
Expand Down Expand Up @@ -122,6 +123,7 @@ static const struct flash_driver * const flash_drivers[] = {
&jtagspi_flash,
&kinetis_flash,
&kinetis_ke_flash,
&rv32m1_flash,
&lpc2000_flash,
&lpc288x_flash,
&lpc2900_flash,
Expand Down
Loading

0 comments on commit 6e7129a

Please sign in to comment.