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 support for nRF52 boards #17

Open
rtyley opened this issue Apr 16, 2017 · 2 comments
Open

Add support for nRF52 boards #17

rtyley opened this issue Apr 16, 2017 · 2 comments

Comments

@rtyley
Copy link

rtyley commented Apr 16, 2017

Can I offer 0.03 bitcoin (~$40) towards making a new release of your Encoder library with support for nRF52 boards?

Specifically, I'm trying to run an Arduino sketch on a Adafruit Feather nRF52 Bluefruit - there's no helper chip (eg ATmega32u4 or ATSAMD21) with this product, instead code is run directly on the nRF52832.

Having successfully used your Encoder library with other boards, I've had a couple of compilation errors compiling for thenRF52:

  • libraries/Encoder/utility/interrupt_pins.h:202:2: error: #error "Interrupts are unknown for this board, please add to this code"
  • libraries/Encoder/Encoder.h:61:11: error: 'IO_REG_TYPE' does not name a type

...new values need adding to interrupt_pins.h & direct_pin_read.h, but I'm inexperienced in this area and even after a bit of digging around the board definition in adafruit/Adafruit_nRF52_Arduino I still wasn't sure what to add 😞

If you could make a new release of your library with this support I'd appreciate it - if necessary, you can put the Bitcoin towards purchase of a Feather nRF52 for testing!

@PaulStoffregen
Copy link
Owner

Sorry, I'm not available for a new project, even on a paid consulting basis. I also do not have experience with this particular hardware.

Perhaps you can find someone who knows this hardware and is willing to do the work and submit a pull request? These register defs are fairly easily understood by anyone who's an expert with the particular hardware.

@rtyley
Copy link
Author

rtyley commented Apr 17, 2017

Fair enough! I've asked for help on the Adafruit forum- Adafruit have replied that they'll put it on the list of things to work on, but the nRF52 is a new board and it'll be a while before they get to it.

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

No branches or pull requests

2 participants