Based on Microchip SAMD21 chip, ATSAMD21-XPRO dev board
Doxygen project documentation, modern css theme by doxygen-awesome-css. Deployed on GitHub pages by GitHub actions.
$ git submodule init && git submodule update --remote # install submodules
libraries
are managing by Git submodules feature
add example: git submodule add https://github.com/polesskiy-dev/active-object-fsm.git libraries/active-object-fsm
Inside __DEBUG
should be placed debug related functionality i.e. SYS_DEBUG_PRINT(SYS_ERROR_INFO, fmt, ...)
To open terminal you can use i.e. minicom
:
minicom --device /dev/tty.usbmodem1234567890121 --baudrate 115200
- file names
- snake_case
- variables
- Module_camelCase for module global variables
- camelCase for local variables
- functions
- Module_PascalCase for module public functions
- MODULE_PascalCase from Harmony libraries
- _camelCase for module private functions
- types
- UPPER_CASE_T for macros types
- UPPER_CASE for #define or constants
- UPPER_CASE for enums
- TPascalCase for typedef struct
- PascalCase for struct