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

Development environment specific, Arduino, Eclipse, VS2013, Em::Blocks etc
Post Reply
STM32_Newbbe
Posts: 50
Joined: Thu Nov 05, 2020 10:26 am

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

Post 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?
STM32_Newbbe
Posts: 50
Joined: Thu Nov 05, 2020 10:26 am

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

Post by STM32_Newbbe »

the script works on the command line, but not when called as a pre-build step from within sloeber
Post Reply

Return to “IDE's”