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

Exceptions #950

Closed
DJManas opened this Issue Apr 27, 2017 · 6 comments

Comments

Projects
None yet
2 participants
@DJManas

DJManas commented Apr 27, 2017

What kind of issue is this?

  • Question. This issue tracker is not the place for questions. If you want to ask how to do
    something, or to understand why something isn't working the way you expect it to, use
    our Community Forums https://community.platformio.org

  • PlatformIO IDE. All issues related to PlatformIO IDE should be reported to appropriate repository
    https://github.com/platformio/platformio-atom-ide/issues

  • Development Platform or Board. All issues related to Development Platforms or Embedded Boards
    should be reported to appropriate repository.
    See full list with repositories and search for "platform-xxx" repository related to your hardware
    https://github.com/platformio?query=platform-

  • Feature Request. Start by telling us what problem you’re trying to solve. Often a solution
    already exists! Don’t send pull requests to implement new features without first getting our
    support. Sometimes we leave features out on purpose to keep the project small.

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

You can erase any parts of this template not applicable to your Issue.


Configuration

MacOS:

PlatformIO Version (platformio --version): PlatformIO, version 3.4.0a6

I just want to ask if this is pio problem or I should contact someone else. When I create program and use e.g. A1 as analog pin number I get errors in project that A1 was not declared in this scope, but when I compile it everything is OK. I would like to know if this is pio problem or I should contact anyone else to repair it, because it is anoying.
2017-04-27_22-57-41

Steps to Reproduce

Actual Results

Expected Results

If problems with PlatformIO Build System:

The content of platformio.ini:

Insert here...

Source file to reproduce issue:

Insert here...

Additional info

@ivankravets

This comment has been minimized.

Show comment
Hide comment
@ivankravets

ivankravets Apr 27, 2017

Member

Have you tried Menu: PlatformIO > Rebuild C/C++ Index ?

Member

ivankravets commented Apr 27, 2017

Have you tried Menu: PlatformIO > Rebuild C/C++ Index ?

@DJManas

This comment has been minimized.

Show comment
Hide comment
@DJManas

DJManas Apr 28, 2017

Nope :-( since I see it is happening automatically at some point. But I have tried it now, did make clean of the project, now I see only A1 is not declared, the SHT1x.h has been found and it skipped out of the scope.

I am just wondering couldn’t it be, because the analog pins are „declared“ when at compile using #if defined(processor type) ?

DJManas commented Apr 28, 2017

Nope :-( since I see it is happening automatically at some point. But I have tried it now, did make clean of the project, now I see only A1 is not declared, the SHT1x.h has been found and it skipped out of the scope.

I am just wondering couldn’t it be, because the analog pins are „declared“ when at compile using #if defined(processor type) ?

@ivankravets

This comment has been minimized.

Show comment
Hide comment
@ivankravets

ivankravets Apr 28, 2017

Member

Could you provide platformio.ini?

Member

ivankravets commented Apr 28, 2017

Could you provide platformio.ini?

@DJManas

This comment has been minimized.

Show comment
Hide comment

DJManas commented Apr 28, 2017

@ivankravets ivankravets added bug and removed help wanted labels Apr 28, 2017

@ivankravets ivankravets added this to the 3.4.0 milestone Apr 28, 2017

@ivankravets

This comment has been minimized.

Show comment
Hide comment
@ivankravets

ivankravets Apr 28, 2017

Member

This is a bug, PIO does not handle env_default from config. I'll fix it. Thanks.

Member

ivankravets commented Apr 28, 2017

This is a bug, PIO does not handle env_default from config. I'll fix it. Thanks.

@DJManas

This comment has been minimized.

Show comment
Hide comment
@DJManas

DJManas Apr 28, 2017

Thank you

DJManas commented Apr 28, 2017

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment