You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
803 B
34 lines
803 B
#pragma once
|
|
#include <stdint.h>
|
|
#include <string.h>
|
|
|
|
#include "app_timer.h"
|
|
#include "app_uart.h"
|
|
#include "app_util_platform.h"
|
|
#include "ble_advdata.h"
|
|
#include "ble_advertising.h"
|
|
#include "ble_conn_params.h"
|
|
#include "ble_hci.h"
|
|
#include "ble_nus.h"
|
|
#include "bsp_btn_ble.h"
|
|
#include "nordic_common.h"
|
|
#include "nrf.h"
|
|
#include "nrf_ble_gatt.h"
|
|
#include "nrf_ble_qwr.h"
|
|
#include "nrf_log.h"
|
|
#include "nrf_log_ctrl.h"
|
|
#include "nrf_log_default_backends.h"
|
|
#include "nrf_pwr_mgmt.h"
|
|
#include "nrf_sdh.h"
|
|
#include "nrf_sdh_ble.h"
|
|
#include "nrf_sdh_soc.h"
|
|
//
|
|
#include "version.h"
|
|
|
|
void zsys_init();
|
|
void zsys_loop();
|
|
|
|
#define ZLOGI(...) NRF_LOG_INFO(__VA_ARGS__)
|
|
#define ZLOGE(...) NRF_LOG_ERROR(__VA_ARGS__)
|
|
#define ZLOGW(...) NRF_LOG_WARNING(__VA_ARGS__)
|
|
#define ZLOGD(...) NRF_LOG_DEBUG(__VA_ARGS__)
|