-
Notifications
You must be signed in to change notification settings - Fork 0
How to contribute
Being an open source project you are allowed and encouraged to submit issues, bug fixes and features.
- Clone/Fork the projects master branch
- Make your changes and create a commit (If it requires GUI features to be changed it is recommended to do the same with the configurator repo or if its just a small change detail what the effect is and request a change)
- Create a pull request for your fork against master and describe your contribution in a detailed way. What bug does it fix? Which feature is added?
- Wait for approval and append requested changes to your branch
- Your code gets squash merged if approved
If you directly push a branch to the project as a developer your branch name should contain your username and the type of feature. Set your git author name correctly before committing.
The code should follow the same style as the other parts of the project and you should use easy to understand comments for complex statements and new functions.
If you require a variable to be stored in flash check the eeprom emulation functions and choose an address according to eeprom_addresses.h and add it to the list in eeprom_addresses.c. Don't forget to update the NB_OF_VAR length. In general you should use a block of addresses per class and use the space efficiently. If you have 5 bools and an 8 bit int to store don't use 6 full addresses but pack them into a single uint16_t.