Menu

#321 zephyr port build error

QPC
closed
zephyr (1)
1
2024-08-01
2022-11-24
Anonymous
No

Issue:
Using the latest version of QPC (7.1.3), in the zephyr port qf_port.h includes the zephyr API via:
#include <zephyr/zephyr.h> /* Zephyr API */
This causes a build error with the latest release of Zephyr (3.2.0) as they have deprecated this include in favor of:
#include <zephyr/kernel.h> /* Zephyr API */
Zephyr release notes for details: https://docs.zephyrproject.org/latest/releases/release-notes-3.2.html

Fix:
Replacing the include resolves the build error.

Thank you in advance!
-KT

Discussion

  • Quantum Leaps

    Quantum Leaps - 2023-01-04

    Thanks for reporting. This change will be included in the next QP/C/C++ 7.2.0.
    --MMS

     
  • Quantum Leaps

    Quantum Leaps - 2023-01-10

    Fixed in QP/C/C++ 7.2.0.
    --MMS

     

Anonymous
Anonymous

Add attachments
Cancel