somebody help to resolve this problem
somebody help to resolve this problem
Hi,
Before we can help you, you need to describe the problem. There are many BLE peripheral examples available in our SDK. Most of these are supported on nRF52840 PDK. Please follow the Testing section on each example to try it out. Which example you should use, will depend on what "value" you want to read from the PDK.
Best regards,
Jørgen
these are the errors.
..\..\..\..\..\..\components\libraries\log\src\nrf_log_internal.h(302): error: #65: expected a ";"
extern nrf_log_module_dynamic_data_t
RF_LOG_MODULE_DATA_DYNAMIC;
..\..\..\..\..\..\components\libraries\timer\app_timer.c(65): error: #20: identifier "APP_TIMER_CONFIG_IRQ_PRIORITY" is undefined
STATIC_ASSERT(RTC1_IRQ_PRI == SWI_IRQ_PRI);
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(587): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
RF_SDH_SOC_OBSERVER(m_soc_evt_observer, CLOCK_CONFIG_SOC_OBSERVER_PRIO, soc_evt_handler, NULL);
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(587): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
RF_SDH_SOC_OBSERVER(m_soc_evt_observer, CLOCK_CONFIG_SOC_OBSERVER_PRIO, soc_evt_handler, NULL);
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(630): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
RF_SDH_STATE_OBSERVER(m_sd_state_observer, CLOCK_CONFIG_STATE_OBSERVER_PRIO) =
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(630): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
..\..\..\main.c(217): error: #55-D: too many arguments in invocation of macro "APP_TIMER_TICKS"
err_code = bsp_init(
SP_INIT_LED, APP_TIMER_TICKS(100, APP_TIMER_PRESCALER), NULL);
..\..\..\main.c(217): error: #20: identifier "APP_TIMER_CONFIG_RTC_FREQUENCY" is undefined
err_code = bsp_init(
SP_INIT_LED,
PP_TIMER_TICKS(100, APP_TIMER_PRESCALER), NULL);
..\..\..\main.c(217): error: #140: too many arguments in function call
err_code = bsp_init(
SP_INIT_LED,
PP_TIMER_TICKS(100, APP_TIMER_PRESCALER), N
ULL);
..\..\..\main.c(161): error: #165: too few arguments in function call
err_code = sd_ble_gap_adv_start(&m_adv_params);
..\..\..\main.c(180): error: #20: identifier "GATT_MTU_SIZE_DEFAULT" is undefined
OFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);
these are the errors.
..\..\..\..\..\..\components\libraries\log\src\nrf_log_internal.h(302): error: #65: expected a ";"
extern nrf_log_module_dynamic_data_t
RF_LOG_MODULE_DATA_DYNAMIC;
..\..\..\..\..\..\components\libraries\timer\app_timer.c(65): error: #20: identifier "APP_TIMER_CONFIG_IRQ_PRIORITY" is undefined
STATIC_ASSERT(RTC1_IRQ_PRI == SWI_IRQ_PRI);
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(587): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
RF_SDH_SOC_OBSERVER(m_soc_evt_observer, CLOCK_CONFIG_SOC_OBSERVER_PRIO, soc_evt_handler, NULL);
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(587): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
RF_SDH_SOC_OBSERVER(m_soc_evt_observer, CLOCK_CONFIG_SOC_OBSERVER_PRIO, soc_evt_handler, NULL);
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(630): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
RF_SDH_STATE_OBSERVER(m_sd_state_observer, CLOCK_CONFIG_STATE_OBSERVER_PRIO) =
..\..\..\..\..\..\components\drivers_nrf\clock\nrf_drv_clock.c(630): error: #55-D: too many arguments in invocation of macro "STATIC_ASSERT"
..\..\..\main.c(217): error: #55-D: too many arguments in invocation of macro "APP_TIMER_TICKS"
err_code = bsp_init(
SP_INIT_LED, APP_TIMER_TICKS(100, APP_TIMER_PRESCALER), NULL);
..\..\..\main.c(217): error: #20: identifier "APP_TIMER_CONFIG_RTC_FREQUENCY" is undefined
err_code = bsp_init(
SP_INIT_LED,
PP_TIMER_TICKS(100, APP_TIMER_PRESCALER), NULL);
..\..\..\main.c(217): error: #140: too many arguments in function call
err_code = bsp_init(
SP_INIT_LED,
PP_TIMER_TICKS(100, APP_TIMER_PRESCALER), N
ULL);
..\..\..\main.c(161): error: #165: too few arguments in function call
err_code = sd_ble_gap_adv_start(&m_adv_params);
..\..\..\main.c(180): error: #20: identifier "GATT_MTU_SIZE_DEFAULT" is undefined
OFTDEVICE_HANDLER_INIT(&clock_lf_cfg, NULL);