Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Maximum number of tasks in sequencer not triggering an error

Aperta
#52 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@KRASTM ci sta già lavorando.

Dal 9/9/2026.

  • #112 di @94xhn — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

bug internal bug tracker utils

Setup:

  • LoRa-E5-STM32WLE5JC
  • GNU Arm Embedded Toolchain 10.3-2021.10

Bug:
Preprocessor error is not triggered if the CFG_SEQ_Task_NBR is > 32 although there is a code to protect it

#if UTIL_SEQ_CONF_TASK_NBR > 32
#error "UTIL_SEQ_CONF_PRIO_NBR must be less of equal then 32"
#endif

It happens because the #define UTIL_SEQ_CONF_TASK_NBR CFG_SEQ_Task_NBR is evaluated by preprocessor to zero. It doesn't know the value of CFG_SEQ_Task_NBR at this stage. Try to add -Wundef flag and see the compiler output

Next when there is a preprocessor macro #if UTIL_SEQ_CONF_TASK_NBR > 32 we copmare 0 > 32

Also there is a typo in the error message: UTIL_SEQ_CONF_TASK_NBR must be less of equal then 32

Lingua principale
C
Stelle
167
Fork
83
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di STMicroelectronics/STM32CubeWL

Tutte le issue di STMicroelectronics/STM32CubeWL

Issue simili

Altre issue su C

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.