hal_atmel/scripts
Gerson Fernando Budke add80d4bf5 pinctrl: Add wake-up sources generation
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>
2023-10-23 19:06:43 +02:00
..
tests/sampinctrl pinctrl: Add wake-up sources generation 2023-10-23 19:06:43 +02:00
.coveragerc pinctrl: Add pinctrl tests 2022-03-24 14:11:18 -03:00
.flake8 pinctrl: Add pinctrl tests 2022-03-24 14:11:18 -03:00
README.md docs: Improve documentation 2023-03-18 08:41:41 -03:00
requirements-dev.txt pinctrl: Add pinctrl script 2022-03-24 14:11:18 -03:00
requirements-test.txt pinctrl: Add pinctrl tests 2022-03-24 14:11:18 -03:00
requirements.txt pinctrl: Add pinctrl script 2022-03-24 14:11:18 -03:00
sampinctrl.py pinctrl: Add wake-up sources generation 2023-10-23 19:06:43 +02:00

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