diff --git a/ports/atmega32u4/src/nrf51.c b/ports/atmega32u4/src/nrf51.c new file mode 100644 index 0000000..441cabd --- /dev/null +++ b/ports/atmega32u4/src/nrf51.c @@ -0,0 +1,2 @@ +// implement rf.h for nrf51 as in mitosis receiver. Data is piped to nrf51 over UART +// nrf51 should handle encryption and decryption of data with the built in AES accelerator diff --git a/ports/atmega32u4/src/uart.c b/ports/atmega32u4/src/uart.c new file mode 100644 index 0000000..294f90b --- /dev/null +++ b/ports/atmega32u4/src/uart.c @@ -0,0 +1 @@ +// implement UART driver for 32u4 to talk to nrf51 on mitosis receivers diff --git a/ports/atmega32u4/src/uart.h b/ports/atmega32u4/src/uart.h new file mode 100644 index 0000000..e69de29 diff --git a/ports/nrf51/README.md b/ports/nrf51/README.md new file mode 100644 index 0000000..b579f98 --- /dev/null +++ b/ports/nrf51/README.md @@ -0,0 +1,10 @@ +# NRF51 Support + +Support for the common nrf51 modules. Should work for receiving (needs extra hardware such as atmega32u4) and transmitting. + +## Features todo + +1. Add UART support and integrate with 32u4 for support of [mitosis receivers](https://github.com/reversebias/mitosis-hardware) +2. Encryption/decryption on nrf51 chip as it is faster than the 32u4. NRF51 has AES encryption hardware, but not decryption, so use [cifra](https://github.com/ctz/cifra) for that. +3. Compatibility with ESB protocol to work with all nrf24 based boards +4. *Maybe* write a bootloader for nrf51 so it can be updated over UART for the receiver. People with nrf51 based boards would still have to update the transmitters with a SWD programmer.