This repository was archived by the owner on Sep 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ " names " : {
3+ " tracetools " : {
4+ " cmake-args " : [
5+ " -DTRACETOOLS_DISABLED=ON" ,
6+ " -DTRACETOOLS_STATUS_CHECKING_TOOL=OFF"
7+ ]
8+ },
9+ " rcutils " : {
10+ " cmake-args " : [
11+ " -DENABLE_TESTING=OFF" ,
12+ " -DRCUTILS_NO_THREAD_SUPPORT=ON"
13+ ]
14+ },
15+ " rcl " : {
16+ " cmake-args " : [
17+ " -DRCL_LOGGING_ENABLED=OFF"
18+ ]
19+ },
20+ " microxrcedds_client" :{
21+ " cmake-args " : [
22+ " -DUCLIENT_PIC=OFF" ,
23+ " -DUCLIENT_PROFILE_DISCOVERY=OFF" ,
24+ " -DUCLIENT_PROFILE_TCP=OFF"
25+ ]
26+ },
27+ " rmw_microxrcedds" :{
28+ " cmake-args " : [
29+ " -DRMW_UXRCE_MAX_NODES=1" ,
30+ " -DRMW_UXRCE_MAX_PUBLISHERS=1" ,
31+ " -DRMW_UXRCE_MAX_SUBSCRIPTIONS=1" ,
32+ " -DRMW_UXRCE_MAX_SERVICES=0" ,
33+ " -DRMW_UXRCE_MAX_CLIENTS=0" ,
34+ " -DRMW_UXRCE_MAX_HISTORY=1" ,
35+ " -DRMW_UXRCE_XML_BUFFER_LENGTH=400"
36+ ]
37+ }
38+ }
39+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ set -o nounset
5+ set -o pipefail
6+
7+
8+ pushd $FW_TARGETDIR /NuttX > /dev/null
9+
10+ ./scripts/flash.sh olimex-stm32-e407
11+
12+ popd > /dev/null
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+ set -o nounset
5+ set -o pipefail
6+
7+
8+ pushd $FW_TARGETDIR /NuttX > /dev/null
9+
10+ if [ " $PLATFORM " = " olimex-stm32-e407" ]; then
11+ if [ -f nuttx.bin ]; then
12+ echo " Flashing firmware for $RTOS platform $PLATFORM "
13+
14+ if lsusb -d 15BA:002a; then
15+ PROGRAMMER=interface/ftdi/olimex-arm-usb-tiny-h.cfg
16+ elif lsusb -d 15BA:0003; then
17+ PROGRAMMER=interface/ftdi/olimex-arm-usb-ocd.cfg
18+ elif lsusb -d 15BA:002b; then
19+ PROGRAMMER=interface/ftdi/olimex-arm-usb-ocd-h.cfg
20+ else
21+ echo " Error. Unsuported OpenOCD USB programmer"
22+ exit 1
23+ fi
24+
25+ openocd -f $PROGRAMMER -f target/stm32f4x.cfg -c init -c " reset halt" -c " flash write_image erase nuttx.bin 0x08000000" -c " reset" -c " exit"
26+ else
27+ echo " Nuttx/nuttx.bin not found: please compile before flashing."
28+ fi
29+ else
30+ echo " Unrecognized board: $PLATFORM "
31+ exit 1
32+ fi
33+
34+ popd > /dev/null
You can’t perform that action at this time.
0 commit comments