File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
TARGET_RASPBERRYPI/TARGET_RP2040 Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 16
16
*/
17
17
18
18
#include " USBPhyHw.h"
19
+
20
+ #ifdef __cplusplus
21
+ extern " C" {
22
+ #endif
23
+
19
24
// USB register definitions from pico-sdk
20
25
#include " hardware/regs/usb.h"
21
26
// USB hardware struct definitions from pico-sdk
29
34
#include " rp2040_usb_device_enumeration.h"
30
35
#endif
31
36
37
+ #ifdef __cplusplus
38
+ }
39
+ #endif
40
+
32
41
// These accessor functions are used to implement bit clear / bit sets through
33
42
// an atomic alias (this handles the state where both cores can access a register
34
43
// and cause a bit loss through a read-modify-write access)
Original file line number Diff line number Diff line change 8020
8020
"NANO_RP2040_CONNECT" : {
8021
8021
"inherits" : [" RP2040" ],
8022
8022
"macros_add" : [
8023
+ " PICO_RP2040_USB_DEVICE_ENUMERATION_FIX=1" ,
8023
8024
" PICO_NO_BINARY_INFO=1" ,
8024
8025
" MBED_MPU_CUSTOM" ,
8025
8026
" PICO_TIME_DEFAULT_ALARM_POOL_DISABLED" ,
You can’t perform that action at this time.
0 commit comments