diff --git a/companion/src/firmwares/eeprominterface.h b/companion/src/firmwares/eeprominterface.h index 4e667c73c2f..669ee108531 100644 --- a/companion/src/firmwares/eeprominterface.h +++ b/companion/src/firmwares/eeprominterface.h @@ -24,7 +24,6 @@ #include "boards.h" #include "macros.h" #include "radiodata.h" -#include "../../radio/src/definitions.h" #include "simulatorinterface.h" #include "datahelpers.h" diff --git a/radio/src/definitions.h b/radio/src/definitions.h index fe5e0ed5896..23698e685b1 100644 --- a/radio/src/definitions.h +++ b/radio/src/definitions.h @@ -25,28 +25,7 @@ #include #include -#if !defined(SIMU) #include "memory_sections.h" -#endif - -#ifndef __CCMRAM -#define __CCMRAM -#endif -#ifndef __DMA -#define __DMA -#endif -#ifndef __DMA_NO_CACHE -#define __DMA_NO_CACHE -#endif -#ifndef __IRAM -#define __IRAM -#endif -#ifndef __SDRAM -#define __SDRAM -#endif -#ifndef __SDRAMFONTS -#define __SDRAMFONTS -#endif #if !defined(M_PI) #define M_PI 3.14159265358979323846 // pi diff --git a/radio/src/targets/simu/CMakeLists.txt b/radio/src/targets/simu/CMakeLists.txt index f6ed147a7a0..664aa930305 100644 --- a/radio/src/targets/simu/CMakeLists.txt +++ b/radio/src/targets/simu/CMakeLists.txt @@ -35,7 +35,6 @@ set(SIMU_DRIVERS ${SIMU_DRIVERS} ${CMAKE_CURRENT_BINARY_DIR}/${HW_DESC_JSON} ) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -include_directories(../../targets/simu) if(SDL2_FOUND) include_directories(${SDL2_INCLUDE_DIRS})