This is TU/e EE group 10 Rock You Baby projects codebase.
You will not be able to push code here. Installation
$ git clone https://github.com/onixtsm/ryb
$ cp ryb {pynq_board_any_place}
$ cd {pynq_board_any_place}/ryb
$ make # can use make -j 4 to compile faster
Follow these steps to contribute this project.
- Make Github accout
- Fork this project
- Clone it with
$ git clone https://github.com/[username]/ryb
- Make new branch with command
$ git checkout -b [branch name]
- Edit code
- Commit all changes (message should be meaningful and well describing your changes)
$ git add [files or dirs you changes]
$ git commit
- Push changes to your account
$ git push
- Make pull request on github
$ git pull -p
All code is placed in src/
directory
To recompile code run make
from root of the project
If you want to compile code on your computer (for instance you do not need any pynqboard IO), you can use make nopynq=1
. If you do that you need to recompile whole library with this option.
You can indent code by runing
$ make indent
Compiled code is in ./build/main
Do not forget to make and include header file if you created a .c
file
If you create header file add header guard to it.
For now it compiles everything in main
file, but it will be changed when it is needed.
To run the code you can use
$ make run
# or
$ ./build/main
DOCUMENT YOUR CODE