Replies: 2 comments 2 replies
|
Hi @gicking I don't think it is a case sensitive issue as it build properly under Arduino IDE and also using CMake under windows. We met yor issue under Arduino and fix it as advised by Arduino: So you probably get an issue with include path under pio, ensure to not have |
|
hello Frederic, thanks a lot for your fast support! I added this to and now the dummy project compiles without issues, also under Win11 and PlatformIO. In my actual project I still see a lot of errors, but that may be unrelated. Please give me time to investigate and don't yet close. Thanks again and have a great day! Georg |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
(Any) Arduino sketch fails to compile with Arduino Core STM32 v3.0.0 under Windows
Due to recent enhancements, I need Arduino Core STM32 v3.0.0 for a PlatformIO project. Under Linux the project compiles, under Windows I get this error
Compiling the attached dummy PlatformIO project STM32_bug.zip shows the same error. I tried with Linux and Arduino IDE also and get the following results
Note that the project compiles without error with previous v2.12.0 of Arduino Core STM32, so this was newly introduced with v3.0.0.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Project should build without error.
Screenshots
See above error message
Desktop (please complete the following information):
Board (please complete the following information):
Additional context
ChatGPT suspects that this is due to Windows file system not being case sensitive, i.e.
#include "String.h"and#include <string.h>are not distinguished. This would explain why Linux has no issue, as it's file system is case sensitive.I tried to fix the problem and issue a pull request, but I failed. Also, I figured that this should be easy to fix, as v2.12.0 of Arduino Core STM32 did not have this issue
All reactions