ProMicro board https://osoyoo.com/2018/06/25/osoyoo-pro-micro-board/
setup:
[env:32u416m]
platform = atmelavr
board = 32u416m
framework = arduino
In file included from C:\Users\amikam\.platformio\packages\framework-arduino-avr\cores\arduino\USBAPI.h:44:0,
from C:\Users\amikam\.platformio\packages\framework-arduino-avr\cores\arduino\USBCore.cpp:20:
C:\Users\xxx\.platformio\packages\framework-arduino-avr\cores\arduino\USBCore.cpp:73:29: error: 'USB_VID' was not declared in this scope
D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x100,IMANUFACTURER,IPRODUCT,ISERIAL,1);
This works in arduino IDE w/o a problem. Any suggestions please? thanks