Hi, I've been trying to follow the blog post https://centaurian.co.uk/2015/12/23/ksdk-usb-cdc-printf/
to set up the USB interface on our K64 board as a CDC device, but hit a problem when defining the symbol “BOARD_USE_VIRTUALCOM” under the properties of the project “C/C++ Build >> Settings >> Cross ARM C Compiler >> Preprocessor”


Setting this gives me a compile error I can't work out,
<command-line>:0:1: error: macro names must be identifiers
Static_Code/System/subdir.mk:21: recipe for target 'Static_Code/System/PE_low_level_init.o' failed
make: *** [Static_Code/System/PE_low_level_init.o] Error 1
Removing the symbol stops the compile error but the usb device isn't detected by windows correctly, showing up in device manager as
Unknown USB Device (Device Descriptor Request Failed)
Any ideas where I might be going wrong?
Kind regards
Ian