Assembly examples for Red-V Thing Plus (SiFive FE310-G002)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
flabbergast 930b40bef2 Add debugging info into README. 5 months ago
..
Makefile Add 01-blink. 6 months ago
README.md Add 02-chase. 6 months ago
main.s Add top-of-file comments. 5 months ago
memmap Add 01-blink. 6 months ago
p_delay.s Add top-of-file comments. 5 months ago
platform_regs.inc A little cleanup. 5 months ago

README.md

01-blink

Blink on pin 6 (active low). This is where the LED (active high) is on Sparkfun's RED-V Thing Plus. It is also SPI1_SCK pin, and the default bootloader assigns it the SCK function, because it is trying to communicate with the ESP32 (over SPI) that's present of the HiFive1 Rev B board. And of course it does not clean up, so we need to do it ourselves.

Delay uses CLINT/mtime counter.

No stack, interrupts, nothing.