Page 1 of 1

sloeber/eclipse pre-build step make (e=5): Access is denied.

Posted: Wed Feb 28, 2024 2:04 pm
by STM32_Newbbe
Hi,

I have a little batch script I execute before building that fetches a git commit-hash to be added as constexpr to the source code.
This works fine for AVR targets, but when I try to use the very sam batch file for STM32 I get an error

C:\Users\USER\Documents\PROJECT\fetchCommitHash.bat
process_begin: CreateProcess(C:\Users\USER\Documents\PROJECT\fetchCommitHash.bat, C:\Users\USER\Documents\PROJECT\fetchCommitHash.bat, ...) failed.
make (e=5): Access is denied.

I use latest STM32 core 2.7.1 and sloeber 4.43

Any idea what might be causing this error?

Re: sloeber/eclipse pre-build step make (e=5): Access is denied.

Posted: Wed Feb 28, 2024 2:31 pm
by STM32_Newbbe
the script works on the command line, but not when called as a pre-build step from within sloeber