Makefile 371 B

1234567891011121314151617
  1. # Set the location of the top of the MicroPython repository.
  2. MICROPYTHON_TOP = ./lib/micropython
  3. PACKAGE_DIR = ./lib/micropython-build
  4. # Include the main makefile fragment to build the MicroPython component.
  5. include $(MICROPYTHON_TOP)/ports/embed/embed.mk
  6. $(PACKAGE_DIR): all
  7. .PHONY: build
  8. build: $(PACKAGE_DIR)
  9. ufbt build
  10. .PHONY: launch
  11. launch: build
  12. ufbt launch