Skip to content

Speeding up the build time #23

@Gregwar

Description

@Gregwar

Hello,

Building time (pio run) with platformio and mbed is really long, even with minor changes in application files (and no change in mbed itself).
I am now using a workaround involving tweaking scons itself to ignore the check of changes on mbed files themselves and is explained here:
https://gregwar.github.io/speedup-pio-mbed-build-and-dfu-util#speed-up-the-build-time-pio-run-w-mbed

This is really dirty but speeds up the build time by a great factor

I think it might be possible to have a faster build with other methods, one of them would be building a separate library for mbed and either build it or just use it if it exists without asking scons to scan all the files (which takes like 20s on my computer)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions