Skip to content

Commit 7d784e5

Browse files
committed
cc3200/application.mk: Don't add stm32 to build include path.
Or this port may end up accidentally including unwanted headers from stm32. Signed-off-by: Damien George <damien@micropython.org>
1 parent 7a6489a commit 7d784e5

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

ports/cc3200/application.mk

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ APP_INC += -Iutil
1818
APP_INC += -Ibootmgr
1919
APP_INC += -I$(BUILD)
2020
APP_INC += -I$(BUILD)/genhdr
21-
APP_INC += -I$(TOP)/ports/stm32
2221

2322
APP_CPPDEFINES = -Dgcc -DTARGET_IS_CC3200 -DSL_FULL -DUSE_FREERTOS
2423

ports/cc3200/mods/pybadc.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
#include "py/binary.h"
3333
#include "py/gc.h"
3434
#include "py/mperrno.h"
35-
#include "bufhelper.h"
35+
#include "ports/stm32/bufhelper.h"
3636
#include "inc/hw_types.h"
3737
#include "inc/hw_adc.h"
3838
#include "inc/hw_ints.h"

ports/cc3200/mods/pybi2c.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
#include "py/runtime.h"
3232
#include "py/mperrno.h"
3333
#include "py/mphal.h"
34-
#include "bufhelper.h"
34+
#include "ports/stm32/bufhelper.h"
3535
#include "inc/hw_types.h"
3636
#include "inc/hw_i2c.h"
3737
#include "inc/hw_ints.h"

ports/cc3200/mods/pybspi.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
#include "py/runtime.h"
3232
#include "py/mperrno.h"
33-
#include "bufhelper.h"
33+
#include "ports/stm32/bufhelper.h"
3434
#include "inc/hw_types.h"
3535
#include "inc/hw_mcspi.h"
3636
#include "inc/hw_ints.h"

0 commit comments

Comments
 (0)