Skip to content

Instantly share code, notes, and snippets.

@mrThinBone
Last active August 1, 2026 03:01
Show Gist options
  • Select an option

  • Save mrThinBone/a06845d39ba7208ad0e081006bdc3fd1 to your computer and use it in GitHub Desktop.

Select an option

Save mrThinBone/a06845d39ba7208ad0e081006bdc3fd1 to your computer and use it in GitHub Desktop.
assignment 2
https://github.com/cu-ecen-aeld/assignment-2-mrThinBone.git
Then use these commands in git bash to prepare your assignment repository:
git remote remove origin
This removes the origin repository you used to submit the previous assignment
git remote add origin <url>
Substitute <url> for the repository created through the github assignment link for the current assignment. Use the SSH URL to use with your SSH keys. See https://github.com/cu-ecen-aeld/aesd-assignments/wiki/Setting-up-SSH-Access-To-your-Repo
for details.
This is where you will submit your current assignment. It will be configured as origin so git push origin master will push to this repository.
git fetch assignments-base
Fetch the latest content from the starter code remote added above
This step assumes you’ve already created the remote using git remote add assignments-base git@github.com:cu-ecen-aeld/aesd-assignments.git in assignment 1. If you started from a new repo you’ll need to re-run the git remote add step before attempting to fetch.
git merge assignments-base/assignment2
Merge the assignment 2 starter code from the assignment2 branch of the aesd-assignments repository into your master branch
git submodule update --init --recursive
This ensures your autotest submodule is up to date with master.
git push origin main
This pushes your main branch, including previous assignment source and content merged from assignments-base to your working repository for this assignment. If you prefer to use the master branch instead, substitute all push references to main to use master instead in this and following assignments.
@mrThinBone

Copy link
Copy Markdown
Author

Setup an ARM cross compile toolchain as described in Module 1 instructions and the wiki page at source

@mrThinBone

Copy link
Copy Markdown
Author

@mrThinBone

Copy link
Copy Markdown
Author

aarch64-none-linux-gnu-gcc -v -print-sysroot > assignments/assignment2/cross-compile.txt 2>&1

@mrThinBone

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment