Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No such file or directory driver/dac_continuous.h: #1275

Closed
NW-Lab opened this issue Dec 21, 2023 · 5 comments
Closed

No such file or directory driver/dac_continuous.h: #1275

NW-Lab opened this issue Dec 21, 2023 · 5 comments

Comments

@NW-Lab
Copy link
Contributor

NW-Lab commented Dec 21, 2023

Hello,

When building with the Windows Node-RED MCU Plugin, an error occurs during the build.

c:\pjt\moddable\modules\pins\i2s\audioout.c:75:26: fatal error: driver/dac_continuous.h: No such file or directory
    75 | #include "driver/dac_continuous.h"
       | ^~~~~~~~~~~~~~~~~~~~~~~~~

The version is as below

21 Dec 15:47:28 - [info]

Welcome to Node-RED
===================

21 Dec 15:47:28 - [info] Node-RED version: v3.1.0
21 Dec 15:47:28 - [info] Node.js  version: v18.13.0
21 Dec 15:47:28 - [info] Windows_NT 10.0.22631 x64 LE
21 Dec 15:47:29 - [info] Loading palette nodes
21 Dec 15:47:29 - [info] Node-RED MCU Edition Runtime Version: #548dc37
21 Dec 15:47:29 - [info] Node-RED MCU Edition Plugin  Version: v1.3.2
21 Dec 15:47:30 - [info] Moddable SDK Version: v4.3.4-19-g0bd542e (x86)
21 Dec 15:47:30 - [info] *** node-red-mcu-plugin:
21 Dec 15:47:30 - [info] It looks as if a new platform option has been added.

Platform is esp32/m5stack

Flow is Inject(Timestamp) and Debug Node.
image

Thanks,

@mkellner
Copy link
Collaborator

Can you try to add -I$(IDF_PATH)\components\driver\dac\include to the tools/mcconfig/nmake.esp32.mk file?

diff --git a/tools/mcconfig/nmake.esp32.mk b/tools/mcconfig/nmake.esp32.mk
index 37c2dfc89..4b17fe352 100644
--- a/tools/mcconfig/nmake.esp32.mk
+++ b/tools/mcconfig/nmake.esp32.mk
@@ -193,6 +193,7 @@ INC_DIRS = \
        -I$(IDF_PATH)\components\bt\include\$(ESP32_BT_SUBCLASS)\include \
        -I$(IDF_PATH)\components\bt\host\bluedroid\api\include \
        -I$(IDF_PATH)\components\bt\host\bluedroid\api\include\api \
+    -I$(IDF_PATH)\components\driver\dac\include \
        -I$(IDF_PATH)\components\driver\gpio\include \
        -I$(IDF_PATH)\components\driver\gptimer\include \
        -I$(IDF_PATH)\components\driver\i2c\include \

@NW-Lab
Copy link
Contributor Author

NW-Lab commented Dec 21, 2023

mkellner san

Thank you for your prompt response.
The problem has been resolved.

Thank you.

@NW-Lab NW-Lab closed this as completed Dec 21, 2023
@NW-Lab
Copy link
Contributor Author

NW-Lab commented Jan 4, 2024

mkellner san

hello
Not reflected in new releases.

thanks,

@NW-Lab NW-Lab reopened this Jan 4, 2024
@mkellner
Copy link
Collaborator

mkellner commented Jan 4, 2024

My apologies.

@phoddie
Copy link
Collaborator

phoddie commented Jan 10, 2024

The commit is live now. Closing. If the problem is still present, please re-open with details. Thank you.

@phoddie phoddie closed this as completed Jan 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants