Hi MMS, IMO, I'd like to continually see "experimental port" for QP/C. There may be other ESP32 users in the community who may be interested in exploring QP on ESP32 targets.
Done with DPP demo on ESP32 and I found no issue so far. Raised pull request.
Additional patch proposal on qf_port.c of freertos-eps32 port diff --git a/ports/freertos-esp32/qf_port.c b/ports/freertos-esp32/qf_port.c index eebe407c..e788a49a 100644 --- a/ports/freertos-esp32/qf_port.c +++ b/ports/freertos-esp32/qf_port.c @@ -47,7 +47,8 @@ #else #include "qs_dummy.h" /* disable the QS software tracing */ #endif /* Q_SPY */ -#include <esp_log.h> +#include "esp_log.h" +#include "esp_freertos_hooks.h" Q_DEFINE_THIS_MODULE("qf_port") //static const char *TAG = "qf_port"; @@ -60,6...
Hi MMS, I am having a build error (note: I'm using legacy GNU make) when building QPC component (see component.mk) This proposed patch below on qf_port.h of freertos-esp32 port fixed my issue. It has to do with the FreeRTOS.h relative to the esp-idf freertos component directory. Please let me know if this patch is acceptable, then I can raise pull request. diff --git a/ports/freertos-esp32/qf_port.h b/ports/freertos-esp32/qf_port.h index f163b4ea..593a9e65 100644 --- a/ports/freertos-esp32/qf_port.h...
I am happy to see that QP/C v6.9.3 has an official support for ESP32 port. I did an unofficial port of QP/C for ESP32 some time back on v6.5.0 (i think) and was using QM v4.5.0. link: Unofficial QP/C port I used this on my hobby projects ESP32-Solar-Battery and MotorControl. In first project, I am sending PV and Battery voltages to AWS MQTT broker. In the second project, I send motor data using QSpy via Bluetooth SPP (Serial Port Profile). Now, I am interested to test QP/C v6.9.3 official port. Can...
This is very good news. While waiting for the next release, I'll use your code snippet to patch my code. Thank you very much. best regards, Sicris Rey
Hi MMS, Thank you for shedding a light on this. I think this gcc optimization bug for Cortex-M0 is very serious (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69460). This bug was first reported last Jan 25, 2016 by Steven Johnson (strntydog). Till to this date, this bug is stuck in state "NEW" and in my opinion, I don't see GNU GCC guys has this on its priority list of bugs to fix. For now, I'm having two options: (1) I will look for a workaround/hack and stay with gcc. or (2) Because of this bug,...
Hi, I'd like to raise a possible bug on critical section entry/exit for Cortex-M0 QF Port. Firstly, below is my dev environment. Target: STM32F030C8 (Cortex-M0) Toolchain: GNU Tools ARM Embedded (6 2017-q1-update) IDE: Eclipse Neon QPC: 5.9.9 (using QK) Bug description: Referring to the file "qpc\ports\arm-cm\qk\gnu\qf_port.h". In QF_CRIT_ENTRY macro in line57, global interrupt is disabled by a call QF_INT_ENABLE() on entry to critical section. However, the global interrupt remains disabled on critical...