remove useless head files, examples, ref-app

This commit is contained in:
Yunhorn 2023-06-21 10:06:21 +08:00
parent 9504a37695
commit 2a426d4ea1
12 changed files with 1 additions and 190 deletions

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2021
// All rights reserved
#ifndef EXAMPLE_BRING_UP_H_
#define EXAMPLE_BRING_UP_H_
#include <stdbool.h>
/**
* @brief Bring Up example
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_example_bring_up(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2020-2021
// All rights reserved
#ifndef EXAMPLE_DETECTOR_DISTANCE_H_
#define EXAMPLE_DETECTOR_DISTANCE_H_
#include <stdbool.h>
/**
* @brief Detector distance example
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_example_detector_distance(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2020-2021
// All rights reserved
#ifndef EXAMPLE_DETECTOR_DISTANCE_RECORDED_H_
#define EXAMPLE_DETECTOR_DISTANCE_RECORDED_H_
#include <stdbool.h>
/**
* @brief Detector distance example using recorded threshold type
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_example_detector_distance_recorded(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2019-2021
// All rights reserved
#ifndef EXAMPLE_DETECTOR_PRESENCE_H_
#define EXAMPLE_DETECTOR_PRESENCE_H_
#include <stdbool.h>
/**
* @brief Presence detector example
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_example_detector_presence(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2020-2021
// All rights reserved
#ifndef EXAMPLE_MULTIPLE_SERVICE_USAGE_H_
#define EXAMPLE_MULTIPLE_SERVICE_USAGE_H_
#include <stdbool.h>
/**
* @brief Example for how to use multiple services using the override sensor ID check configuration
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_example_multiple_service_usage(int argc, char *argv[]);
#endif

View File

@ -1,17 +0,0 @@
// Copyright (c) Acconeer AB, 2019-2021
// All rights reserved
#ifndef EXAMPLE_SERVICE_SPARSE_H_
#define EXAMPLE_SERVICE_SPARSE_H_
#include <stdbool.h>
/**
* @brief Service Sparse example
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_example_service_sparse(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2020-2021
// All rights reserved
#ifndef REF_APP_PARKING_H_
#define REF_APP_PARKING_H_
#include <stdbool.h>
/**
* @brief Parking reference application
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_ref_app_parking(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2019-2021
// All rights reserved
#ifndef REF_APP_SMART_PRESENCE_H_
#define REF_APP_SMART_PRESENCE_H_
#include <stdbool.h>
/**
* @brief Smart presence reference application
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_ref_app_smart_presence(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2020-2021
// All rights reserved
#ifndef REF_APP_TANK_LEVEL_H_
#define REF_APP_TANK_LEVEL_H_
#include <stdbool.h>
/**
* @brief Tank level reference application
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_ref_app_tank_level(int argc, char *argv[]);
#endif

View File

@ -1,18 +0,0 @@
// Copyright (c) Acconeer AB, 2022
// All rights reserved
#ifndef REF_APP_WAVE_TO_EXIT_H_
#define REF_APP_WAVE_TO_EXIT_H_
#include <stdbool.h>
/**
* @brief Wave to exit reference application
*
* @return Returns EXIT_SUCCESS if successful, otherwise EXIT_FAILURE
*/
int acc_ref_app_wave_to_exit(int argc, char *argv[]);
#endif

View File

@ -34,16 +34,6 @@
#include "sys_app.h" #include "sys_app.h"
#include "acc_hal_integration.h" #include "acc_hal_integration.h"
#include "example_bring_up.h"
#include "example_multiple_service_usage.h"
#include "example_detector_distance.h"
#include "example_detector_presence.h"
#include "example_detector_distance_recorded.h"
#include "example_service_sparse.h"
#include "ref_app_wave_to_exit.h"
#include "ref_app_smart_presence.h"
#include "ref_app_tank_level.h"
#include "ref_app_parking.h"
#include "acc_detector_presence.h" #include "acc_detector_presence.h"
/* USER CODE END Includes */ /* USER CODE END Includes */

View File

@ -25,7 +25,7 @@
#include "sys_app.h" #include "sys_app.h"
#include "stm32_systime.h" #include "stm32_systime.h"
#include "sts_lamp_bar.h" #include "sts_lamp_bar.h"
#include "ref_app_smart_presence.h"
#include "yunhorn_sts_sensors.h" #include "yunhorn_sts_sensors.h"
#define ONE_PULSE (36) #define ONE_PULSE (36)