reference
Command line
python -m hardlabs_sdk boots a board for tools you run yourself, and lists the boards you can open.
upcommand
Boot a board and bridge its serial ports here.
python -m hardlabs_sdk up [-h] [--firmware FIRMWARE] [--memory MEMORY] [--save-memory SAVE_MEMORY] [--serial SERIAL] [--pty] [--api API] simEach port's address is printed, and the ports stay open until Ctrl-C, which stops the board. Use it to point a tool that isn't written in Python at the board.
Usage
python -m hardlabs_sdk up company_name/board_name \
--firmware bootloader.bin@0x00400000 --firmware app.bin@0x00410000 \
--serial rs485Arguments
sim- owner/project[@version]
--firmware- An ELF, file@address per image, or file@U7[:offset] for a memory chip (repeat).
--memory- Start the memory chips from what --save-memory saved there.
--save-memory- Save what the memory chips hold into this directory when it stops.
--serial- A serial port to bridge (repeat; default: console).
--pty- Pseudo-terminals instead of socket:// ports.
--api- API address.
simscommand
The simulations you can open.
python -m hardlabs_sdk sims [-h]