Skip to main content

A lite tool kit for MCU.

Project description

PyMCUTK Overview Build Status

PyMCUTK is a python based toolkit for NXP MCUXpresso SDK. And it aims to proivide easy-to-use tools to work with MCUXpresso SDK. The project focus on toolchains and their projects, debuggers, and NXP MCU boards support.

Simple command line could make you can quicky get start. We have many hard works and you may won't repeat. That is what PyMCUTK design for.

Prerequisites

  • Python 3 >= 3.4 or (python 2 >= 2.9)

Installation

  • Simply installation with pip:

    pip install pymcutk
    
  • Install from source code, firstly clone the git repository from Github-PyMCUTK, and run below command in project root:

    pip install .
    
  • Once installed, try below command to test:

    mtk --version
    

Quickly start

Command line usage

# Build projects in current directory.
$ mtk build .

# Build specific configuration: sdram_release
$ mtk build . -t sdram_release

# Recursive mode and dump results to CSV format.
$ mtk build ./mcu-sdk-2.0/boards/ -r --results-csv

# Scan Projects dump to json format
$ mtk scan ./mcu-sdk-2.0/boards/ -o test.json

Supported toolchains

Configuration

MCUTK could automatically discover the installed toolchains from your system as usual. If you hope to use another version, you can edit the config file: ~/.mcutk.

Run bellow command that will initialize the configuration file, which is saved at ~/.mcutk.

$ mtk config --auto

Unittest

Before create pull requests, please do a test in your local to check mistakes.

pytest command:

pytest .

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pymcutk-0.3.4.tar.gz (88.3 kB view details)

Uploaded Source

File details

Details for the file pymcutk-0.3.4.tar.gz.

File metadata

  • Download URL: pymcutk-0.3.4.tar.gz
  • Upload date:
  • Size: 88.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15

File hashes

Hashes for pymcutk-0.3.4.tar.gz
Algorithm Hash digest
SHA256 90f753b776a5dca981e0551451bdeb3cd5a08c477f1b04a359bfa842bc8f1312
MD5 15c1b5271a02d4552ad1d352e9b0a8a6
BLAKE2b-256 9e29ebb3747c2971267f52c8fdc006a158a246a81b37e2fe2c45e734aab968cb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page