6 years, 5 months ago.

Can I redirect the pinname in PinNames.h by config the mbed_app.json ?

Hi, can I redirect the pin name in PinNames.h by config the mbed_app.json ? I need to change the default pin like the STDIO_UART_TX , STDIO_UART_RX and LEDx to use the mbed_assert() and mbed_die() , and use a custom board myself.

If you import the source you can change it there.

posted by Graham S. 26 Nov 2017

1 Answer

6 years, 5 months ago.

If you're building a custom board, then create a new target which inherits from your development board. Then you can change the PinNames and PeripheralPins in the new target.

More info is in the porting guide.

Accepted Answer