USCRPL / mbed-cmake

Use the power of CMake to create your MBed applications
36 stars 9 forks source link

Added the MBEDCOPY upload method #33

Closed ProExpertProg closed 3 years ago

ProExpertProg commented 3 years ago

Implemented the fix for #32. Basically just brought back some old code.

Still need to decide how to copy over the file reliably - CMake's upload doesn't work for me for some reason. Maybe someone else can test it out and we can see if it's a problem on my computer or a general WSL thing.

If it's WSL, we could try and detect it, or add an option that controls it?

ProExpertProg commented 3 years ago

Also, Added the following to UploadMethodConfig.cmake:


# Config options for MBEDCOPY
# -------------------------------------------------------------

set(MBEDCOPY_UPLOAD_ENABLED TRUE)

Just so we can appropriately update the example projects etc.