Skip to content

Commit

Permalink
Change FQBN to cm:esp8266:nibble
Browse files Browse the repository at this point in the history
  • Loading branch information
filipbudisa committed Aug 31, 2020
1 parent 498f6b1 commit 8aefb43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ build: $(DIR)/build/$(NAME).bin
$(DIR)/build/$(NAME).bin: $(srcFiles) $(headerFiles) $(DIR)/$(NAME).ino
@mkdir -p $(DIR)/build
cd $(DIR); \
$(ACLI) compile --fqbn esp8266:esp8266:nodemcu -o build/$(NAME).bin $(NAME).ino
$(ACLI) compile --fqbn cm:esp8266:nibble -o build/$(NAME).bin $(NAME).ino

upload: | $(DIR)/build/$(NAME).bin
@cd $(DIR); \
$(ACLI) upload --fqbn esp8266:esp8266:nodemcu -p $(PORT) -i build/$(NAME).bin
$(ACLI) upload --fqbn cm:esp8266:nibble -p $(PORT) -i build/$(NAME).bin

clean:
cd $(DIR); \
Expand Down
4 changes: 2 additions & 2 deletions Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ headerFiles = $(shell dir /s /b *.h | findstr /e .h) $(shell dir /s /b *.hpp |
upload: build $(DIR)/build/$(NAME).bin

cd $(DIR)
$(ACLI) upload --fqbn esp8266:esp8266:nodemcu:baud=921600 -p $(PORT) --input-dir build
$(ACLI) upload --fqbn cm:esp8266:nibble:baud=921600 -p $(PORT) --input-dir build

build: $(DIR)/build/$(NAME).bin

$(DIR)/build/$(NAME).bin: $(srcFiles) $(headerFiles) $(DIR)/$(NAME).ino
"mkdir" -p ".\build"
cd $(DIR)
$(ACLI) compile --fqbn esp8266:esp8266:nodemcu --optimize-for-debug --output-dir build $(NAME).ino
$(ACLI) compile --fqbn cm:esp8266:nibble --optimize-for-debug --output-dir build $(NAME).ino


clean:
Expand Down

0 comments on commit 8aefb43

Please sign in to comment.