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

add generic nrf52833 support #627

Closed
wants to merge 2 commits into from
Closed

Conversation

braingram
Copy link

I had a need to get this working on a custom nrf52833 board and wanted to share the result. I don't have a pca10100 to test with but could get one if it would prove useful (and add that board to the core) to validate this pull request. Otherwise I added a 'generic nrf52833'.

I mostly pulled files over from the nrfx-v2.1.0 mdk but did make some changes to the gcc_startup assembly to make it fill the stack with 0xAD like the other chips.

Copy link
Member

@hathach hathach left a comment

Choose a reason for hiding this comment

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

Thanks for your PR, though generic board is troublesome for future support and maintenance. Everything is too vague and people could use different gpio for same purpose with all sort of confusion. Please pick one of well known board such as pca10010 with correct pin mapping. PCA10100 has standard UNO header, which will help to test with other shield/sensor etc ... The changes look good though, 833 is not too different from 840 except for the crypto cell cc310 .

PS: Like bootloader PR, VID/PID must also be unique as well. Note bootloader and this app mode must have different PIDs.

@LokiMetaSmith
Copy link

I applied these changes and needed to add a few more to get bluefruit support to compile.

I also added in the changes needed to get DSP to compile. I know you're not suppose to combine multiple features like this, but I'm still figuring out git and wanted to share what I have working.

https://github.com/LokiMetaSmith/Adafruit_nRF52_Arduino/tree/ada_master

@hathach
Copy link
Member

hathach commented Jun 4, 2021

@LokiMetaSmith I have DSP lib already enabled locally (also update CMSIS to 5.7.0) on effort to compiled with latest tensorflow. You should just focus on the port.

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.

4 participants