i have a custom xmos board here which uses an external SPI flash (no qspi / fast one)
They default firmware it came with works, so i am planning to build a quick led blink example.
i have xcc, xflash and xmake running.
attached are my xn config and my xc. any hints on what is wrong?
Code: Select all
➜ led-blink xmake
Checking build modules
No build modules used.
Compiling led-blink.xc
Rebuild .build/_obj.rsp
Creating led-blink.xe
Build Complete
➜ led-blink xflash bin/led-blink.xe -o led-blink.bin
spiinfo-4d694af4:10:3: error: parse error before ',' token
,
^
spiinfo-4d694af4:108:12: error: index of array exceeds its upper bound
on tile[0]:
^~~
spiinfo-4d694af4:140:28: error: use of undeclared identifer `portHolder_0'
portHolder_0,
^
spiinfo-4d694af4:135:12: error: index of array exceeds its upper bound
on tile[0]:
^~~
Error: F03010 Failed to compile flash inquisitor.
so i probably need a custom spi-spec file i guess. but trying "ST_M25PE20" for now.
cheers max