Skip to content

Commit

Permalink
minor fixes inlcuding adding explicit flash mode to make file, and fi…
Browse files Browse the repository at this point in the history
…x incorrect ifdef
  • Loading branch information
tonyrui committed May 16, 2018
1 parent 8ab85c7 commit fd7cdad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 39 deletions.
2 changes: 1 addition & 1 deletion examples/mainArduino/mainArduino.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <Wire.h>

#ifndef(ESP8266)
#ifndef ESP8266
#include <SdFat.h>
#endif

Expand Down
37 changes: 0 additions & 37 deletions mainArduino.ino

This file was deleted.

3 changes: 2 additions & 1 deletion make.lin30
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,15 @@ LIBS ?= $(ESP_LIBS)/Wire \
.

# Esp8266 Arduino git location
ESP_ROOT ?= $(HOME)/esp8266_2.2.0/
ESP_ROOT ?= $(HOME)/esp8266_2.2/
# Output directory
BUILD_ROOT ?= /tmp/$(MAIN_NAME)

UPLOAD_SPEED ?= 230400
UPLOAD_VERB ?= -v
UPLOAD_RESET ?= ck

FLASH_MODE ?= dio
FLASH_DEF ?= 4M1M

# Include possible project makefile. This can be used to override the defaults below
Expand Down

0 comments on commit fd7cdad

Please sign in to comment.