Skip to content

problems adding support for Nucleo-L4P5 #1521

Closed Answered by fpistm
PerennialNovice asked this question in Q&A
Discussion options

You must be logged in to vote

When I select Generic-L4R5 however, no serial output was generated.

If you use the generic with the Nucleo then you have to redefine the default Serial pin.
As default Serial for Nucleo L4R5 are:

#ifndef SERIAL_UART_INSTANCE
#define SERIAL_UART_INSTANCE 101 //Connected to ST-Link - LPUART1
#endif
// Serial pin used for console (ex: stlink)
// Required by Firmata
#ifndef PIN_SERIAL_RX
#define PIN_SERIAL_RX PG8
#endif
#ifndef PIN_SERIAL_TX
#define PIN_SERIAL_TX PG7
#endif

While generic define …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@PerennialNovice
Comment options

Answer selected by PerennialNovice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants