Sensors subsystem for the MOVE-ON Helium high-altitude balloon mission.
A detailed system description can be found in .
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)
- GNU Arm Embedded Toolchain
- mbed-cli
- stlink
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
.
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
New shell in project directory:
direnv allow
pip install mbed-cli
In src
dir:
make
mbed-cli export -i sw4stm32 --profile config/develop.json
File
->Open Projects from File System
(In Eclipse)- Choose the
move-on-helium-sensors
project. - Remember to regenerate the project files everytime you add a new library with
mbed-cli add ...
.
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 |