Skip to content

Compile error when the extended filename contains a blank #61

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
gerardwr opened this issue Feb 15, 2019 · 4 comments
Closed

Compile error when the extended filename contains a blank #61

gerardwr opened this issue Feb 15, 2019 · 4 comments

Comments

@gerardwr
Copy link

gerardwr commented Feb 15, 2019

Newbie for STM32duino here, I'm using a Mac.

The pathname of my sketch files contains a blank, something like:

/Users/name/Documents/My Data/Arduino/sketchname.ino

This results in Arduino compile errors like

/Users/name/Documents/My Data/Arduino/hardware/Arduino_STM32-master/tools/macosx/maple_upload: line 34: /Users/name/Documents/My: No such file or directory

As a quick fix I adapted the maple_upload source:

  • Line 34 : replaced $(dir) with "${DIR}"
  • Lines 44,48,53 : replaced ${DFU_UTIL} with "${DFU_UTIL}"

I'm sure there's a neater way to fix the issue, but the quick fix worked for me.

Would it be possible to correct maple_upload so that it is compliant with pathnames containing a blank?

@rogerclarkmelbourne
Copy link
Owner

This is not an issue with the bootloader, its an issue with the arduino_stm32 core

Please repost the issue in that repo

@gerardwr
Copy link
Author

gerardwr commented Feb 19, 2019

Thanks for reply-ing and pointing me in the right direction.

Found a related issue (for compiling) on arduino_stm32_Core:
stm32duino/Arduino_Core_STM32#256

Create a new issue there for uploading:
stm32duino/Arduino_Core_STM32#448

@fpistm
Copy link

fpistm commented Feb 19, 2019

Create a new issue there for uploading:
stm32duino/Arduino_Core_STM32#448

I've answered you about this issue.

@gerardwr
Copy link
Author

@fpistm

Ok, I'm confused, but opened a new issue here. Thanks.
rogerclarkmelbourne/Arduino_STM32#600

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants