-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Removed ProS2 and added TinyS2 to boards.txt #5037
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
Conversation
Looks like a nice board 🍾 |
Cheers :) |
This is why my APA doesn't work on my FeatherS2 as it usess IO45 and the check is for < not <=
Modifying hal code is outside of the scope of a variant change, and I don't think you are correct. pin46 is input only (so NUM_OUTPUT_PINS really is 46). |
This is NOT a variant change. This is specific to all S2 and S3 chips. Either way that number is wrong. It should at least be 46 as having it as 45 excludes IO45 which is a JTAG pin, so this is a bug that needs to be fixed. |
It all depends what you mean by
Am i missing something? |
Yeah, it's an ambiguous name for sure, but in code it limits the MAX GPIO value that can be used... and that's just incorrect, as it prevents anyone from using IO45 in their Arduino code. |
I would rather propose to fix this line: |
Is that the only place it's used? |
It is also used in this code: So, in that case your suggestion of changing it in define is good, but value shall be 46 not 47. |
I wont be shipping my ProS2 and instead am shipping my TinyS2.