Configure a pin from devicetree with gpio_pin_configure_dt
gpio_pin_configure_dt sets a pin's direction and initial level from a gpio_dt_spec, merging the devicetree active-low flag, on Zephyr 4.2.
Short posts that solve one thing: the code, the output we got, and why it works.
gpio_pin_configure_dt sets a pin's direction and initial level from a gpio_dt_spec, merging the devicetree active-low flag, on Zephyr 4.2.
Set the local workgroup size of a GLSL compute shader with layout(local_size_x = 64) in, and compute the global index from gl_GlobalInvocationID.
Call exit_group (231) instead of exit (60) so every thread ends at once; a GNU as 2.43 program on Linux 6.12 with the status check.
Make a missing return fatal without turning every warning into an error, using -Werror=return-type on GCC 14, where it matters most.
devm_gpiod_get() looks up a named GPIO from the device tree, sets its direction and initial level, and releases it on unbind; use it instead of gpio numbers.
Send plain text to a terminal with EXEC CICS SEND TEXT ERASE in COBOL, which needs no BMS map, on CICS Transaction Server 6.1.
Place a variable in AVR EEPROM with the EEMEM attribute from avr-libc 2.2, read it with eeprom_read_byte, and upload the .eep file too.
Read the current Unix epoch seconds with time(NULL) on glibc 2.41, and build 32-bit targets with _TIME_BITS=64 so time_t survives the year 2038.
Read an RTSP camera over TCP with ffmpeg 7.1 -rtsp_transport tcp, which avoids the packet loss and blocked ports UDP runs into.
Divide a 16-bit value by 10 on Cortex-M0 with one 32-bit multiply and a shift, exact for every input, instead of a slow library division call.
Set MIX_TARGET to a Nerves target such as rpi4 before running mix commands, so dependencies and the firmware are built for the board and not the host.
k_thread_create starts a thread from static stack and k_thread storage; a lower priority number means a higher priority, in Zephyr 4.2.
We send one email when a new post is published. No spam.