Closed xjjak closed 4 months ago
MULT_CORE is set to 1 by default (if not defined), enabling parallelization. MULT_CORE=0 disables it.
By setting the environment variable PLATFORMIO_BUILD_FLAGS additional build flags can be passed at pio run level. (source).
PLATFORMIO_BUILD_FLAGS
pio run
So the command to flash the firmware with parallelization looks like this: PLATFORMIO_BUILD_FLAGS=-DMULT_CORE=0 pio run -t upload
PLATFORMIO_BUILD_FLAGS=-DMULT_CORE=0 pio run -t upload
MULT_CORE is set to 1 by default (if not defined), enabling parallelization. MULT_CORE=0 disables it.
By setting the environment variable
PLATFORMIO_BUILD_FLAGS
additional build flags can be passed atpio run
level. (source).So the command to flash the firmware with parallelization looks like this:
PLATFORMIO_BUILD_FLAGS=-DMULT_CORE=0 pio run -t upload