Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.86 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.86 KB

Software for the Met4FoF Smartup Unit V2

Build System.

The software was and is created with SW4STM32 (gcc). SEGGER Systemview can be used for debugging.

Dependencies and used Libarys

Used for Libary Name Version Link
real-time operatingsystem FreeRTOS 9.0.0 https://www.freertos.org/FreeRTOS-V9.html
Ethernet LWIP 2.0.3 ST DM00103685
Data serialization nanopb a2db482... https://github.com/nanopb/nanopb

using nanopb to genreate Code

C

see also https://jpa.kapsi.fi/nanopb/docs/ and https://github.com/nanopb/nanopb/blob/master/docs/concepts.rst

nanopb_picture

cd nanopb/
mkdir messages
cp ../protobuff_deps/messages.proto messages/
cp generator/proto/nanopb.proto ./
protoc -omessage.pb messages/messages.proto
python generator/nanopb_generator.py message.pb
cp message.* ../protobuff_deps/
cd ./generator/proto
make

python

https://developers.google.com/protocol-buffers/docs/pythontutorial

cd protobuff_deps
mkdir python
protoc --python_out=python messages.proto

Debug Output

RTT_pic

https://www.segger.com/products/debug-probes/j-link/technology/about-real-time-transfer/

https://mcuoneclipse.com/2015/07/07/using-segger-real-time-terminal-rtt-with-eclipse/

Telnet Config for RTT dumping

Param Value
Host 127.0.0.1
Timeout 20 sec
Port 19021