PoE powered RFID reader for access control at HackRVA.
- Follow the Getting Start Guide to install the toolchain and software required for developing with Zephyr.
- Initialze the workspace for the rfid project. Where you would run
git cloneinstead run the following command:This will create a new west workspace inwest init -m git@github.com:HackRVA/rfid-reader.git --mr main rfid
./rfid/containing the repo in./rfid/rfid-readerusing the repo as the manifest repository. - Navigate into
./rfid/rfid-readerand runwest updateto pull down zephyr and all of the requisite modules and libraries.
To build the firmware for the Teensy 4.1 board with ethernet PHY, navigate to the
./rfid/rfid-reader directory and run the following command:
west build --pristine -b teensy41 appThis tells west to do a pristine build for the teensy41 board using
./rfid/rfid-reader/app/ as the application source directory.
Once the firmware is built, it may be flashed onto the Teensy 4.1 board using
the PRJC supplied Teensy Loader. Connect the Teensy and press the programming
button. Load the application from ./rfid/rfid-reader/build/zephyr/zephyr.hex
then program the application to the board. While the program should run
automatically, there is a chance that the phy will not initialize correctly
until a power cycle has been performed.