Skip to content
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

Specifying "-Lsomelocaldir" as a build option fails #688

Closed
lerneaenhydra opened this issue Jun 10, 2016 · 1 comment
Closed

Specifying "-Lsomelocaldir" as a build option fails #688

lerneaenhydra opened this issue Jun 10, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@lerneaenhydra
Copy link

lerneaenhydra commented Jun 10, 2016

Configuration

Operating system: Linux 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:15 UTC 2016 i686 athlon i686 GNU/Linux

PlatformIO Version (platformio --version): PlatformIO, version 2.9.1

Description of problem

Assuming some directory 'foo' exists in the project root then specifying "-Lfoo" in the build_flags section of a platformio.ini file actually results in "-Lscripts/foo" being sent to the linker.

If problems with PlatformIO Build System:

The content of platformio.ini:

#
# Project Configuration File
#
# A detailed documentation with the EXAMPLES is located here:
# http://docs.platformio.org/en/latest/projectconf.html
#

# A sign `#` at the beginning of the line indicates a comment
# Comment lines are ignored.

# Simple and base environment
# [env:mybaseenv]
# platform = %INSTALLED_PLATFORM_NAME_HERE%
# framework =
# board =
#
# Automatic targets - enable auto-uploading
# targets = upload

[env:disco_f407vg]
platform = ststm32
framework = spl
board = disco_f407vg
build_flags = -lPDMFilter_GCC -Llib_ext
@ivankravets ivankravets self-assigned this Jun 10, 2016
@ivankravets ivankravets added this to the 2.9.5 milestone Jun 10, 2016
@ivankravets
Copy link
Member

ivankravets added a commit that referenced this issue Jun 10, 2016
* develop:
  Check program size before uploading to the board // Resolve #689
  Fix issue with "-L relative/path" when parsing "build_flags" // Resolve #688
  Fix upload speed for OpenEnergyMonitor board
ivankravets added a commit that referenced this issue Jun 14, 2016
* develop:
  Add support for ST Nucleo L031K6 board to ARM mbed framework
  Fix typo
  Fix pylint error
  Update history
  Improve linker flags handling for mbed
  Update examples
  Improve include selection for mbed boards with a custom vendor
  Re-submit a package to PyPI
  Version bump to 2.10.0 (issues #683, #687, #688, #689, #691)
  Pass PlatformIO macros with version to libs
  Update ARM mbed framework package to v121
  Typo fixes
  Move custom platform and board to separate page
  Add new ST Nucleo board
  Update build script for mbed framework
  Improve firmware uploading to Arduino Leonardo based boards // Resolve #691
  Typo fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants