Skip to content

[BUG] Missing portPOINTER_SIZE_TYPE definition for ATmega port #697

Closed

Description

@jputcu

The Atmega port: portable/ThirdParty/GCC/ATmega/portmacro.h needs the following:

#define portPOINTER_SIZE_TYPE uint16_t

Activity

  1. added
    bug
    on Jun 28, 2023
  2. kstribrnAmzn commented on Jun 28, 2023

    @kstribrnAmzn
    Member

    Thank you for raising this issue! While I'm happy to make the change on your behalf, would you like to make the change? In doing so you'll get to contribute a fix for a bug you've identified.

  3. jputcu commented on Jun 28, 2023

    @jputcu
    ContributorAuthor

    No problem, I'll create a pull request

  4. jputcu commented on Jun 28, 2023

    @jputcu
    ContributorAuthor

    Maybe related to this issue is the fact that in atmega323 , the define is present. Wouldn't it be better to have one portable/GCC/ATMega, instead of portable/ThirdParty/GCC/ATmega and portable/GCC/ATMega323? Both seem really similar.

  5. kstribrnAmzn commented on Jun 28, 2023

    @kstribrnAmzn
    Member

    The ports should be extremely similar. The key difference is how these ports got created. The ATMega323 port was most likely created by the FreeRTOS team. The more general, third party ATMega port was actually created in this PR by a contributing community member.

    As mentioned in that PR, there are several ATMega chips which aren't supported. Digging through the commits to the port files, it looks like these chips are still not supported as no further work to them has been done.

    If additional ports are needed, we'd love for you to either submit a PR contributing them or create a feature request for whatever ports you need. We use feature requests to understand user needs.

  6. added a commit that references this issue on Jun 29, 2023
    c7da847
  7. added a commit that references this issue on Jun 29, 2023
    1c5eca3
  8. added 2 commits that reference this issue on Jul 21, 2023
    56a360e
    7acf8fd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions