Closed gh4emb closed 1 year ago
Thanks for reporting. The macro QF_PTRRANGE() has been removed in QP 7.1.3 (because the newer MISRA-C:2012 no longer frowns on pointer comparisons). But the esp-idf port has not been updated accordingly. The problem has been fixed and pushed to the qpc repo. Please check. --MMS
Thanks, Miro--this works. My apologies for the delayed response.
-Hal
Good to hear. This issue is then closed as fixed. --MMS
Hi Miro,
In version 7.1.3, to match the updates to the FreeRTOS port and enable successful esp-idf build, it seems:
https://github.com/QuantumLeaps/qpc/blob/b05a831d0ac96404496257a471f3e6b689f14e83/ports/esp-idf/qf_port.c#L671
should change to:
and https://github.com/QuantumLeaps/qpc/blob/master/ports/esp-idf/qf_port.c#L618-L619
should change to:
Q_REQUIRE_ID(900, (me->nFree < me->nTot) && (me->start <= b) && (b <= me->end));