forked from mohr/ArduinoIO
instructions to set up libraries
This commit is contained in:
parent
4176037c2c
commit
0571eb9c89
11
README.md
11
README.md
@ -48,15 +48,18 @@ make clean -j
|
||||
|
||||
2. Install the Eclipse Sloeber plugin by going to Help → Eclipse Marketplace and searching for Sloeber V4 and installing it
|
||||
|
||||
3. Set up the plugin for the used board and install all required libraries.
|
||||
3. Create a new Arduino sketch
|
||||
|
||||
4. Create a new Arduino sketch
|
||||
4. It is recommended to get familiar with the interface provided by the plugin. A majority of functions is provided by top bar elements as shown in the following picture.
|
||||
|
||||
<img src="helper/eclipse_top_bar.png" width="80%"> <br>
|
||||
|
||||
5. The Sloeber plugin build mangement system will parse the arduino folder and all contained subfolders for source files. If you want to exclude source files from the build (for example, to exclude the arduino\_core, Sloeber will take care to include the core files via its integrated board manager!), right click on that folder in the tree view on the left, go to Resource Configureation and configure Exclude from Build.
|
||||
|
||||
6. It is recommended to get familiary with the interface provided by the plugin. A majority of functions is provided by top bar elements as shown in the following picture.
|
||||
6. Set up the plugin for the used board and install all required libraries. First, install all required board libraries by going to Arduino → Preferences and using the options Library Manager and Platform and Boards.
|
||||
It is necessary to install the `arduino-timer` library by searching for timer in the Library Manager. It
|
||||
is recommended to install the Arduino AVR Boards and the Arduino megaAVR Boards in the Platforms and Boards manager. It is also necessary to go to Arduino → Preferences → Add a library to the selected project and then adding the `arduino-timer` and `SPI` library there.
|
||||
|
||||
<img src="helper/eclipse_top_bar.png" width="80%">
|
||||
### Build and flash instructions
|
||||
|
||||
1. An Arduino like bar can be seen at the top, which can be used to compile the software and flash it to the board. The check symbol is used to compile while the right arrow symbol is used to flash the software. There are also symbols to open the serial monitor or the serial plot.
|
||||
|
Loading…
Reference in New Issue
Block a user