add extra_configs support for local platformio env#104
Open
tstibor wants to merge 1 commit intoqqqlab:mainfrom
Open
add extra_configs support for local platformio env#104tstibor wants to merge 1 commit intoqqqlab:mainfrom
tstibor wants to merge 1 commit intoqqqlab:mainfrom
Conversation
Add platformio_custom.ini as an extra_configs entry so developers can
define personal board environments (e.g. [env:m5stampfly]) without
modifying the tracked platformio.ini. The file is gitignored to keep
local configs out of the repository.
Example:
$ cat platformio_custom.ini
[env:M5STAMPFLY]
board = esp32-s3-devkitc-1
platform = espressif32
framework = arduino
monitor_filters = esp32_exception_decoder
build_flags =
-D ARDUINO_USB_MODE=1
-D ARDUINO_USB_CDC_ON_BOOT=1
Owner
|
I don't mind if you add the m5stampfly config directly in platform.ini (and keep the platform_custom.ini as well) The idea is to support stampfly at some point. Todo:
We could add a stampfly specific example or hack mf lib for stampfly specific stuff... Probably use first option: Do the PMW3901 update in imu_loop(), and set VL53L3 enable pin in setup() What are you doing for rc radio? This is my work-in-progress setup: Black port -> openlog sdcard |
Contributor
Author
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Add platformio_custom.ini as an extra_configs entry so developers can define personal board environments (e.g. [env:m5stampfly]) without modifying the tracked platformio.ini. The file is gitignored to keep local configs out of the repository.
Example: