Repository navigation
Fix LINKFLAGS containing a tuple in platformio build script - #2751
Conversation
|
Hi @Stary2001 |
|
Hi guys, thanks for pinging. @Stary2001 Could you please share a project to reproduce the issue? |
|
@valeros I've made a simple reproducer here - https://github.com/Stary2001/pio-project-for-pr-2751 The extra script they use is here: https://github.com/boschsensortec/Bosch-BSEC2-Library/blob/master/extra_script.py#L18 - it iterates over LINKFLAGS to find the mcpu= argument that's being used. |
|
@Stary2001 thanks for a detailed reply. I've pushed your fix to PlatformIO registry. @fpistm Feel free to merge the PR. |
This PR fixes an issue in the platformio build script where a tuple containing the arguments is placed into LINKFLAGS. This broke a custom script in a different project (Bosch BSEC2 sensor library) that looks at LINKFLAGS.
I'm not sure how it worked before..
I've tested this locally and it's a minor change.