Python package for generation of RPI configuration/build


Keywords
setup, python, install, RPI, Pico, CMake, generator, build, configuration, cortex-m0plus, embedded, linux, python3, qnx, rpi-pico, unix
License
AFL-3.0
Install
pip install armpicom==1.8.6

Documentation

Generate RPI project configuration/build setup

armpicom is toolset for generation of RPI PICO project configuration/build setup.

Developed in python code.

The README is used to introduce the modules and provide instructions on how to install the modules, any machine dependencies it may have and any other information that should be provided before the modules are installed.

armpicom python checker armpicom package checker GitHub issues open GitHub contributors

Table of Contents

Installation

Used next development environment

debian linux os

armpicom python3 build

Currently there are three ways to install package

  • Install process based on using pip mechanism
  • Install process based on build mechanism
  • Install process based on setup.py mechanism
  • Install process based on docker mechanism
Install using pip

Python is located at pypi.org.

You can install by using pip

# python3
pip3 install armpicom
Install using build

Navigate to release page download and extract release archive.

To install armpicom type the following

tar xvzf armpicom-x.y.z.tar.gz
cd armpicom-x.y.z/
# python3
wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py 
python3 -m pip install --upgrade setuptools
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade build
pip3 install -r requirements.txt
python3 -m build --no-isolation --wheel
pip3 install ./dist/armpicom-*-py3-none-any.whl
rm -f get-pip.py
chmod 755 /usr/local/lib/python3.9/dist-packages/usr/local/bin/armpicom_run.py
ln -s /usr/local/lib/python3.9/dist-packages/usr/local/bin/armpicom_run.py /usr/local/bin/armpicom_run.py
Install using py setup

Navigate to release page download and extract release archive.

To install armpicom locate and run setup.py with arguments

tar xvzf armpicom-x.y.z.tar.gz
cd armpicom-x.y.z
# python3
pip3 install -r requirements.txt
python3 setup.py install_lib
python3 setup.py install_egg_info
Install using docker

You can use Dockerfile to create image/container.

Dependencies

armpicom requires next modules and libraries

Tool structure

armpicom is based on OOP.

Tool structure

armpicom/
    ├── conf/
    │   ├── armpicom.cfg
    │   ├── armpicom.logo
    │   ├── armpicom_util.cfg
    │   ├── project.yaml
    │   └── template/
    │       ├── build/
    │       │   └── armpicom.md
    │       ├── CMakeLists.template
    │       ├── pico_sdk_import.template
    │       ├── pro_auto_set_url.template
    │       └── src/
    │           ├── CMakeLists.template
    │           └── main.template
    ├── __init__.py
    ├── log/
    │   └── armpicom.log
    ├── pro/
    │   ├── __init__.py
    │   ├── read_template.py
    │   └── write_template.py
    └── run/
        └── armpicom_run.py

    8 directories, 16 files

Docs

Documentation Status

More documentation and info at

Contributing

Contributing to armpicom

Copyright and licence

License: GPL v3 License

Copyright (C) 2021 - 2024 by vroncevic.github.io/armpicom

armpicom is free software; you can redistribute it and/or modify it under the same terms as Python itself, either Python version 3.x or, at your option, any later version of Python 3 you may have available.

Lets help and support PSF.

Python Software Foundation

Donate