Update README.md

main
FPGALover 2024-02-27 23:48:10 +00:00
parent 8839eb4ac4
commit 5ebd59bd45
1 changed files with 26 additions and 3 deletions

View File

@ -1,9 +1,9 @@
# neorv32 # neorv32
neorv32 with Makefiles compatible with MSYS2 64 on Windows(ONLY ASSEMBLY CODE) and Linux(ASSEMBLY, C, and CPP). neorv32 with Makefiles compatible with MSYS2 64 for cross compilatation on Windows and Linux.
# 1. Windows Installation, and test(Assembly code). # 1. Windows Installation, and test.
# 2. Linux Installation, and test(C code). # 2. Linux Installation, and test.
## 1. Windows Installation ## 1. Windows Installation
@ -101,7 +101,30 @@ in this case the architecture x64 for windows binaries(https://github.com/xpack-
-rw-rw-rw- 1 adriz 0 972 2024-02-24 01:45 neorv32_raw_exe.hex -rw-rw-rw- 1 adriz 0 972 2024-02-24 01:45 neorv32_raw_exe.hex
``` ```
10. you have been able to Assemble assembly code for the RISCV on windows. 10. you have been able to Assemble assembly code for the RISCV on windows.
11. go con the folder **neorv32\sw\example\demo_blink_led** which is the same example as the previous one but written on C code., and run the line "make all"
```
$ make all
"Memory utilization:"
text data bss dec hex filename
1092 0 0 1092 444 main.elf
"Generationg APP BIN"
"OK - APP BIN"
"Generationg APP IMG VHD"
"OK - APP IMG VHD"
"Generationg RAW HEX"
"OK - RAW HEX"
"Generationg RAW BIN"
"OK - RAW BIN"
"Generationg BOOT IMG VHD"
"OK - BOOT IMG VHD"
"Memories Generated"
```
12. now you have cross-compiled sucessfuly on windows for C and Assembly.
13. if you go to the folder **neorv32\sw\example**, and run the command "make all" you will be able to build all the projects within this folder.
Enjoy!
## 2. Linux Installation ## 2. Linux Installation