Skip to content

Commit

Permalink
Fix example with the custom common options // Resolve #70
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Sep 13, 2023
1 parent 7299f77 commit 325ff80
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions projectconf/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ For more examples, see :ref:`official project examples and community projects <t
[platformio]
default_envs = nodemcuv2
; Set/override default options for each "[env:***]"
[env]
; custom common options
[common]
build_flags =
-D VERSION=1.2.3
-D DEBUG=1
Expand All @@ -71,14 +71,14 @@ For more examples, see :ref:`official project examples and community projects <t
; Build options
build_flags =
${env.build_flags}
${common.build_flags}
-DSSID_NAME=HELLO
-DSSID_PASWORD=WORLD
; Library options
lib_deps =
${env.lib_deps_builtin}
${env.lib_deps_external}
${common.lib_deps_builtin}
${common.lib_deps_external}
https://github.com/me-no-dev/ESPAsyncTCP.git
knolleary/PubSubClient@^2.8
paulstoffregen/OneWire
Expand All @@ -98,7 +98,7 @@ For more examples, see :ref:`official project examples and community projects <t
board = bluepill_f103c8
; Library options
lib_deps = ${env.lib_deps_external}
lib_deps = ${common.lib_deps_external}
; Debug options
debug_tool = custom
Expand Down

0 comments on commit 325ff80

Please sign in to comment.