Skip to content

Commit

Permalink
ports: chconf_stm32.h for stm32, add its location to includes path
Browse files Browse the repository at this point in the history
  • Loading branch information
dron0gus committed Mar 3, 2024
1 parent bd4cde1 commit dbdf793
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion firmware/hw_layer/ports/at32/at32f4/cfg/chconf.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* Reuse ST32 ChibiOS config */
#include "../../stm32/cfg/chconf.h"
#include "../../stm32/cfg/chconf_stm32.h"
File renamed without changes.
1 change: 1 addition & 0 deletions firmware/hw_layer/ports/stm32/stm32_common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUSEFIASM = \

HW_INC += \
$(HW_STM32_PORT_DIR) \
$(HW_STM32_PORT_DIR)/cfg \
$(HW_STM32_PORT_DIR)/serial_over_usb

ifeq ($(EFI_HAS_EXT_SDRAM), yes)
Expand Down
2 changes: 1 addition & 1 deletion firmware/hw_layer/ports/stm32/stm32f4/cfg/chconf.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* Use common ST32 ChibiOS config */
#include "../../cfg/chconf.h"
#include "chconf_stm32.h"
2 changes: 1 addition & 1 deletion firmware/hw_layer/ports/stm32/stm32f7/cfg/chconf.h
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* Use common ST32 ChibiOS config */
#include "../../cfg/chconf.h"
#include "chconf_stm32.h"
2 changes: 1 addition & 1 deletion firmware/hw_layer/ports/stm32/stm32h7/cfg/chconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
#define CORTEX_ENABLE_WFI_IDLE FALSE

/* Use common ST32 ChibiOS config */
#include "../../cfg/chconf.h"
#include "chconf_stm32.h"

0 comments on commit dbdf793

Please sign in to comment.