-
-
Notifications
You must be signed in to change notification settings - Fork 178
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
Fix rename file issue #1335
Fix rename file issue #1335
Conversation
With Internal drive on ESP32 the GetFles was adding adding an exra "\" in path which caused rename to fail. I think this is because a \ is seen as part of filename.
Hi @AdrianSoundy, I'm nanoFramework bot. A human will be reviewing it shortly. 😉 |
Sample code that was causing problem.
|
Nice catch @AdrianSoundy ! 👏 Let me check on the STM32 targets before we have this one merged. |
The problem was reported by DWeaver directly to me. I think with FatFS it ignores any extra "\" For Esp32 we convert to internal VFS path |
The code for STM32 is already taking care of this. The test code above runs just fine on STM32F769I-DISCO loaded with an SD Card. |
Description
With Internal drive on ESP32 the GetFiles was adding adding an extra "\" in path which caused rename to fail. I think this is because a \ is seen as part of filename.
Could also be a problem with STM32
Types of changes
Checklist:
Signed-off-by: adriansoundy adriansoundy@gmail.com