Skip to content

Compile in Arduino IDE fails if username has spaces [2.3.0] #1885

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

Closed
Sgw32 opened this issue Nov 30, 2022 · 3 comments
Closed

Compile in Arduino IDE fails if username has spaces [2.3.0] #1885

Sgw32 opened this issue Nov 30, 2022 · 3 comments
Labels
duplicate This issue or pull request already exists

Comments

@Sgw32
Copy link

Sgw32 commented Nov 30, 2022

Describe the bug

Compile in Arduino IDE fails if username has spaces
arm-none-eabi-g++: error: Team\AppData\Local\Arduino15\packages\STMicroelectronics\hardware\stm32\2.3.0=.: No such file or directory

User name is "Test Team" (lol)
Forgot to change it :D

To Reproduce

Install Arduino Core from Boards Manager, Change the name to some with spaces, change board to Black Pill 411.
Compile sketch:
/*
Blink onboard LED at 0.1 second interval
*/
void setup() {
// initialize digital pin PB2 as an output.
pinMode(PC13, OUTPUT); // LED connect to pin PC13
}
void loop() {
digitalWrite(PC13, HIGH); // turn the LED on (HIGH is the voltage level)
delay(100); // wait for 100mS
digitalWrite(PC13, LOW); // turn the LED off by making the voltage LOW
delay(100); // wait for 100mS
}

Expected behavior

Sketch compiles

Screenshots
https://i.ibb.co/kMhBMps/image.png

Desktop (please complete the following information):
Win10
Arduino IDE 1.8.13
STM32 core version: 2.3.0
Upload method: SWD

Board (please complete the following information):
Name: Black Pill 411

@fpistm fpistm added the duplicate This issue or pull request already exists label Nov 30, 2022
@fpistm
Copy link
Member

fpistm commented Nov 30, 2022

Hi @Sgw32
It is fixed thanks #1759
Duplicate of #1806

@fpistm fpistm closed this as completed Nov 30, 2022
@fpistm
Copy link
Member

fpistm commented Nov 30, 2022

As a workaround waiting the next release, simply replace the local prebuild.sh by this one:
https://github.com/stm32duino/Arduino_Core_STM32/blob/main/system/extras/prebuild.sh

@Sgw32
Copy link
Author

Sgw32 commented Nov 30, 2022

Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants