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

Clean up Support for 32Bit Arduino Due #108

Merged
merged 3 commits into from
Jul 4, 2021
Merged

Clean up Support for 32Bit Arduino Due #108

merged 3 commits into from
Jul 4, 2021

Conversation

pgrawehr
Copy link
Contributor

@pgrawehr pgrawehr commented Jul 4, 2021

No description provided.

pgrawehr and others added 2 commits July 4, 2021 12:52
@pgrawehr pgrawehr self-assigned this Jul 4, 2021
@pgrawehr pgrawehr merged commit 1e7d0b2 into master Jul 4, 2021
@pgrawehr pgrawehr deleted the DueSupport2 branch July 4, 2021 13:18
@@ -489,7 +489,7 @@ void FirmataClass::sendStringf(const FlashString* flashString, int sizeOfArgs, .
{
// The parameter "sizeOfArgs" is currently unused.
// 16 bit board?
#if UINT_MAX <= UINT16_MAX
#ifdef ARDUINO_ARCH_AVR
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure you want to limit this just to AVR architectures?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, I actually want to limit it to all architectures with only a "small" amount of RAM, but I didn't really find a good way of detecting that. There doesn't seem to be a way that for instance tells whether a CPU is 8 bit. I may need to add something like that to boards.h.

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

Successfully merging this pull request may close these issues.

2 participants