diff options
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-06-28 18:23:47 +0200 |
---|---|---|
committer | Quentin Schulz <quentin.schulz@theobroma-systems.com> | 2023-06-29 13:40:49 +0200 |
commit | deac92b74913ed418dd7999fc05df21f173bcd24 (patch) | |
tree | e30148bba1ffbd923021edbfcb8c44f36730beed | |
parent | 32de6030ece602fdc485733f16a89ffaf1b0b644 (diff) |
mule-attiny: i2c-flash: add a console script
This makes a new console script called `mule-attiny_i2c_flash` available
to the user after installing the package which calls the `main` function
from the i2c_flash package.
Users now just need to call mule-attiny_i2c_flash from anywhere on their
system to flash the Mule-ATtiny companion microcontroller over I2C.
Relates-to: EHSW-1799
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
-rw-r--r-- | mule-attiny/i2c-flash/pyproject.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mule-attiny/i2c-flash/pyproject.toml b/mule-attiny/i2c-flash/pyproject.toml index e82d817..28260b5 100644 --- a/mule-attiny/i2c-flash/pyproject.toml +++ b/mule-attiny/i2c-flash/pyproject.toml @@ -22,3 +22,6 @@ dependencies = [ "gpiod==1.5.4", "smbus2==0.4.2", ] + +[project.scripts] +mule-attiny_i2c_flash = "i2c_flash:main" |