diff options
| author | Damien George <damien@micropython.org> | 2023-12-01 13:56:34 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-12-01 14:13:34 +1100 |
| commit | 7d784e53853db7935112d5952aee13c19b539255 (patch) | |
| tree | 4d4e87d1090e4feb5fb522a397e81e618eab40d1 | |
| parent | 7a6489aaa51f0981b7920445667bda49f18dde36 (diff) | |
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>
| -rw-r--r-- | ports/cc3200/application.mk | 1 | ||||
| -rw-r--r-- | ports/cc3200/mods/pybadc.c | 2 | ||||
| -rw-r--r-- | ports/cc3200/mods/pybi2c.c | 2 | ||||
| -rw-r--r-- | ports/cc3200/mods/pybspi.c | 2 |
4 files changed, 3 insertions, 4 deletions
diff --git a/ports/cc3200/application.mk b/ports/cc3200/application.mk index b40cfcd07..6f4452da6 100644 --- a/ports/cc3200/application.mk +++ b/ports/cc3200/application.mk @@ -18,7 +18,6 @@ APP_INC += -Iutil APP_INC += -Ibootmgr APP_INC += -I$(BUILD) APP_INC += -I$(BUILD)/genhdr -APP_INC += -I$(TOP)/ports/stm32 APP_CPPDEFINES = -Dgcc -DTARGET_IS_CC3200 -DSL_FULL -DUSE_FREERTOS diff --git a/ports/cc3200/mods/pybadc.c b/ports/cc3200/mods/pybadc.c index 746642825..6f9f1f19a 100644 --- a/ports/cc3200/mods/pybadc.c +++ b/ports/cc3200/mods/pybadc.c @@ -32,7 +32,7 @@ #include "py/binary.h" #include "py/gc.h" #include "py/mperrno.h" -#include "bufhelper.h" +#include "ports/stm32/bufhelper.h" #include "inc/hw_types.h" #include "inc/hw_adc.h" #include "inc/hw_ints.h" diff --git a/ports/cc3200/mods/pybi2c.c b/ports/cc3200/mods/pybi2c.c index 5d77dc836..a413eddeb 100644 --- a/ports/cc3200/mods/pybi2c.c +++ b/ports/cc3200/mods/pybi2c.c @@ -31,7 +31,7 @@ #include "py/runtime.h" #include "py/mperrno.h" #include "py/mphal.h" -#include "bufhelper.h" +#include "ports/stm32/bufhelper.h" #include "inc/hw_types.h" #include "inc/hw_i2c.h" #include "inc/hw_ints.h" diff --git a/ports/cc3200/mods/pybspi.c b/ports/cc3200/mods/pybspi.c index 61086ec2e..fa38f0c65 100644 --- a/ports/cc3200/mods/pybspi.c +++ b/ports/cc3200/mods/pybspi.c @@ -30,7 +30,7 @@ #include "py/runtime.h" #include "py/mperrno.h" -#include "bufhelper.h" +#include "ports/stm32/bufhelper.h" #include "inc/hw_types.h" #include "inc/hw_mcspi.h" #include "inc/hw_ints.h" |
