Questions tagged [nuttx]

6 questions
1
vote
0 answers

How to find the max file descriptors in Nuttx RTOS?

I have a limited understanding of the Nuttx OS but have run into a limitation set by the config parameter CONFIG_NFILE_DESCRIPTORS using the PX4 stack. I'm using a Pixhawk 4 FCU board that has a STM32F76 processor. The firmware build (px4_fmu-v5) by…
Thorn
  • 11
  • 1
1
vote
2 answers

Nuttx heap allocation failed: heap-size is zero

I'd like to allocate some memory on mm_heap, but its size is zero: debug mm_heap This causes the memory allocation to fail. How can I debug this problem? For reference, I'm using Nuttx on a STM32F765.
Stephan R.
  • 13
  • 2
0
votes
0 answers

How can I execute a custom app for NuttX with minicom?

I wrote my first application for NuttX. I want it to read the state of a button and if its pressed the LED should light up for 1 second. I am using a self created board from a company with a STM32F103 on it. I can activate the app via menuconfig.…
Sosinus
  • 1
  • 1
0
votes
0 answers

How to set up the oscillator frequencies of a STM32F103 with NuttX?

I'm completly new to this topic so please forgive my beginner mistakes :) I'm on an internship where my task is to implement NuttX on a self created board from the company (with a STM32F103). To get started I followed the Youtube series "Getting…
Sosinus
  • 1
  • 1
0
votes
0 answers

GDB and OpenOCD - Board resetting by itself when other threads are created

I'm running a board with STM32H750VBT6 microcontroller running NuttX and some application code. For debug, I'm connecting to the target using GDB (cortex-debug extension in vscode) and OpenOCD. My launch.json file is the following: { "type":…
0
votes
1 answer

NuttX: How to add PWM support for STM32F7 boards? (stm32_pwm.h not found)

I'd like to add PWM support to my nuttx board config. I am using an STM32F765VGT6 MCU. I started implementing it like in the STM32F4Discovery config directory: add stm32_pwm_setup() in configs//src/.h add…
Hoeze
  • 636
  • 5
  • 20