Search found 7 matches

by RoyceP
Mon Sep 24, 2018 3:22 am
Forum: ESP32 IDF
Topic: CMake with Arduino as component
Replies: 0
Views: 106

CMake with Arduino as component

I was hoping to use the CMake system with Arduino as a component but I'm running into a include path issue. The arduino library file FFat.cpp is looking for diskio_wl.h. That file is not in the IDF proper but does show up under components\arduino\tools\sdk\include\fatfs. However, that path is not in...
by RoyceP
Thu Feb 08, 2018 6:53 pm
Forum: ESP32 IDF
Topic: How does Eclipse find the includes in the esp-idf-template?
Replies: 7
Views: 2588

Re: How does Eclipse find the includes in the esp-idf-template?

I was hoping to get VS Code (sans PlatformIO) or maybe another IDE rolling as far as Intellisense goes. (Building from the cmd line is no big deal. Intellisense or the equivalent is the real value of an IDE IMHO) I gather from this thread that Eclipse is basically reverse engineering the paths from ...
by RoyceP
Wed Aug 02, 2017 6:02 pm
Forum: ESP32 Arduino
Topic: Eclipse C++ IDE for Arduino - futuring esp32 package
Replies: 4
Views: 3937

Re: Eclipse C++ IDE for Arduino - futuring esp32 package

Could you get that to install? I can't get it to work. Mine throws an invalid argument exception during installation right here: https://github.com/eclipse/cdt/blob/cdt_9_3/toolchains/arduino/org.eclipse.cdt.arduino.core/src/org/eclipse/cdt/arduino/core/internal/board/ArduinoManager.java#L640 I'm no...
by RoyceP
Sat Jul 29, 2017 4:00 pm
Forum: Documentation
Topic: Technical Reference I2S Clock config section is confusing
Replies: 11
Views: 6946

Re: Technical Reference I2S Clock config section is confusing

It would appear that you were correct. PIN_FUNC_SELECT(PIN_CTRL, CLK_OUT1_S); PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1); netted me a 40Mhz clock on GPIO0. The DAC was not working with that clock. The documentation for the DAC indicated that the clock for 256x 44.1kHz ought to be 1...
by RoyceP
Sat Jul 22, 2017 7:24 pm
Forum: Documentation
Topic: Technical Reference I2S Clock config section is confusing
Replies: 11
Views: 6946

Re: Technical Reference I2S Clock config section is confusing

io_mux_reg.h, beginning at line 115, through at least line 131, suggest to me that the call is proper.
by RoyceP
Sat Jul 22, 2017 6:48 pm
Forum: Documentation
Topic: Technical Reference I2S Clock config section is confusing
Replies: 11
Views: 6946

Re: Technical Reference I2S Clock config section is confusing

Code: Select all

PIN_FUNC_SELECT(PIN_CTRL, CLK_OUT1_S);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO0_U, FUNC_GPIO0_CLK_OUT1);
The above got the clock. It is 40Mhz which is not quite what my DAC wants, but that is another story.
by RoyceP
Wed Jul 19, 2017 2:39 am
Forum: Documentation
Topic: Technical Reference I2S Clock config section is confusing
Replies: 11
Views: 6946

Re: Technical Reference I2S Clock config section is confusing

It sort of feels like getting the I2S peripheral clock out to feed the Master Clock input of an I2S DAC boils down to PIN_FUNC_SELECT(PIN_CTRL, CLK_OUT1_S); and then you get the clock on GPIO0. Sound right? It will be few days before I can actually try it, but I thought I'd check-in on this thread.

Go to advanced search