Temporary fix to Nucleo F103RB to get around missing pin definitions (which should not really be needed), this is temporary fix, I need to sort out the Serial USB code and make a separate define for maple hardware etc
This commit is contained in:
parent
72324b5bd1
commit
bffbdce50f
|
@ -102,6 +102,11 @@
|
|||
/**
|
||||
* Note: there is no USB in this board.
|
||||
*/
|
||||
// Roger Clark. These USB disconnect pin definitions have been added as a temporary fix in order that the this board compiles
|
||||
// following changes to add usb serial to other boards
|
||||
// I will remove them when the code in the core usb_serial.cpp has been tidied up so that they are no longer needed.
|
||||
#define BOARD_USB_DISC_DEV GPIOB
|
||||
#define BOARD_USB_DISC_BIT 10
|
||||
|
||||
/* Pin aliases: these give the GPIO port/bit for each pin as an
|
||||
* enum. These are optional, but recommended. They make it easier to
|
||||
|
|
Loading…
Reference in New Issue