Lora-net / picoGW_mcu

MCU driver/HAL for the Picocell Gateway concentrator board.
53 stars 37 forks source link

Cannot get serial working #3

Closed goran-mahovlic closed 6 years ago

goran-mahovlic commented 6 years ago

I have tried with pre build binaries, and to build with keil. Have tried both versions usbserial and serial, with no luck. I have NUCLEO-F401RE and cannot set serial working. Do you maybe have some link to mbed project. In keil i see some warnings about serial...

goran-mahovlic commented 6 years ago

I have found first problem, and that is that for nucleo clack was not defined right. Now I can push serial message with pc.printf("Message") but CmdManager is still not receiving messages. There is still lot of complains lilke in board.h extern Serial pc; has unknown type name error...

adding

include "mbed_config.h" inside device.h did clear errors

and just redefine baud rate to 115200 got serial to work.