Closed
Description
Description
- Type: Bug
- Priority: Minor
Bug
Target
Any
Toolchain:
Any Makefile based export.
Expected behavior
mbed export -m <board> -i make_gcc_arm
make
Actual behavior
Error code:
make (e=87): The parameter is incorrect.
This is produced because the final link command is 44,252 characters long.
Windows CreateProcess() only accepts command line maximum length to be 32,768 characters. See here.
Similar issue described here: https://stackoverflow.com/questions/12598933/ndk-build-createprocess-make-e-87-the-parameter-is-incorrect
Steps to reproduce
Import mbed-os-example-mesh-minimal
mbed export -m <board> -i make_gcc_arm
Workarounds
- Don't use Makefile builds on Windows.