aboutsummaryrefslogtreecommitdiffstats
path: root/picosoc
diff options
context:
space:
mode:
authormatt venn <matt@mattvenn.net>2018-08-30 22:27:18 +0200
committermatt venn <matt@mattvenn.net>2018-08-30 22:27:18 +0200
commitfe1867817dc2625bc1293ca35294ad25d6e652b8 (patch)
tree95a44705fbe5d04adfd130e1a1d7cc3a75c10c7a /picosoc
parente9c583109736b03e7f7107645f156de943cb530a (diff)
downloadpicorv32-fe1867817dc2625bc1293ca35294ad25d6e652b8.tar.gz
picorv32-fe1867817dc2625bc1293ca35294ad25d6e652b8.zip
fix ifdef to include flash functions for hx8k
Diffstat (limited to 'picosoc')
-rw-r--r--picosoc/firmware.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/picosoc/firmware.c b/picosoc/firmware.c
index a2daecc..e3eed76 100644
--- a/picosoc/firmware.c
+++ b/picosoc/firmware.c
@@ -51,7 +51,7 @@ void flashio(uint8_t *data, int len, uint8_t wrencmd)
((void(*)(uint8_t*, uint32_t, uint32_t))func)(data, len, wrencmd);
}
-#ifdef HX8KBOARD
+#ifdef HX8KDEMO
void set_flash_qspi_flag()
{
uint8_t buffer[8];