Nucleo-F767ZI
Needs first: Run a talker on an emulated board, What you just built, Get started on the Nucleo-F767ZI
Status:
nros-board-nucleo-f767zi-zephyr: Boots, manual (2026-11-01); reads Builds from 2027-03-02. From the board support registry; Board Support Levels explains the words. The image runs in the board’s twin,renode:nucleo_f767zi, and on the board,nucleo-f767zi.
The starter scaffolded a C talker for
board = "nucleo-f767zi-zephyr", ran it in the board’s Renode twin over the
serial link, and flashed the same image to an ST Nucleo-F767ZI. This page
covers what comes after it: the image’s link and RAM budget, what is
particular to the board and its twin, and what the board does not do yet.
Zephyr’s own configuration (system.toml against prj.conf, one image per
RMW, driving west) is the same on every Zephyr board; the
Zephyr native_sim page covers it.
Configure the platform
The starter’s image reaches the router over USART3, the UART the board’s ST-LINK carries to your USB port as a virtual COM port:
[image.zephyr]
board = "nucleo-f767zi-zephyr"
locator = "serial/serial@40004800#baudrate=115200"
serial@40004800 is Zephyr’s devicetree name for USART3. The board’s own
configuration turns Zephyr’s IP stack off for this image and gives USART3 to
zenoh, so the serial image needs no prj.conf of yours. In the twin,
nros run connects USART3 to a terminal device on your host and starts the
router on it; on the board, nros flash --monitor starts the router on the
ST-LINK’s USB serial device instead.
Fit an image in the board’s RAM
The STM32F767ZI has 384 KiB of main SRAM, and nano-ros’s default pools do not fit it. The board’s descriptor states the one setting every image on this RAM needs, and each image inherits it:
# the board's descriptor, inherited by every image
[knobs.zenoh]
max_large_subscribers = 0
An image that needs a different budget states the knob itself, and the image wins:
[image.zephyr.knobs.zenoh]
max_subscribers = 2
Graph discovery is off on this board’s serial link by default: a host domain’s liveliness tokens would arrive over the UART. An image that makes its own graph queries turns it on, with a cache sized to the domain:
[image.zephyr.knobs.zenoh]
graph_discovery = true
graph_cache_bytes = 8192
The stock Rust talker builds and runs with these two lines. Its link uses 327,168 B of the 384 KiB, about 64 KiB left; the 8 KiB cache costs about 8 KiB of that.
Never set these in prj.conf: a CONFIG_NROS_* line there is a configure
error. Measure static memory reads
an image’s boot report, so you can see how much room a change leaves.
Board notes
- STM32F767ZI, a Cortex-M7 with a double-precision FPU, 2 MiB of flash,
384 KiB of main SRAM and 128 KiB of DTCM, on Zephyr 3.7. The west
workspace needs Zephyr’s
hal_stm32module, andnros setup board nucleo-f767zi-zephyr --zephyr-workspace <ws>applies nano-ros’s patches to it and adds thethumbv7em-none-eabiRust target. The image is soft-float: Zephyr’s board configuration leavesCONFIG_FPUoff. - The twin boots the same ELF. Renode’s
nucleo_f767zimachine runs the image you flash, with USART3 on a host terminal device. A twin result predicts the board result for the parts the twin models. - The console is USART6, on the Arduino header’s D0 and D1 pins, so the ST-LINK cable carries only the zenoh link. Reading the console on the bench takes a USB-to-UART adapter on those pins.
- Flashing is Zephyr’s own runner for the board, OpenOCD over the
ST-LINK. Flash a real board covers
nros flash,nros monitorand naming the port. - The status above is a dated manual check. Someone booted the image in the twin by hand on that date. After the registry’s stale period the word reads Builds until someone boots it again.
Ethernet is not set up yet
The board’s on-chip ethernet MAC works in the twin with Zephyr’s
eth_stm32_hal driver: an early run reached a router over tcp/. That run
needed a host tap device bridged to Renode’s virtual switch, which takes
CAP_NET_ADMIN, and nros run does not set one up. An ethernet image also
needs Zephyr’s IP stack back on and a tighter RAM budget than the serial
image, and its boot report is not yet measured, so neither the starter nor
this page documents one. Use the serial link. WiFi is not available on this
board.
If it doesn’t work
- The twin boots and the router never hears the board: the image’s
locatornames another UART. It must be USART3,serial@40004800. - The build stops on RAM: an image knob raised a pool past the board’s budget. Lower it, or remove the image’s override.
- On the bench, nothing on the console: the console is USART6 on the header pins, not the USB cable.
- Everything else: Troubleshoot.
Reference
- The board’s support evidence: its status, twin and breadth.
- The board package and its descriptor:
packages/boards/nros-board-nucleo-f767zi-zephyr/. - Flash a real board: every board’s hardware row.