aboutsummaryrefslogtreecommitdiff
path: root/stmhal
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal')
-rw-r--r--stmhal/Makefile2
-rw-r--r--stmhal/adc.c2
-rw-r--r--stmhal/led.c2
-rw-r--r--stmhal/main.c2
-rw-r--r--stmhal/pyexec.c2
-rw-r--r--stmhal/sdcard.c2
-rw-r--r--stmhal/usrsw.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/stmhal/Makefile b/stmhal/Makefile
index 27caaca01..5501c4b8d 100644
--- a/stmhal/Makefile
+++ b/stmhal/Makefile
@@ -18,7 +18,7 @@ CROSS_COMPILE = arm-none-eabi-
INC = -I.
INC += -I$(PY_SRC)
-INC += -I$(BUILD)/includes
+INC += -I$(BUILD)
INC += -I$(CMSIS_DIR)/inc
INC += -I$(CMSIS_DIR)/devinc
INC += -I$(HAL_DIR)/inc
diff --git a/stmhal/adc.c b/stmhal/adc.c
index dafa3f7bc..b0a7a0749 100644
--- a/stmhal/adc.c
+++ b/stmhal/adc.c
@@ -10,7 +10,7 @@
#include "runtime.h"
#include "adc.h"
#include "pin.h"
-#include "build/pins.h"
+#include "genhdr/pins.h"
#include "timer.h"
// Usage Model:
diff --git a/stmhal/led.c b/stmhal/led.c
index 5c2d2c60a..52a787eed 100644
--- a/stmhal/led.c
+++ b/stmhal/led.c
@@ -10,7 +10,7 @@
#include "timer.h"
#include "led.h"
#include "pin.h"
-#include "build/pins.h"
+#include "genhdr/pins.h"
typedef struct _pyb_led_obj_t {
mp_obj_base_t base;
diff --git a/stmhal/main.c b/stmhal/main.c
index 2d7e76172..4fa5b2a43 100644
--- a/stmhal/main.c
+++ b/stmhal/main.c
@@ -134,7 +134,7 @@ static const char fresh_main_py[] =
;
static const char fresh_pybcdc_inf[] =
-#include "build/pybcdc_inf.h"
+#include "genhdr/pybcdc_inf.h"
;
static const char fresh_readme_txt[] =
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c
index 9821e6a92..3f9482ec5 100644
--- a/stmhal/pyexec.c
+++ b/stmhal/pyexec.c
@@ -22,7 +22,7 @@
#include "readline.h"
#include "pyexec.h"
#include "usb.h"
-#include "build/py/py-version.h"
+#include "genhdr/py-version.h"
pyexec_mode_kind_t pyexec_mode_kind = PYEXEC_MODE_FRIENDLY_REPL;
STATIC bool repl_display_debugging_info = 0;
diff --git a/stmhal/sdcard.c b/stmhal/sdcard.c
index 994eb26c2..4c8e3d990 100644
--- a/stmhal/sdcard.c
+++ b/stmhal/sdcard.c
@@ -9,7 +9,7 @@
#include "runtime.h"
#include "sdcard.h"
#include "pin.h"
-#include "build/pins.h"
+#include "genhdr/pins.h"
#if MICROPY_HW_HAS_SDCARD
diff --git a/stmhal/usrsw.c b/stmhal/usrsw.c
index 5133392cc..0ab407cd9 100644
--- a/stmhal/usrsw.c
+++ b/stmhal/usrsw.c
@@ -11,7 +11,7 @@
#include "exti.h"
#include "gpio.h"
#include "pin.h"
-#include "build/pins.h"
+#include "genhdr/pins.h"
// Usage Model:
//