xjjak / LapCal

Building gloves that enable typing on a 34-key keyboard without an actual physical keyboard using IMUs and machine learning.
Other
2 stars 0 forks source link

Added build flag MULT_CORE #42

Closed xjjak closed 4 months ago

xjjak commented 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).

So the command to flash the firmware with parallelization looks like this: PLATFORMIO_BUILD_FLAGS=-DMULT_CORE=0 pio run -t upload