Welcome to the project! The repository of the 5th EECS 473 Group - HITS Concussion solution. Follow these steps to get started:
Please accept my invitations for the EECS473-Concussion and IMU_I2C repositories. 🙏
Clone the App repository in your desired folder using the following command:
git clone --recurse-submodules https://github.com/<uniquename>/EECS473-Concussion.gitThe --recurse-submodules should automatically pull the IMU_I2C repo along with EECS 473-Concussion. If you get an error, check your permissions. If you prefer to use an SSH key, replace the URL with:
git@github.com:<uniquename>/EECS473-Concussion.gitIf you have already cloned the repository before I added the submodules, run the following commands to initialize them:
git submodule update --init --recursiveIf needed, you can run the following command to pull any updates to any submodule:
git submodule update --remoteOpen the NRF Connect application in VSCode.
Go to the NRF Connect panel on the left and click "Open an existing application." Navigate to the IMU_I2C folder within the cloned repo. Make sure to select the entire IMU_I2C folder but not the EECS473-Concussion folder.
NRF Connect should import the application, but you need to create your own build configuration. Under the "APPLICATIONS" tab of NRF Connect, click "Add a build configuration." Use the following settings:
- Board target:
nrf5340dk/nrf5340/cpuapp - Base configuration files:
prj.conf(you may need to manually browse and add the file if it doesn’t show in the dropdown) - Base Devicetree overlays:
nrf5340dk_nrf5340_cpuapp.overlay
Once this is complete, click the "Build configuration" button at the bottom.
You should now be ready to build and flash the NRF5340 device under the "ACTIONS" tab.
If you encounter any issues or have questions, feel free to reach out! Happy coding!