ee40d1704f
mpy-cross doesn't depend on any code in the extmod directory so completely exclude it from the build (extmod may still be scanned for qstrs but that is controlled by py/py.mk). This speeds up the build a little, and improves abstraction of this component. Also, make -I$(BUILD) take precedence over -I$(TOP) in case there are stray files in the root directory that would be picked up.
3 lines
63 B
C
3 lines
63 B
C
// prevent including extmod/virtpin.h
|
|
#define mp_hal_pin_obj_t
|