File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 3
3
#
4
4
5
5
SKETCH := CameraWebServer.ino
6
-
7
6
BOARD := esp32:esp32:esp32cam
8
- PACKAGE_URL := https://dl.espressif.com/dl/package_esp32_index.json
9
7
10
8
BOARD_FILENAME_SLUG := $(subst :,.,$(BOARD ) )
11
9
12
10
all : $(SKETCH ) .$(BOARD_FILENAME_SLUG ) .bin
13
11
12
+
13
+ PACKAGE_URL := https://dl.espressif.com/dl/package_esp32_index.json
14
+ # Note that the package URL is sometimes documented as
15
+ # https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
16
+ # At the time of writing these two urls resulted in byte-for-byte identical
17
+ # files, so I used the shorter URL
14
18
# I dont want to use curl|sh, but this is the documented install method ...
19
+
20
+
15
21
ARDUINO_URL := https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh
16
22
bin/arduino-cli : /usr/bin/curl
17
23
curl -fsSL $(ARDUINO_URL ) | sh
You can’t perform that action at this time.
0 commit comments