Skip to content

Sensors subsystem for the MOVE-ON Helium high-altitude balloon mission

Notifications You must be signed in to change notification settings

Flowm/move-on-helium-sensors

Repository files navigation

MOVE-ON Helium Sensors

Sensors subsystem for the MOVE-ON Helium high-altitude balloon mission.

A detailed system description can be found in the system documentation.

Grafana dashboard

Interfaces

Micro USB

The output from Micro USB can be read with the following command (MacOS):

picocom -b 115200 /dev/tty.usbmodem1453

(usbmodem1453 needs to be adjusted on your system)

Setup

Requirements

  • GNU Arm Embedded Toolchain
  • mbed-cli
  • stlink

MacOS

brew cask install gcc-arm-embedded
brew install stlink openocd direnv
sudo easy_install pip
pip install virtualenv

echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc

If pip install does not work try it with the parameter --user python.

Linux

sudo apt install gcc-arm-none-eabi openocd
sudo apt install python-pip python-dev build-essential direnv
pip install virtualenv

echo 'eval "$(direnv hook bash)"' >> ~/.bashrc
echo 'eval "$(direnv hook zsh)"' >> ~/.zshrc

Mbed-cli

New shell in project directory:

direnv allow
pip install mbed-cli

Development

Compile

In src dir:

make

Developing in SW4STM32 (Eclipse)

  1. mbed-cli export -i sw4stm32 --profile config/develop.json
  2. File -> Open Projects from File System (In Eclipse)
  3. Choose the move-on-helium-sensors project.
  4. Remember to regenerate the project files everytime you add a new library with mbed-cli add ....

Reference

Build targets

From the src directory:

Command Description
make build (default) Generate toplevel makefile and build project sources
make clean Remove build artifacts and toplevel makefile
make flash Upload firmware to locally attached uC with st-flash
make rflash Upload firmware to uC attached to remote ci host
make rtail Tail serial output from uC attached to remote ci host
make deploy Combines rflash and rtail

About

Sensors subsystem for the MOVE-ON Helium high-altitude balloon mission

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published