Hi there
I'm struggling with the usbd_cdc_acm example.
I want combine the ble_app_uart and the usbd_cdc_acm example to use my ble central role with nus and usb at the pca10059.
For my project I have to add a communication stack, which is coded in c++11.
it works with the ble_app_uart peripheral example, but not with the usbd.
There are two files which are struggeling against c++.
app_usbd_cdc_acm.h and app_usbd_cdc_acm_internal.h
and this is the problem:
the errors are:
I tryed to do the enum class app_usbd_cdc_acm_user_event_e: int {...} conversion but it doesn't work. Just caused some weird errors. I tryed some other things but nothing helped.
I'm using sdk15.3 with s140. Compiling with gnu-arm (arm.none-eabi -g++ and -gcc) version <gcc-arm-none-eabi-8-2018-q4-major> and working with eclipse.
Everything works when I change main.cpp to .c and compile in C.
Maybe someone has a solution for this.
Greetings N3210