Advanced options


Type: String | Multiple: Yes

This option allows one to inherit configuration from other sections or build environments in “platformio.ini” (Project Configuration File). Multiple items are allowed, split them with , or with a new line.

If you need to extend only a few options from some section, please take a look at Dynamic variables.


lib_ldf_mode = chain+
lib_compat_mode = strict

platform = espressif32
framework = arduino

extends = espressi32_base, strict_ldf
board = esp32dev
build_flags = -D RELEASE

extends = env:release
build_type = debug
build_flags = -D DEBUG


Type: FilePath | Multiple: Yes

A list of PRE and POST extra scripts.

See details and examples in Advanced Scripting section.

If you plan to share these scripts with Remote Development machine, please put them to shared_dir.