Skip to content

Repository files navigation

EECS473-Concussion Project Setup Instructions

Welcome to the project! The repository of the 5th EECS 473 Group - HITS Concussion solution. Follow these steps to get started:

Step 1: Accept Invitations

Please accept my invitations for the EECS473-Concussion and IMU_I2C repositories. 🙏

Step 2: Clone the Repository

Step 2.1 - If the repo has not been cloned

Clone the App repository in your desired folder using the following command:

git clone --recurse-submodules https://github.com/<uniquename>/EECS473-Concussion.git

The --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.git

Step 2.2 - If the repo has been previously cloned

If you have already cloned the repository before I added the submodules, run the following commands to initialize them:

git submodule update --init --recursive

Step 3: Update Submodules

If needed, you can run the following command to pull any updates to any submodule:

git submodule update --remote

Step 4: Open NRF Connect

Open the NRF Connect application in VSCode.

Step 5: Import Existing Application

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.

Step 6: Create Build Configuration

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.

Step 7: Build and Flash

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!

About

The repository of the 5th EECS 473 Group - HITS Concussion solution.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages