Added framework for users to edit the paltformio file for machine differences without uploading the changes to github.
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -9,3 +9,5 @@ Schematics/Block-Party/Block-Party-Cube-Bottom-Board/production
|
|||||||
Schematics/Block-Party/Block-Party-Main-Board/Block-Party-Main-Board-backups/
|
Schematics/Block-Party/Block-Party-Main-Board/Block-Party-Main-Board-backups/
|
||||||
Schematics/Block-Party/Block-Party-Cube-Bottom-Board/Block-Party-Bottom-Board-backups/
|
Schematics/Block-Party/Block-Party-Cube-Bottom-Board/Block-Party-Bottom-Board-backups/
|
||||||
Schematics/Block-Party/Block-Party-Cube-Top-Board/Block-Party-Cube-Top-Board-backups/
|
Schematics/Block-Party/Block-Party-Cube-Top-Board/Block-Party-Cube-Top-Board-backups/
|
||||||
|
|
||||||
|
platformio-local.ini
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
; https://docs.platformio.org/page/projectconf.html
|
; https://docs.platformio.org/page/projectconf.html
|
||||||
[platformio]
|
[platformio]
|
||||||
default_envs = esp32s3_release ; this ensures that only this environment is built for anything but the debug build
|
default_envs = esp32s3_release ; this ensures that only this environment is built for anything but the debug build
|
||||||
|
extra_configs = platformio-local.ini
|
||||||
|
|
||||||
[env]
|
[env]
|
||||||
; platform = espressif32
|
; platform = espressif32
|
||||||
@@ -17,10 +18,9 @@ platform = https://github.com/platformio/platform-espressif32.git
|
|||||||
board = esp32-s3-devkitc-1
|
board = esp32-s3-devkitc-1
|
||||||
framework = arduino
|
framework = arduino
|
||||||
build_flags = -Iinclude
|
build_flags = -Iinclude
|
||||||
; lib_ldf_mode = chain+
|
|
||||||
|
|
||||||
monitor_speed = 9600
|
monitor_speed = 9600
|
||||||
monitor_filters = esp32_exception_decoder, colorize, send_on_enter
|
monitor_filters = colorize, send_on_enter
|
||||||
upload_speed = 2000000 ;ESP32S3 USB-Serial Converter maximum 2000000bps
|
upload_speed = 2000000 ;ESP32S3 USB-Serial Converter maximum 2000000bps
|
||||||
lib_deps = adafruit/Adafruit NeoPixel@^1.12.0
|
lib_deps = adafruit/Adafruit NeoPixel@^1.12.0
|
||||||
|
|
||||||
@@ -35,4 +35,6 @@ build_type = debug
|
|||||||
debug_speed = 20000
|
debug_speed = 20000
|
||||||
; debug_port = COM7
|
; debug_port = COM7
|
||||||
; monitor_port = COM14
|
; monitor_port = COM14
|
||||||
build_flags = -O1 -Iinclude
|
build_flags =
|
||||||
|
-D DEBUG = 1
|
||||||
|
-I include
|
||||||
23
template-platformio-local.ini
Normal file
23
template-platformio-local.ini
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
; This is a template that will allow you to add additional configuration
|
||||||
|
; options to the platformio.ini file without changing anything in git.
|
||||||
|
; options like upload/monitor ports are great things to put here
|
||||||
|
; because those will vary from computer to computer.
|
||||||
|
; To use this configuration, make a copy of this file and rename it to "platformio-local.ini"
|
||||||
|
; and then uncomment some of the following code or add your own options
|
||||||
|
; Feel free to modify the code as needed
|
||||||
|
|
||||||
|
; this will add additional configuration options to esp32s3_release environment.
|
||||||
|
; This environment is the default for building/sending code to the baord
|
||||||
|
; so this should be the first thing you change/modify
|
||||||
|
; Uncomment the following code as needed:
|
||||||
|
; [env:esp32s3_release]
|
||||||
|
; monitor_port = COM10
|
||||||
|
; upload_port = COM11
|
||||||
|
; monitor_speed = 115200
|
||||||
|
|
||||||
|
; this is the debug configuration which you probably don't need
|
||||||
|
; unless you're doing some complicated firmware development.
|
||||||
|
; [env:esp32s3_debug]
|
||||||
|
; debug_port = COM7
|
||||||
|
; monitor_port = COM14
|
||||||
|
; upload_port = COM12
|
||||||
Reference in New Issue
Block a user