1 2#add include 3include_directories(${MPYENGINEDIR}/include) 4include_directories(${MPYENGINEDIR}) 5 6#add src file 7include(${MPYENGINEDIR}/py/py.mk) 8include(${MPYENGINEDIR}/lib/py.mk) 9include(${MPYENGINEDIR}/extmod/py.mk) 10include(${MPYENGINEDIR}/drivers/py.mk) 11 12#$(NAME)_CFLAGS += -DMICROPY_HW_BOARD_NAME=\"$(PLATFORM)\" 13#$(NAME)_CFLAGS += -DMICROPY_HW_MCU_NAME=\"$(HOST_ARCH)\" 14message("file: ${SOURCEFILE}") 15 16