Closed PhilippvK closed 4 years ago
I shall do it tonight as I sip on my beer
Many thanks. No hurries.
Works flawlessly.
Unfortunately I found another bug with the new implementation.
If you have
#define LOGO_FILENAME "../resources/freertos.jpg"
and run the executable inside the bin directory, the bin_path would be .
making the concatenated path of the Image .../resources/freertos.jpg
.
I think there is a /
missing.
@alxhoff
ok. I will fix this up. There are a few gross problems like this floating about as I went for quick and dirty at the time.
One of my solutions to connect VSCode with the VM makes use of a gdb server. The execution using it is failing right in the main function:
It seems like you only accept
argv[0]
to habe at least one forward slash/
like common with./FreeRTOS_Emulator
and../bin/FreeRTOS_Emulator
, but in my case it is simplyFreeRTOS_Emulator
. Thus the REGEX is not satisfied.The fix in
getBinFolderPath
should be trivial, but I would appreciate if you would take care of it.