Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make (e=87): The parameter is incorrect. #210

Open
Nalydmerc opened this issue Sep 12, 2024 · 1 comment
Open

make (e=87): The parameter is incorrect. #210

Nalydmerc opened this issue Sep 12, 2024 · 1 comment

Comments

@Nalydmerc
Copy link

Hello! First of all, thank you for all of your work and supporting this extension. Your work saves me a lot of time during the day.

I'm building a project with LVGL, which is quite a large graphics library. The makefile that the extension has generated is here:

STM32Make.make.txt

And the extension configuration is here:

STM32-for-VSCode.config.yaml.txt

When I run a clean build, I get the error

make (e=87): The parameter is incorrect.
STM32Make.make:1170: recipe for target 'build/300_400085.elf' failed
MAKE.EXE: *** [build/300_400085.elf] Error 87

 *  The terminal process "C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -Command & 'C:\PROGRAM FILES\MICROCHIP\MPLABX\V6.00\GNUBINS\GNUWIN32\BIN\MAKE.EXE' -j16 -f STM32Make.make " terminated with exit code: 1. 

The full error log is here:

ErrorLog.txt

Just from a cursory search, I found this thread which suggests that this might be a Windows limitation that the executed command exceeds 32K characters. In any case, I haven't had this problem with 3.2.6, and switching back to that version builds the project just fine.

@jortbmd
Copy link
Member

jortbmd commented Sep 16, 2024

Thanks for opening up this issue and providing research and a possible cause. I can remember hitting this same issue once myself. I will think about this and see if I can find a nice solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants