add80d4bf5
The SAM SoC requires that SUPC be configured to enable specific pins to be used as wake-up sources. This add a new section denominated as wakeup. In that section the pinmux will be used to store the correct wkupX input to be used by the pinctrl driver to configure the gpio and supc accordingly. This update all pinconfigs, the pinctrl definitions, update the documentation and expand the current test to cover the changes. Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com> |
||
---|---|---|
.. | ||
tests/sampinctrl | ||
.coveragerc | ||
.flake8 | ||
README.md | ||
requirements-dev.txt | ||
requirements-test.txt | ||
requirements.txt | ||
sampinctrl.py |
README.md
Atmel SAM/SAM0 scripts
This folder contains hal_atmel
scripts.
Dependencies
Scripts require Python 3.7+ and the Python dependencies listed in
requirements.txt
. They can be installed by running:
pip install -r scripts/requirements.txt
Lint
Scripts should be formatted using black
and linted using flake8
.
Such development tools can be installed using:
pip install -r scripts/requirements-dev.txt
Tests
Before running tests make sure to have testing dependencies installed. They can be installed by running:
pip install -r scripts/requirements-test.txt
Tests can be executed by running:
pytest