8000 Windows 10 instructions (#4797) · simap/Arduino@0f34bd8 · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0f34bd8

Browse files
gojimmypidevyte
authored andcommitted
Windows 10 instructions (esp8266#4797)
* Instructions update added correction for Windows 10 git install directory * Update installing.md * Update installing.rst * Reminder for VisualMicro install clarifications * tidy up links markup works differently in rst vs md * formatting cleanup * corrected default sketch directory the default Arduino Sketchbook directory is C:\users\{username}\Documents\Arduino (thanks @Juppit) esp8266#4797 (comment) * check for directory before creating
1 parent 74819a7 commit 0f34bd8

File tree

1 file changed

+79
-4
lines changed

1 file changed

+79
-4
lines changed

doc/installing.rst

Lines changed: 79 additions & 4 deletions
< 3FEB td data-grid-cell-id="diff-4c6eb820cb51bcef036d09af2889b16d1051bceacd592b4c3a53c346b070717a-53-128-2" data-line-anchor="diff-4c6eb820cb51bcef036d09af2889b16d1051bceacd592b4c3a53c346b070717aR128" data-selected="false" role="gridcell" style="background-color:var(--bgColor-default);padding-right:24px" tabindex="-1" valign="top" class="focusable-grid-cell diff-text-cell right-side-diff-cell left-side">
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ You may optionally use *staging* boards manager package link:
3333
This may contain some new features, but at the same time, some things
3434
might be broken.
3535

36+
For more information on the Arduino Board Manager, see:
37+
38+
- https://www.arduino.cc/en/Guide/Libraries
39+
3640
Using git version
3741
-----------------
3842

@@ -42,13 +46,84 @@ developers.
4246
Prerequisites
4347
~~~~~~~~~~~~~
4448

45-
- Arduino 1.6.8 (or newer, if you know what you are doing)
49+
- Arduino 1.6.8 (or newer, current working version is 1.8.5)
4650
- git
47-
- python 2.7
48-
- terminal, console, or command prompt (depending on you OS)
51+
- Python_ 2.7 (http://python.org)
52+
- terminal, console, or command prompt (depending on your OS)
4953
- Internet connection
5054

51-
Instructions
55+
Instructions - Windows 10
56+
~~~~~~~~~~~~
57+
- First, make sure you don't already have the ESP8266 library installed using the Board Manager (see above)
58+
59+
- Install git for Windows (if not already; see https://git-scm.com/download/win)
60+
61+
- Open a command prompt (cmd) and go to Arduino default directory. This is typically the
62+
*sketchbook* directory (usually ``C:\users\{username}\Documents\Arduino`` where the environment variable ``%USERPROFILE%`` usually contains ``C:\users\{username}``)
63+
64+
- Clone this repository into hardware/esp8266com/esp8266 directory.
65+
66+
.. code:: bash
67+
68+
cd %USERPROFILE%\Documents\Arduino\
69+
if not exist hardware mkdir hardware
70+
cd hardware
71+
if not exist esp8266com mkdir esp8266com
72+
cd esp8266com
73+
git clone https://github.com/esp8266/Arduino.git esp8266
74+
75+
You should end up with the following directory structure in
76+
77+
``C:\Users\{your username}\Documents\``
78+
79+
.. code:: bash
80+
81+
Arduino
82+
|
83+
--- libraries
84+
--- hardware
85+
|
86+
--- esp8266com
87+
|
88+
--- esp8266
89+
|
90+
--- bootloaders
91+
--- cores
92+
--- doc
93+
--- libraries
94+
--- package
95+
--- tests
96+
--- tools
97+
--- variants
98+
--- platform.txt
99+
--- programmers.txt
100+
--- README.md
101+
--- boards.txt
102+
--- LICENSE
103+
104+
- Download binary tools
105+
106+
.. code:: bash
107+
108+
cd esp8266/tools
109+
python get.py
110+
111+
- Restart Arduino
112+
113+
- If using the Arduino IDE for Visual Studio (https://www.visualmicro.com/), be sure to click Tools - Visual Micro - Rescan Toolchains and Libraries
114+
115+
- When later updating your local library, goto the esp8266 directory and do a git pull
116+
117+
.. code:: bash
118+
119+
cd %USERPROFILE%\Documents\hardware\esp8266com\esp8266
120+
git status
121+
git pull
122+
123+
Note that you could, in theory install in ``C:\Program Files (x86)\Arduino\hardware`` however this has security implications, not to mention the directory often gets blown away when re-installing Arduino IDE. It does have the benefit (or drawback, depending on your perspective) - of being available to all users on your PC that use Arduino.
124+
125+
126+
Instructions - Other OS
52127
~~~~~~~~~~~~
53128
54129
- Open the console and go to Arduino directory. This can be either your

0 commit comments

Comments
 (0)
0