Add support for nRF52 boards
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 :disappointed:
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!
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.
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.