Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ICBM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
detectors
DSSC
ICBM
Commits
596c26c3
Commit
596c26c3
authored
1 year ago
by
Cyril Danilevski
Browse files
Options
Downloads
Patches
Plain Diff
Update README
parent
8951953e
No related branches found
No related tags found
No related merge requests found
Pipeline
#131891
passed
1 year ago
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-10
12 additions, 10 deletions
README.md
with
12 additions
and
10 deletions
README.md
+
12
−
10
View file @
596c26c3
...
@@ -46,32 +46,34 @@ arduino-cli config init
...
@@ -46,32 +46,34 @@ arduino-cli config init
Then set up the required environment. Edit
`~/.arduino15/arduino-cli.yaml`
and add the following:
Then set up the required environment. Edit
`~/.arduino15/arduino-cli.yaml`
and add the following:
```
bash
```
yaml
board_manager
:
board_manager
:
additional_urls
:
additional_urls
:
-
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
-
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
-
http://arduino.esp8266.com/stable/package_esp8266com_index.json
-
http://arduino.esp8266.com/stable/package_esp8266com_index.json
library
:
enable_unsafe_install
:
true
```
```
We enable unsafe installation to allow installation of packages outside of the Arduino package registry (ie. via git)
Update the Arduino index with:
Update the Arduino index with:
```
bash
arduino-cli core update-index
arduino-cli core update-index
```
The required libraries are:
The required libraries are:
arduino-cli lib install ethernet
arduino-cli lib install ethernet
arduino-cli lib install SNMP
arduino-cli lib install --git-url https://github.com/patricklaf/SNMP.git
The project can be compiled so:
The project can be compiled so:
arduino-cli compile -
-fqbn
esp32:esp32:esp32wroverkit icbm.ino -v
arduino-cli compile -
b
esp32:esp32:esp32wroverkit icbm.ino -v
And uploaded so:
And uploaded so:
arduino-cli upload -p /dev/ttyUSB1 -
-fqbn
esp32:esp32:esp32wroverkit
arduino-cli upload -p /dev/ttyUSB1 -
b
esp32:esp32:esp32wroverkit
### Versioning
### Versioning
...
@@ -84,5 +86,5 @@ The git date can be set via `-DICBM_GIT_TIMESTAMP`.
...
@@ -84,5 +86,5 @@ The git date can be set via `-DICBM_GIT_TIMESTAMP`.
CI artefacts can be uploaded so:
CI artefacts can be uploaded so:
unzip
firmware
.zip
unzip
icbm-0.0.0
.zip
arduino-cli upload -p /dev/ttyUSB1 -
-fqbn
esp32:esp32:esp32wroverkit --input-dir
firmware
arduino-cli upload -p /dev/ttyUSB1 -
b
esp32:esp32:esp32wroverkit --input-dir
icbm-0.0.0
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment