This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

First attempt at nrf52 development

I am experiencing the following compiler error:

In file included from ../../../integration/nrfx/legacy/nrf_drv_uart.c:41:0:
../../../integration/nrfx/legacy/nrf_drv_uart.h:122:13: error: unknown type name 'nrf_uarte_baudrate_t'
typedef nrf_uarte_baudrate_t nrf_uart_baudrate_t;

Parents Reply
  • Hi, I have worked out the answer, when I copied the folder I moved the wrong sdk.config.h file. That's all sorted and working. I have one other issue that has come up,

    During build I have one fatal error occurring :

    ../main.c:73:25: fatal error: bsp_btn_ble.h: No such file or directory
    #include "bsp_btn_ble.h"

    When I check c_cpp_properites.json I have a entry defined:

    "${nrfSDK}/components/libraries/bsp"
    ${nrfSDK} points to the Nordic SDK folder (nRF5_SDK_15.2.0_9412b96).
    I don't why this error is happening as the folder contains the correct file.
Children
No Data
Related