This section describes how to setup Arduino IDE to be used for Kniwwelino development. It only has to be done if you like to use Kniwwelino without the KniwwelinoBlockly or if you working with Windows, Linux or Mac OSX.
-
Add support for the Kniwwelino hardware to the Arduino IDE
OSX select from the Menu: Arduino > Preferences / Windows and Linux File > Preferences
-
Restart Arduino IDE
Select from the Menu: Tools > Board: > Boards Manager…
Type
ESP into the search box of the Boards Manager window.
Make sure you installed it in version 2.4.0
Select the ESP8266 and press install button
Installation of all necessary libraries:
Select from the Menu: Sketch > Include Library > Manage Libraries…
Search for the following libraries and install them by selecting the Library and pressing the install button. Be careful to use the correct version.
Now you should be able to find the WeMos D1 R2 & mini in the list of supported boards Tools > Board: WeMos D1 R2 & mini .
It is important that you set the Flash Size to 4M (3M SPIFFS) in Tools > Flash Size : 4M (3M SPIFFS).
More info available on the Kniwwelino github page.
If you have troubles with librairies, try to download kniwwelinodependencies_1.2.0.zip and extract the archive in your Arduino>librairies folder.