From 6beb54ac2fb8a391897ab118eb1cf67ccdc1eab3 Mon Sep 17 00:00:00 2001 From: Paciente8159 Date: Fri, 7 Apr 2023 22:55:17 +0100 Subject: [PATCH] moved override files to root dir --- uCNC/{src/hal/boards => }/boardmap_overrides.h | 0 uCNC/{src => }/cnc_hal_overrides.h | 0 uCNC/src/cnc.h | 2 +- uCNC/src/hal/boards/boarddefs.h | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename uCNC/{src/hal/boards => }/boardmap_overrides.h (100%) rename uCNC/{src => }/cnc_hal_overrides.h (100%) diff --git a/uCNC/src/hal/boards/boardmap_overrides.h b/uCNC/boardmap_overrides.h similarity index 100% rename from uCNC/src/hal/boards/boardmap_overrides.h rename to uCNC/boardmap_overrides.h diff --git a/uCNC/src/cnc_hal_overrides.h b/uCNC/cnc_hal_overrides.h similarity index 100% rename from uCNC/src/cnc_hal_overrides.h rename to uCNC/cnc_hal_overrides.h diff --git a/uCNC/src/cnc.h b/uCNC/src/cnc.h index 8cb512b36..e639eac10 100644 --- a/uCNC/src/cnc.h +++ b/uCNC/src/cnc.h @@ -139,7 +139,7 @@ extern "C" #include "hal/tools/tool.h" //configures the kinematics for the cnc machine // final HAL configurations #include "../cnc_hal_config.h" //inicializes the HAL hardcoded connections -#include "cnc_hal_overrides.h" //config override file +#include "../cnc_hal_overrides.h" //config override file // fill remaining HAL configurations and sanity checks #include "cnc_hal_config_helper.h" // initializes core utilities (like fast math functions) diff --git a/uCNC/src/hal/boards/boarddefs.h b/uCNC/src/hal/boards/boarddefs.h index a22f1d83f..aa65fb4d8 100644 --- a/uCNC/src/hal/boards/boarddefs.h +++ b/uCNC/src/hal/boards/boarddefs.h @@ -163,7 +163,7 @@ extern "C" #error Undefined board #endif -#include "boardmap_overrides.h" +#include "../../../boardmap_overrides.h" #include "../mcus/mcudefs.h" //configures the MCU for the selected board #ifdef __cplusplus