janjongboom / mbed-simulator

Experimental simulator for Mbed OS 5 applications
Other
173 stars 66 forks source link

Fix building in Windows #33

Closed janjongboom closed 5 years ago

janjongboom commented 5 years ago

Two issues at play:

  1. The simignore file when read in Windows has \r\n at the end of the line. We only split at \n thus leaving the trailing carriage return. This in turn makes that the simignore regex does not match any folders.
  2. Due to the inclusion of simple-mbed-cloud-client we now have much more folders, and hitting the 32K argument limit when invoking emcc.

Didn't spot 1) before because I was using VMWare Fusion mounting my MacOS checkout of the folder. 2) has been resolved by removing any folders that do not contain header files, drastically shortening the path.