mirror of https://github.com/YosysHQ/picorv32.git
fix ifdef to include flash functions for hx8k
This commit is contained in:
parent
e9c5831097
commit
fe1867817d
|
@ -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);
|
((void(*)(uint8_t*, uint32_t, uint32_t))func)(data, len, wrencmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HX8KBOARD
|
#ifdef HX8KDEMO
|
||||||
void set_flash_qspi_flag()
|
void set_flash_qspi_flag()
|
||||||
{
|
{
|
||||||
uint8_t buffer[8];
|
uint8_t buffer[8];
|
||||||
|
|
Loading…
Reference in New Issue