Description
- Target : NRF52840_DK
- Toolchain: GCC
- Tools: mbed-cli
- mbed-os: 5.10.4
Attempting to change the Baud Rate to 115200 doesn't take effect as shown in the code below on NRF52840_DK. I have also attached the bin file built using the online compiler. This has always worked prior to mbed os 5.9 and doesn't seem to work past that version of mbed os. The code below was built against mbed os 5.10.4.
#include "mbed.h"
int main(void)
{
//serial debug
Serial* m_pc = NULL;
//set the default log level.
m_pc = new Serial(USBTX, USBRX);
m_pc->baud(115200);
m_pc->set_flow_control(SerialBase::Disabled);
printf("BLE Application Version: %s\n","1.0");
if(m_pc != NULL)
{
delete m_pc;
m_pc = NULL;
}
}
Issue request type
[ ] Question
[ ] Enhancement
[X] Bug
Thanks,
Yogesh