Improves NVM controller by providing hwVersion for init
versionController class has a new provision to check for HW (device) definitions in the project files
Project file (platform ini) has a new section that enables #defines for boards. This way, a board version can be passed as compile time to compile for a specific target
Usage
To compile from source you will need to install the platformIO build chain. Check out the EmotiBit documentation to setup platformIO.
Once the platformIO build environment is setup, switch to this branch in EmotiBit_FeatherWing repo and you should be able to compile it from source.
The updateImuData() has some low level driver stuff pulled up to EmotiBit class to enable reading 12 bytes of data in a case when BMM150 is not present.
That needs to move back to the driver and not be scattered in EmotiBit.cpp
NVM controller & LedController
Currently, hwversion is passed to NVM controller to skip NVM init based on hw
This is spec'd to be changed in the future where a init call is controlled by EmotiBit based on hw version.
Since it may change, it is worth discussing the next move here.
Testing
Results
Compiles and runs for Agave RevB
Successfully added WiFi creds to the SD Card
Streaming data over wifi to Oscilloscope
🟡 Needs a fix to solve recording session
Feature Tests
Steps to test
Shared files
Firmware binary: [Link to firmware binary]
Other files.
Checklist to allow merge
[ ] All dependent repositories used were on branch master
Description
init
Usage
Merge requirements
Outstanding Issues
288
289
Documentation update
Notes for Reviewer
updateImuData()
has some low level driver stuff pulled up to EmotiBit class to enable reading 12 bytes of data in a case when BMM150 is not present.Testing
Results
Feature Tests
Steps to test
Shared files
Checklist to allow merge
master
DIGITAL_WRITE_DEBUG
= false (if set true while testing)Screenshots: