Skip to content

Instantly share code, notes, and snippets.

# The name of your project (used to name the compiled .hex file)
TARGET = $(notdir $(CURDIR))
# The teensy version to use, 30, 31, 35, 36, or LC
TEENSY = 36
# Set to 24000000, 48000000, or 96000000 to set CPU core speed
#TEENSY_CORE_SPEED = 48000000
TEENSY_CORE_SPEED = 180000000
core 0: 0x0000000080000000 (0x006f8f93) addi t6, t6, 6
:
core 0: 0x0000000080000004 (0x300f9073) csrw mstatus, t6
: reg 0 mstatus
0x0000000000000002
: reg 0 t6
0x0000000000000006
:
illustris@RISCV:~/FreeRTOS/Demo/riscv-spike$ rv 17 && spike -d riscv-spike.elf
'/opt/riscv' -> '/home/illustris/rv17'
: until pc 0 6a4
: reg 0 mepc
0x0000000000004e84
:
core 0: 0x00000000000006a4 (0x10010113) addi sp, sp, 256
:
core 0: 0x00000000000006a8 (0x10000073) sret
: pc 0
riscv-spike.elf: file format elf64-littleriscv
Disassembly of section .text:
0000000080000000 <boot>:
80000000: 1400006f j 80000140 <_mstart>
0000000080000004 <debugloop>:

Keybase proof

I hereby claim:

  • I am illustris on github.
  • I am illustris (https://keybase.io/illustris) on keybase.
  • I have a public key whose fingerprint is 084B D98E 9A82 A04F B475 851E E905 7543 CFE2 6FB5

To claim this, I am signing this object: