DevHeads IoT Integration Server

DII

DevHeads IoT Integration Server

The DevHeads IoT Integration Server accelerates technology engineering by helping pro devs learn, share and collaborate.

Join

seeking-collabs

firmware-and-baremetal

middleware-and-os

edge-networking

pcb-and-analog

jobs

iot-cloud

code-review

devheads-feed

general-dev-chat

How can you speed up parsing Yocto recipes? - 10/3 Yocto Build Issues AMA

QUESTION (#8) Several including Express_Damage5958: " How can you speed up parsing Yocto recipes? I'm currently working with a BSP that has more than 20 layers and a lot of recipes. Reparsing all the recipes takes a few minutes every time and all the recipes seem to trigger warnings. Looking at you Qualcomm… " πŸ”— π—₯π—²π—΄π—Άπ˜€π˜π—²π—Ώ 𝗳𝗼𝗿 π—Όπ˜‚π—Ώ π˜‚π—½π—°π—Όπ—Ίπ—Άπ—»π—΄ π—²π˜ƒπ—²π—»π˜π˜€: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

How are device trees handled if I want to add any custom ones? - 10/3 Yocto Build Issues AMA

QUESTION (#7): Several: " How are device trees handled if I want to add any custom ones? " πŸ”— π—₯π—²π—΄π—Άπ˜€π˜π—²π—Ώ 𝗳𝗼𝗿 π—Όπ˜‚π—Ώ π˜‚π—½π—°π—Όπ—Ίπ—Άπ—»π—΄ π—²π˜ƒπ—²π—»π˜π˜€: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

How can I configure Yocto image to act as an server for others over IP - 10/3 Yocto Build Issues AMA

From: @Mina Essam "How can I configure Yocto image to act as an server for other images over IP?" @Ming...

Changing the configuration parameters of the kernel -- 10/03 Yocto Build Issues AMA

QUESTION (#6): Several: " I need to change some of the configuration parameters of the kernel, how do I do it? " πŸ”— π—₯π—²π—΄π—Άπ˜€π˜π—²π—Ώ 𝗳𝗼𝗿 π—Όπ˜‚π—Ώ π˜‚π—½π—°π—Όπ—Ίπ—Άπ—»π—΄ π—²π˜ƒπ—²π—»π˜π˜€: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

Understanding the bootloader part and integration when using u-boot 10/03 Yocto Build Issues AMA

QUESTION (#5): Fluffy-Inflation-446: " I really struggle to completely understand the bootloader part and integration when using u-boot. Any good materials to dive in u-boot port and device tree manipulation using Yocto? Thanks " πŸ”— π—₯π—²π—΄π—Άπ˜€π˜π—²π—Ώ 𝗳𝗼𝗿 π—Όπ˜‚π—Ώ π˜‚π—½π—°π—Όπ—Ίπ—Άπ—»π—΄ π—²π˜ƒπ—²π—»π˜π˜€: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

Added OpenCV to my Yocto System but Encountered AttributeError 10/03 Yocto Build Issues AMA

QUESTION (#4): Several: " I added OpenCV to my system, but I am getting AttributeError: module 'cv2' has no attribute 'dnn' when I try to run my code. " πŸ”— π—₯π—²π—΄π—Άπ˜€π˜π—²π—Ώ 𝗳𝗼𝗿 π—Όπ˜‚π—Ώ π˜‚π—½π—°π—Όπ—Ίπ—Άπ—»π—΄ π—²π˜ƒπ—²π—»π˜π˜€: https://app.livestorm.co/devheads-community/devheads-weekly-office-hours-1...

Segmentation Fault with Flatten() in TensorFlow Lite for Microcontrollers on STM32F746NG

I'm building a CNN model to run on an STM32F746NG Discovery board following the "TensorFlow Lite for Microcontrollers" tutorials and the TinyML book. I know that the supported TensorFlow-Keras functions are listed in the all_ops_resolver.cc file (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/lite/micro/all_ops_resolver.cc), but I'm having trouble with the Flatten() function. It doesn’t seem to be listed, even though it's such a basic operation. I’m using other functions from the list, and my model looks like this: model = models.Sequential() model.add(layers.Conv2D(16, (3, 3), activation='relu', input_shape=(36, 36, 1))) model.add(layers.MaxPooling2D((2, 2)))...

Yocto Override Syntax and how this works with bbappends 10/03 Yocto Build Issues AMA

From @Express_Damage5958: Yocto Override Syntax and how this works with bbappends...

Can't find any clear documentation on how to provide a custom file, Like /etc/issue? 10/3 Yocto AMA

From @Jagauthier: I want to provide a custom file. Like /etc/issue. However, I can't find any clear documentation on how to do this. I've tried multiple things including creating basefiles%.bbappend, and as well as a custom recipe to provide it. Either it's not copied or the image fails because base_files things I am already providing the file. Why is this so hard? I should be able to find the answer with a simple google search, like this https://www.google.com/search?client=firefox-b-1-d&q=Yo...

How to separate camera.cfg of kernel bbappend file into two conditions? 10/3 Yocto Build Issues AMA

From @MayQueen Technologies: In the camera.cfg of kernel bbappend file, is there a way to separate two conditions where only camera customers need to add this cfg or not? Should I add a new DISTRO variable? @Ming...

What's with strange Yocto release names (Kirkstone, Scarthgap, etc)? 10/3 Yocto Build Issues AMA

From @everal: What is with all the strange names for Yocto releases - Kirkstone, Scarthgap, etc?

IRAM constrains in ESP32

I'm developing a BLE code in ESP32 using nimble stack, that itself consuming around 70% of the IRAM. I want to integrate few other peripherals like CAN, SPI. How can I optimize or reduce the IRAM size with working functionality?...
No description

Debugging Memory Management & Task Scheduling Issues in FreeRTOS on ESP32

Hey guys while developing a FreeRTOS-based realtime application on ESP32 to manage multiple industrial sensors, l've encountered system crashes and memory management issues, likely due to stack overflows and improper task scheduling. I've previously tried standard debugging methods like increasing stack size and adjusting task priorities. Would advanced tools like FreeRTOS Tracealyzer or ESP-IDF's built-in debugging be more effective for this scenario? Additionally, when it comes to memory management, should I focus on static memory allocation to avoid fragmentation, or is dynamic allocation more efficient in handling varying task loads?...

do you mind handing out a primer on linking vs static compiliing. Especially in the context of GPL?

@Ming while it's fresh do you mind handing out a primer on linking vs static compiliing. Especially in the context of GPL?

Issue with Simultaneous Activation of Multiple Relays in Zephyr RTOS on ESP32

Still based on my project on home automation system that controls water pumps and taps based on motion detection using the Zephyr RTOS on an ESP32. I added more relay modules for each tap so i can control multiple taps based on the same motion detection But the Multiple relays not activating simultaneously how can i resolve this.
```c define TAP1_PIN 25...

Best Synchronization Techniques for Task Communication in FreeRTOS on ESP32

Hi guys i'm developing a real-time sensor data display system on an ESP32 microcontroller using FreeRTOS. The project involves two main tasks: TaskA handles sensor data collection and processing while TaskB performs calculations and displays the results on an LCD. To ensure smooth operation, I need to synchronize their execution so that: TaskA doesn’t send data to TaskB until the data is fully ready and TaskB doesn’t process or display any data until it has been correctly received from TaskA. ...

Why will there be issues while trying to build the Boot to Gecko (B2G) project on my x86-64 Ubuntu

Why will there be issues while trying to build the Boot to Gecko (B2G) project on my x86-64 Ubuntu 12.10 system. The Gecko build fails when attempting to link librt, even though the library is present on my system. When running the build command for Gecko: ``` $ ./build.sh -j1 gecko...

Ensuring Message Prioritization on CAN Bus with AVR128DA48 and Zephyr OS for Industrial Monitoring

I’m trying to implement message prioritization on the CAN Bus for my Smart Industrial Monitoring System. High-priority messages (emergency alerts) should be transmitted before regular sensor data. I’m using the AVR128DA48 with Zephyr OS. This is how I’ve set up the message: ``` struct zcan_frame emergency_frame = { .id_type = CAN_STANDARD_IDENTIFIER,...

Linux is now an RTOS

As of Linux 6.12 the real-time PREMPT_RT support has been merged into the kernel. It has only taken about 20 years! However, I still don’t want it controlling my car’s airbags!!...

Tech Tips Yocto AMA

In preparation of the Tech Tips AMA on Yocto, this is a place to post the questions you want me to look into (yes - I'm cheating in wanting to give myself some time to research and test the answers before I go live!). To start people off, here are some of the questions I have been asked outside of this channel that I may be answering: - What is with all these strange names for Yocto relases - Kirkstone, Scarthgap, etc?...
Next