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 03-clock. 5 months ago
README.md Add 05-write. 5 months ago
main.s Add top-of-file comments. 5 months ago
memmap Add 03-clock. 5 months ago
p_clock.s Add top-of-file comments. 5 months ago
p_delay.s Add top-of-file comments. 5 months ago
platform_regs.inc A little cleanup. 5 months ago

README.md

03-clock

Add p_clock.s with a few functions for setting the clock on boot. There is also a new delay function that waits (twice) a given number of cycles, just so that one can observe the MCU clock speed by looking at how fast do the LEDs rotate. (Note that the "standard" delay uses the onboard timer, so that delay does not depend on the current MCU speed.)

Note that 320MHz clock speed makes the RED-V board noticeably warm at some places. So be careful.