Trying to get going with my new IceCore here. I'm working through @lawrie's excellent ebook documentation in the hope I can get some variant of a BlackSOC example build up and running...
I have the IceCore "blinky" and "trail" examples going for IceCore so my basics seem ok.
Then I tried going through the instuctions in 8.3 on Running BlackSOC programs.
I'm having a problem as although I have both USB connectors attached to the laptop I am not seeing a /dev/ttyUSB0
I tried 'make run' with ~/icotools/icosoc/examples/hello but that errors on the missing ttyUSBx too
ajlennon@ajlennon-spriteguard:/data_drive/fpga/icotools/icosoc/examples/hello$ sudo make run
cat icosoc.bin >/dev/ttyACM0
stty -F /dev/ttyUSB0 -echo raw 115200
stty: /dev/ttyUSB0: No such file or directory
icosoc.mk:47: recipe for target 'run' failed
make: *** [run] Error 1
Next I tried rebuilding iceboot to make sure I have the latest and greatest firmware on the STM32.
When I try this I get some errors on missing USB functions.
build/main.o: In function `main':
/data_drive/fpga/IceCore/firmware/Src/main.c:159: undefined reference to `setup'
build/usbd_cdc.o: In function `USBD_CDC_DeInit':
/data_drive/fpga/IceCore/firmware/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c:595: undefined reference to `USBD_static_malloc'
build/usbd_cdc.o: In function `USBD_CDC_Init':
/data_drive/fpga/IceCore/firmware/Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Src/usbd_cdc.c:535: undefined reference to `USBD_static_malloc'
collect2: error: ld returned 1 exit status
Makefile:190: recipe for target 'build/730.elf' failed
make: *** [build/730.elf] Error 1
Any advice on where to go next?