Questions tagged [zephyr-rtos]

The Zephyr Project is a scalable real-time operating system (RTOS) supporting multiple hardware architectures, optimized for resource constrained devices, and built with security in mind.

The Zephyr Project is an open source collaborative effort hosted by the Linux Foundation to build scalable real-time operating system optimised for resource constrained devices (e.g. embedded systems) across multiple architectures [1]. The project's goal is to establish a neutral project where anyone can contribute technology to reduce the cost and time to market for the billions of IoT devices [2].

  1. https://www.zephyrproject.org/what-is-zephyr/
  2. https://www.zephyrproject.org/what-is-zephyr/
138 questions
0
votes
1 answer

Problems compiling zephyr shield example

I have an STM32 lorawan discovery board with an attached x_nucleo_iks02a1 shield. I'm trying to run the microphone sample, and I get an error at line 52 const struct device *mic_dev = device_get_binding(DT_LABEL(DT_INST(0, st_mpxxdtyy))); //…
richbai90
  • 4,994
  • 4
  • 50
  • 85
0
votes
0 answers

Connection to Googleapis.com Refused

I am developing an embedded c application on the nrf9160 dev kit. My goal is to use the googleapis.com/geolocation service to provide location data for my system, but I have been unable to do so. I have created a billing account on the google cloud…
0
votes
2 answers

How to solve this Zephyr RTOS example error

I Installed zephyr rtos first time. I ran example code and i got following error. The example run with some boards but not with all listed borads in zephyer. I want to know how to solve this error. west build -p auto -b qemu_x86…
0
votes
1 answer

How Identify becone data frame (iBeacone or Eddystone) using raw data?

How to identify beacon data frame using raw data? what is adv type in beacon data frame?
0
votes
1 answer

I cant use auxiliary functions from zephyr ( tty.h) file

I am building a project and I have the board stm nucleo_l496zg. All i want to do is to use the drivers from the board in order to communicate the board after west flash with minicom, it is a simple string transfer and response program. I am building…
gregni
  • 417
  • 3
  • 12
0
votes
1 answer

ZEPHYR RTOS Configuring GPIO Pins

Hi I would like to configure a custom GPIO pin as output to control a motor on a STM32 H743Zi board running Zephyr RTOS. The dts file of the board can be found in the folder or a separate file nucleo h743zi.dts code. I would like to us the arduino…
MANU AATITYA
  • 1
  • 1
  • 1
0
votes
1 answer

How to set up a Zephyr Project App in VSC?

I am trying to use VSC to develop and debug embedded C applications with Zephyr OS. Is this possible? Are there instructions to set this up? Is there a zephyr setup extension? The Zephyr documentation discusses how to debug apps on eclipse, and…
0
votes
1 answer

[zephyr-rtos][riot-os] Zephyr vs. RIOT OS

Hello everyone, I'm Luiz Villa a researcher on software defined power electronics at the University of Toulouse. My team is working on trying to embed an RTOS onto a micro-controller in order to create a more friendly development process of…
0
votes
0 answers

Turning single executable project into multi-executable

I am trying to create a project for an embedded device that is based on Zephyr ecosystem. The problem I struggle with is that it forces single-executable project. It uses CMake. The way how Zephyr suggest to create the main CMakeLists.txt (from its…
K. Koovalsky
  • 596
  • 4
  • 17
0
votes
3 answers

CoAP Client using nRF9160 + Zephyr RTOS: Proxy-URI length issues

I am developing a CoAP client on the nRF9160 DK, running Zephyr RTOS. I am having trouble with longer Proxy-URI's; short URIs (268 characters and below) work fine and the coap message reaches the server as expected. However, messages with longer…
Michael-7
  • 1,739
  • 14
  • 17
0
votes
2 answers

Assertion Failed: The toolchain is unable to build a dummy C file

A number of students + myself have been attempting to set up a Zephyr RTOS build environment under Windows 10, to build applications that target various ARM Cortex M boards. We have each followed the Zephyr "Getting Started Guide" and ran into the…
John Scolaro
  • 695
  • 6
  • 20
0
votes
0 answers

Writing to Micron MT25Q flash device fails for the first few pages

I am doing a project where I want to write some info to the MT25Q (MT25QL512ABB1EW9-0SIT) flash device from Micron Technology. But when I try to write and read from the first few pages (0-13) I get trash data back. I thought there might be a…
acevans
  • 13
  • 4
0
votes
1 answer

How to check if a Kconfig string is empty using Zephyr?

Given this Kconfig: config MY_STR string "A string" The directive #if defined(CONFIG_MY_STR) will eval to true for the default empty string. How to check if CONFIG_MY_STR is an empty string at compile time? Is it a better practice to use a…
DurandA
  • 1,095
  • 1
  • 17
  • 35
0
votes
0 answers

I am getting error "unable to initialize libusb: -99" on executing lsusb command on WSL2 Ubuntu app on my Windows

I am getting errror "unable to initialize libusb: -99" on executing lsusb command on WSL2 Ubuntu app on my Windows 10 . Please help. I am basically trying to flash Zephyr as simple Hello world application on my reel_board by connecting reel_board…
J R
  • 1
  • 1
  • 3
0
votes
0 answers

I am facing error "The toolchain is unable to build a dummy C file" while building simple hello world application on cmd

I am facing error "The toolchain is unable to build a dummy C file" while building simple hello world application on cmd. I have Windows 10 64 bit machine. I have installed all necessary tools and packages for Windows as per instructions on website…
J R
  • 1
  • 1
  • 3