|
|
@@ -91,16 +91,21 @@
|
|
|
|
|
|
|
|
|
static inline bool __attribute__((always_inline)) vPortCPUAcquireMutexIntsDisabled(PORTMUX_AQUIRE_MUX_FN_ARGS) {
|
|
|
+#if !defined(CONFIG_FREERTOS_UNICORE)
|
|
|
#if defined(CONFIG_SPIRAM)
|
|
|
if (esp_ptr_external_ram(mux)) {
|
|
|
return vPortCPUAcquireMutexIntsDisabledExtram(PORTMUX_AQUIRE_MUX_FN_CALL_ARGS(mux));
|
|
|
}
|
|
|
#endif
|
|
|
return vPortCPUAcquireMutexIntsDisabledInternal(PORTMUX_AQUIRE_MUX_FN_CALL_ARGS(mux));
|
|
|
+#else
|
|
|
+ return true;
|
|
|
+#endif
|
|
|
}
|
|
|
|
|
|
|
|
|
static inline void vPortCPUReleaseMutexIntsDisabled(PORTMUX_RELEASE_MUX_FN_ARGS) {
|
|
|
+#if !defined(CONFIG_FREERTOS_UNICORE)
|
|
|
#if defined(CONFIG_SPIRAM)
|
|
|
if (esp_ptr_external_ram(mux)) {
|
|
|
vPortCPUReleaseMutexIntsDisabledExtram(PORTMUX_RELEASE_MUX_FN_CALL_ARGS(mux));
|
|
|
@@ -108,5 +113,6 @@ static inline void vPortCPUReleaseMutexIntsDisabled(PORTMUX_RELEASE_MUX_FN_ARGS)
|
|
|
}
|
|
|
#endif
|
|
|
vPortCPUReleaseMutexIntsDisabledInternal(PORTMUX_RELEASE_MUX_FN_CALL_ARGS(mux));
|
|
|
+#endif
|
|
|
}
|
|
|
|