Pyrrha-Platform / Pyrrha-Z

Next-generation firmware built on the Zephyr RTOS.
Apache License 2.0
2 stars 0 forks source link

Add GitHub action for linters and style checks #5

Open upkarlidder opened 3 years ago

upkarlidder commented 3 years ago

@bpbradley suggested following what Zephyr does.

bpbradley commented 3 years ago

Looking into how zephyr handles it, they primarily use checkpatch.pl which Linux uses. A version of it is included in rtos/zephyr/scripts/checkpatch.pl, and it is run as part of the check_compliance workflow in the zephyr actions enviornment.