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

Comments

Projects
None yet
2 participants
@lerneaenhydra

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 ivankravets added the bug label Jun 10, 2016

@ivankravets

This comment has been minimized.

Member

ivankravets commented Jun 10, 2016

ivankravets added a commit that referenced this issue Jun 10, 2016

Merge branch 'develop' into feature/platformio-30
* 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 ivankravets referenced this issue Jun 13, 2016

Closed

platformio 2.10.0 #1944

4 of 4 tasks complete

ivankravets added a commit that referenced this issue Jun 14, 2016

Merge branch 'develop' into feature/platformio-30
* 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