Skip to content

Commit

Permalink
enable SD card on vf2
Browse files Browse the repository at this point in the history
  • Loading branch information
Godones committed Aug 27, 2024
1 parent 61510e2 commit dfa4220
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ QEMU := qemu-system-riscv64
comma:= ,
empty:=
space:= $(empty) $(empty)

SD ?= n

ifeq ($(GUI),y)
QEMU_ARGS += -device virtio-gpu-device \
Expand All @@ -44,7 +44,10 @@ endif


ifeq ($(VF2),y)
FEATURES += vf2 ramdisk
FEATURES += vf2
ifeq ($(SD),n)
FEATURES += ramdisk
endif
else ifeq ($(UNMATCHED),y)
FEATURES += hifive ramdisk
else
Expand Down

0 comments on commit dfa4220

Please sign in to comment.