Search found 195 matches

by fasani
Wed Aug 18, 2021 9:33 am
Forum: ESP-IDF
Topic: How to add a new external library?
Replies: 9
Views: 21830

Re: How to add a new external library?

Check this documentation: https://docs.espressif.com/projects/arduino-esp32/en/latest/esp-idf_component.html I also had errors when I tried to use Arduino as a component and I had to go and comments some libraries out (That I don't use anyways). I did that since I was trying to compile some example ...
by fasani
Tue Aug 17, 2021 2:05 pm
Forum: ESP-IDF
Topic: Timestamp in output log doesn't appear to be available
Replies: 1
Views: 3652

Re: Timestamp in output log doesn't appear to be available

Try adding the --timestamps option. For me this is working in the Linux command line: $ idf.py monitor --timestamps -p /dev/ttyUSB0 Executing action: monitor --- idf_monitor on /dev/ttyUSB0 115200 --- --- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H --- 2021-08-17 16:03:05 I (27) bo...
by fasani
Tue Aug 17, 2021 12:04 pm
Forum: ESP-IDF
Topic: Modifying IRAM size
Replies: 2
Views: 3870

Re: Modifying IRAM size

I also had this problem when compiling components that use some IRAM and also adding RainMaker (Which also adds Bluetooth libraries and such) Only solution I found is to move what is possible to the SPI external RAM detailed in the manual page you mentioned in the: CONFIG_SPIRAM_* (menuconfig option...
by fasani
Tue Aug 17, 2021 11:55 am
Forum: ESP-IDF
Topic: [Solved] Play audio on website
Replies: 4
Views: 5710

Re: Play audio on website

Nice Jochem! Glad it worked.

You can edit the title of this forum entry and add [SOLVED] at the beginning so it's easier to recognize that you found a solution.
by fasani
Tue Aug 17, 2021 8:41 am
Forum: Sample Code
Topic: How to Sniff binary data using ESP32
Replies: 6
Views: 30164

Re: How to Sniff binary data using ESP32

It sounds doable. But IMHO the best way to "sniff" this will be using a logic analyzer and connect it directly to the USB of your computer. I've sniffed some time ago SPI using ESP32 as an slave: https://github.com/martinberlin/esp32-spi-slave Bu I'm not sure if that will help. I would get a 10 $ lo...
by fasani
Tue Aug 17, 2021 8:25 am
Forum: Sample Code
Topic: ESP32 IDF Benchmark
Replies: 6
Views: 26228

Re: ESP32 IDF Benchmark

Thanks nopnop!
Didn't know about this one. I will try it out and compare speeds.
by fasani
Sun Aug 15, 2021 6:37 am
Forum: ESP-IDF
Topic: i port juicevm what is a Risc-V VM to esp idf and boot linux on esp32
Replies: 1
Views: 2746

Re: i port juicevm what is a Risc-V VM to esp idf and boot linux on esp32

Interested to know:
What could be the possible real-world applications to run the Linux kernel in ESP32 ?
by fasani
Sun Aug 15, 2021 6:19 am
Forum: ESP-IDF
Topic: Porting Arduino library to ESP-IDF
Replies: 1
Views: 4696

Re: Porting Arduino library to ESP-IDF

Can I even use Update.h and TinyGSM libraries on esp-idf or these are purely for Arduino use? Why don’t you add it as a component and just try it out? Just keep in mind that it should respect the Build system and component structure for the IDF. If the library uses arduino references that parts sho...
by fasani
Sun Aug 15, 2021 6:11 am
Forum: ESP-IDF
Topic: A guide on how to add a component into a project
Replies: 5
Views: 5556

Re: A guide on how to add a component into a project

Please read the Build system documentation part specifically where it specifies what is the right directory structure: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html#example-project myProject/ - CMakeLists.txt - sdkconfig - components/ - component1/ - CMakeL...
by fasani
Sun Aug 15, 2021 6:02 am
Forum: ESP-IDF
Topic: Need help with SPI code please
Replies: 1
Views: 2552

Re: Need help with SPI code please

Hello @orbitcoms First of all check again IDF documentation on SPI master I believe there are examples for reading a value. I also have an epaper component for esp-IDF that reads temperature on some einks that have 4 wire SPI since this displays do not work well when they are outside an acceptable t...