10 years, 2 months ago.

USBTX,USBRX undefined for ST401 board

I am trying to compile the simple PC Serial example but it looks like the USBTX, USBRX variables are undefined for that board. Does anyone know what they reference on the ST401? Perhaps the headers need updating?


I responded to your issue request, can you test if these 2 work, so could be properly named:

  SERIAL_TX   = PA_2,
  SERIAL_RX   = PA_3,

These symbols are used in Nucleo examples.

As noted in my reply to the issue, I'll fix this today.


posted by Martin Kojtal 23 Feb 2014

These work, thanks

posted by Jon Z 23 Feb 2014
Be the first to answer this question.