forked from openbikesensor/OpenBikeSensorFirmware
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added an optional way to add local modifications to platformio.ini
For example can the upload_port be set explicitly here
- Loading branch information
1 parent
32cf0cd
commit 0638f62
Showing
4 changed files
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ | |
.vscode/extensions.json | ||
CMakeListsPrivate.txt | ||
cmake-build-*/ | ||
custom_config.ini | ||
!custom_config.ini.example |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
; This file should contain your local modifications to the PlatformIO.ini file. | ||
|
||
[env:esp32dev] | ||
; upload_port: Optional. If not set, PlatformIO will try to autodetect the port. | ||
; (for example for macOS:) | ||
; upload_port = /dev/cu.SLAB_USBtoUART |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,21 +8,26 @@ | |
; Please visit documentation for the other options and examples | ||
; https://docs.platformio.org/page/projectconf.html | ||
|
||
; If you need to set some configurations differently for your local setup, copy | ||
; the 'custom_config.ini.example' to 'custom_config.ini' and put your changes there. | ||
; This new file will be ignored by git and therefore won't be overwritten at some point. | ||
|
||
[platformio] | ||
src_dir = OpenBikeSensorFirmware | ||
extra_configs = custom_config.ini | ||
|
||
[env:esp32dev] | ||
platform = espressif32 | ||
board = esp32dev | ||
framework = arduino | ||
monitor_speed = 9600 | ||
# The following dependencies can either use their full name or their (platformio library) id | ||
; The following dependencies can either use their full name or their (platformio library) id | ||
lib_deps = | ||
# ArduinoJson by Benoit Blanchon | ||
; ArduinoJson by Benoit Blanchon | ||
ArduinoJson | ||
# CircularBuffer by AgileWare | ||
; CircularBuffer by AgileWare | ||
CircularBuffer | ||
# TinyGPSPlus by Mikal Hart | ||
; TinyGPSPlus by Mikal Hart | ||
[email protected] | ||
# SSD1306 by ThingPulse | ||
; SSD1306 by ThingPulse | ||
562 |