From c7e106aab3a465687b40f187f6d7a51364fa079d Mon Sep 17 00:00:00 2001 From: Alberto Escolar Piedras Date: Tue, 19 Nov 2019 09:45:28 +0100 Subject: [PATCH] nrf52_bsim: Remove no longer needed header stubs These headers were here only because some drivers were using them directly. But they are not needed anymore, so remove them. Signed-off-by: Alberto Escolar Piedras --- boards/posix/nrf52_bsim/CMakeLists.txt | 5 ----- boards/posix/nrf52_bsim/fake/core_cm4.h | 21 --------------------- boards/posix/nrf52_bsim/fake/system_nrf52.h | 4 ---- 3 files changed, 30 deletions(-) delete mode 100644 boards/posix/nrf52_bsim/fake/core_cm4.h delete mode 100644 boards/posix/nrf52_bsim/fake/system_nrf52.h diff --git a/boards/posix/nrf52_bsim/CMakeLists.txt b/boards/posix/nrf52_bsim/CMakeLists.txt index 8848bc4d951..ade14e3951a 100644 --- a/boards/posix/nrf52_bsim/CMakeLists.txt +++ b/boards/posix/nrf52_bsim/CMakeLists.txt @@ -16,10 +16,6 @@ endif() zephyr_library() zephyr_library_compile_definitions(NO_POSIX_CHEATS) -zephyr_include_directories( - fake -) - #Due to the BLE controller assumption about enum size zephyr_compile_options( -fshort-enums @@ -36,7 +32,6 @@ zephyr_library_sources( ) zephyr_library_include_directories( - fake $ENV{BSIM_COMPONENTS_PATH}/libUtilv1/src/ $ENV{BSIM_COMPONENTS_PATH}/libPhyComv1/src/ $ENV{BSIM_COMPONENTS_PATH}/libRandv2/src/ diff --git a/boards/posix/nrf52_bsim/fake/core_cm4.h b/boards/posix/nrf52_bsim/fake/core_cm4.h deleted file mode 100644 index 461a31c4784..00000000000 --- a/boards/posix/nrf52_bsim/fake/core_cm4.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright (c) 2017 Oticon A/S - * - * SPDX-License-Identifier: Apache-2.0 - * - * This header is a replacement for the real core_cm4.h - * so these defines, which are used in other files, exist - */ - -#ifndef CORE_CM4_H -#define CORE_CM4_H - -#define __I -#define __O -#define __IO - -#define __IM -#define __OM -#define __IOM - -#endif diff --git a/boards/posix/nrf52_bsim/fake/system_nrf52.h b/boards/posix/nrf52_bsim/fake/system_nrf52.h deleted file mode 100644 index 329aaff2c59..00000000000 --- a/boards/posix/nrf52_bsim/fake/system_nrf52.h +++ /dev/null @@ -1,4 +0,0 @@ -/* - * This header is a empty on purpose. We need it as it is included from - * other Zephyr files, but we do not need the content of the real one - */