Skip to content

Commit

Permalink
Makefile build-firmware fix (#250)
Browse files Browse the repository at this point in the history
Co-authored-by: ajfisher <ajfisher.td@gmail.com>
  • Loading branch information
peteruithoven and ajfisher committed Jun 17, 2023
1 parent 4d3fd5c commit 0f99f67
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,13 @@ test-ci:

# make the Firmata build process to copy the files to the right place
FIRMATA_DEST_DIR = $(BUILD_DIR)/node_pixel_firmata
FIRMATA_FILES = $(LIBS_DIR)/firmata/arduino/*.{h,cpp}
FIRMATA_DIR = $(LIBS_DIR)/firmata/arduino

build-firmata: clean-build-firmata
@echo "Creating firmata build files"
mkdir $(FIRMATA_DEST_DIR)
cp $(FIRMATA_FILES) $(FIRMATA_DEST_DIR)/
cp $(FIRMATA_DIR)/*.h $(FIRMATA_DEST_DIR)/
cp $(FIRMATA_DIR)/*.cpp $(FIRMATA_DEST_DIR)/
cp $(LIBS_DIR)/ws2812/* $(FIRMATA_DEST_DIR)/
cp $(LIBS_DIR)/lightws2812/* $(FIRMATA_DEST_DIR)/
cp $(SRC_DIR)/controller_src/firmata/* $(FIRMATA_DEST_DIR)/
Expand Down

0 comments on commit 0f99f67

Please sign in to comment.