Skip to main content

Nol.A-SDK Command Line Interface

Project description

Nol.A-Tools

The Nol.A-Tools is a command line interface for Nol.A-SDK. The Nol.A-SDK is a software development kit for IoT device firmware development.

Installation

Prerequisites

  • OS: macOS, Linux, Windows (WSL2 based Linux)
  • Python3

Install command

python3 -m pip install nola_tools

Update command

python3 -m pip install nola_tools --upgrade

Usage

Login

For private users,

nola login={user name}:{token}

Print information

nola info

Build

nola build

If you want to change the board, specify the new board name like below:

nola build={new board name}

You can retrieve the available boards by using nola info.

SDK Library Development Mode

For private users,

nola devmode={path to libnola source directory}

Flash

nola flash={options...}

The options must be specified according to which debugger is used.

J-Link

To use J-Link as a flashing tool, setting jlink path variable is required.

For macOS, and Linux users,

nola path=jlink:{Absolute path to JLinkExe}

For Windows WSL2 users, the JLink.exe in the Windows region must be used.

nola path=jlink:/mnt/c/Program\\\ Files/SEGGER/JLink_V794/JLink.exe

The flash option must be jlink.

nola flash=jlink

ST-Link

To use ST-Link as a flashing tool, setting stm32cube path variable is required.

For macOS, and Linux users,

nola path=stlink:{Absolute path to STM32_Programmer_CLI}

For Windows WSL2 users, the STM32_Programmer_CLI.exe in the Windows region must be used.

nola path=stm32cube:/mnt/c/Program\\\ Files/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin/STM32_Programmer_CLI.exe

If you want to use the SWD interface,

nola flash=stlink:swd

If you want to use the ST's internal system bootloader,

nola flash=stlink:/dev/ttyUSB0
nola flash=stlink:/dev/cu.usbmodem0000
nola flash=stlink:com3

SDK Version

Update

You can update the SDK version like below:

nola update

Checkout

The current and available SDK version numbers can be retrieved by using nola info command.

You can change the SDK version number like below:

nola checkout={new version number}

You can check out the latest version by omitting the version number.

nola checkout

Path Variables

In order to use commands such as flash, external application paths must be specified first.

nola path={key}:{value}

You can also retrieve all specified paths like below:

nola path

Documentation

You can open the SDK API book by simply typing below:

nola doc

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

nola_tools-0.9.2.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nola_tools-0.9.2-py3-none-any.whl (19.7 kB view details)

Uploaded Python 3

File details

Details for the file nola_tools-0.9.2.tar.gz.

File metadata

  • Download URL: nola_tools-0.9.2.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for nola_tools-0.9.2.tar.gz
Algorithm Hash digest
SHA256 c0c6daf23f5fa7f90e5f0d67caf59d9776ea47eb71f01a873dff508d356d5632
MD5 1e9914b68a1a11d44ef30418f094665b
BLAKE2b-256 b618f5fda4059236116cb531cc16ed74d63be2fc9952b16ccc52f816359947b8

See more details on using hashes here.

File details

Details for the file nola_tools-0.9.2-py3-none-any.whl.

File metadata

  • Download URL: nola_tools-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 19.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.12

File hashes

Hashes for nola_tools-0.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6aeb2da1aae41fc923b007433eb775d19e9e46dc55ce1f745d0d54f9cee686d1
MD5 130026b796921f4f32c5aa16a513b61e
BLAKE2b-256 7f9b76b4e6b3cdda18fb3677ab7b2da4d707c6f870d97fa7cd76a71eb57e135c

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