Bluenet  5.7.0
Bluenet, firmware for nRF52 smart home devices
Loading...
Searching...
No Matches
cs_Nordic.h
Go to the documentation of this file.
1
7#pragma once
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13#include <app_util_platform.h>
14typedef uint32_t ret_code_t;
15
16// The header files in the Nordic SDK. Keep all the includes here, not dispersed over all the header files.
17#include <app_scheduler.h>
18#include <app_util.h>
19#include <ble.h>
20#include <ble_advdata.h>
21#include <ble_gap.h>
22#include <ble_gatt.h>
23#include <ble_gattc.h>
24#include <ble_gatts.h>
25#include <ble_hci.h>
26#include <ble_srv_common.h>
27#include <sdk_config.h>
28#if NORDIC_SDK_VERSION > 15
29#include <cmsis_compiler.h>
30#endif
31#include <fds.h>
32#include <nrf.h>
33#include <nrf_delay.h>
34#include <nrf_error.h>
35#include <nrf_fstorage.h>
36#include <nrf_gpio.h>
37#include <nrf_gpiote.h>
38#include <nrf_nvic.h>
39#include <nrf_power.h>
40#include <nrf_sdh.h>
41#include <nrf_sdh_ble.h>
42#include <nrf_sdh_soc.h>
43#include <nrf_sdm.h>
44
45// legacy, should be replaced by nrfx_comp.h (see below)
46#include <nrf_comp.h>
47
48// legacy #include <nrf_drv_uart.h>
49#include <nrfx_glue.h>
50//#include <nordic_common.h>
51//#include <nrf_serial.h>
52#include <nrfx_comp.h>
53//#include <nrf_drv_comp.h>
54#include <ble_db_discovery.h>
55#include <nrfx_wdt.h>
56
57#if BUILD_TWI == 1
58#include <nrfx_twi.h>
59#endif
60
61#if BUILD_GPIOTE == 1
62#include <nrfx_gpiote.h>
63#endif
64
65#if CS_SERIAL_NRF_LOG_ENABLED > 0
66#include <nrf_log_ctrl.h>
67#include <nrf_log_default_backends.h>
68#include <nrfx_log.h>
69#endif
70
71#ifndef BOOTLOADER_COMPILATION
72#include <crc16.h>
73#include <crc32.h>
74#include <nrf_gpiote.h>
75#include <nrf_ppi.h>
76#include <nrf_saadc.h>
77#include <nrf_timer.h>
78#include <nrf_uart.h>
79#endif
80
81#ifdef __cplusplus
82}
83#endif
uint32_t ret_code_t
Author: Crownstone Team Copyright: Crownstone (https://crownstone.rocks) Date: Apr.
Definition: cs_Nordic.h:14