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

Infinite recursion from platformio.ini #3883

Closed
1 task done
jcw opened this issue Mar 14, 2021 · 1 comment
Closed
1 task done

Infinite recursion from platformio.ini #3883

jcw opened this issue Mar 14, 2021 · 1 comment
Assignees
Labels
bug config platformio.ini
Milestone

Comments

@jcw
Copy link

jcw commented Mar 14, 2021

What kind of issue is this?

  • PlatformIO Core.
    If you’ve found a bug, please provide an information below.

I can get PIO to very verbosely error out in Python due to infinite recursion, using a setting such as this:

[stm32]
build_flags = ${stm32.build_flags} -DSTM32F1 -g

It's obviously my mistake, but it's easily made when moving settings around between sections which use extends = ... and it was not immediately obvious what the cause of this error was.

Perhaps a quick check before doing the expansion could be added to help find such mistakes more easily.

(Using PIO 5.1.0, MacOS Big Sur, Intel)

@ivankravets ivankravets added bug config platformio.ini labels Mar 14, 2021
@ivankravets ivankravets modified the milestone: 5.1.1 Mar 14, 2021
@ivankravets ivankravets added this to the 5.2.1 milestone Sep 13, 2021
@ivankravets ivankravets self-assigned this Sep 13, 2021
@ivankravets ivankravets modified the milestones: 5.2.1, 5.2.2 Oct 11, 2021
@ivankravets
Copy link
Member

Thanks for the report! Please re-test with pio upgrade --dev.

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

No branches or pull requests

2 participants