Kicked off the build_all.sh script - at the end I get this:
create ram + flash app.ttf
Jan 20, 2019 10:17:17 PM - (INFO) elf2flash: args = --input=build/software/MKRVI
DOR4000_peripherals/MKRVIDOR4000_peripherals_lite.elf --output=build/output_file
s/MKRVIDOR4000_peripherals_lite.flash --base=0x008E0000 --end=0x008FFFFF --verbo
se --save
Jan 20, 2019 10:17:17 PM - (FINE) elf2flash: Starting
Jan 20, 2019 10:17:17 PM - (FINE) elf2flash: Done
projects
ip
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
cp: omitting directory './ip/QUAD_ENCODER/arduino/VidorEncoder/examples'
cp: cannot stat './distrib/MKRVIDOR4000_graphics/src/VidorNeopixelRainbowStrips.
ino/*': Not a directory
I try to recreate this.
Did you build "vidor_graphics" before building preipheral?
I think you should try to rename or move distrip folder.
Tried to build peripheral version and it was ok.
Edit:
Change following line from assemble_library.sh
folders*=find . | grep $folderName | grep ip | head -n1* to
_ folders*=find . | grep $folderName | grep /ip/ | head -n1*_ It was grepping only ip word not ip folder. Added "/" characters so it will list only from IP folder. Edit2: You can just rerun assemble_library.sh from project folder.
It seems that there was also same bug for getting default libraries "assemble_library.sh" Line 69.
defaultlibs*=find . | grep $folderName | grep /ip/ | head -n1* Can you run "assemble_library.sh" in project folder where are build_all.sh was failing and copypaste result.
$ assemble_library.sh
projects
ip
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
cp: omitting directory './ip/QUAD_ENCODER/arduino/VidorEncoder/examples'
cp: omitting directory './ip/NEOPIXEL/arduino/VidorNeopixel/examples'
OK - but why is the script still running and looking for things it can't find - it makes it appear to be an error and there's no indication that all is well - maybe that's what you mean about the 'echo' - would be nice to know if all is built ok.
When this is built under quartus there are some messages about some tcl scripts not being found or having some type of warning or error - but appears quartus largely ignores that.
In ./output_files I see that app.ttf gets built - but does that mean the script was 100% successful?
After success build_all.sh or assemble_library.sh you should find release folder under distrip folder like
D:\Arduino\VidorBitstream-release\distrib\MKRVIDOR4000_peripherals
That contains examples and src folders and library.properties. I think this is folder that you import / copy to arduino library folder.
src folder should have atleast app.tff and signature.h. Other files are used libraries for using FPGA.
In examples folder you find examples of IP block from FPGA.
I can't find anything with a -release that's made from these scripts - can you tell me where you see that?
If you're seeing it as in your post - I'm not seeing anything like that at all.
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory
find: './distrib/MKRVIDOR4000_peripherals/examples/': No such file or directory