Loading...
 
Skip to main content

System Workbench for STM32


Semihosting with STM32

thank a lot for sharing this thread was very helpfull to get printf to go true

i'm now trying file creation and rd/write but it is not behaving as expected
if i do not use an absolute file path like "c:\\tmp\\testfile" but 'testfile" no file get create despite no error is returned ?
Same hapen If using a path to write protected place like "C:\\" it's like the "CWD" curent dir is some rd only folder

I would expect that "CWD" to be location where debuger is started ie "Debug" folder of the project. and that using relative path to cetae a file here (what's seam to hapen with other plugin and toolchains)

In crosgcc or gcc debug configuration their is usualy a way to overhide where program ran but that's not here for ac6 config ???

any help welcome