Search found 58 matches
- Thu Feb 14, 2019 11:59 am
- Forum: General Discussion
- Topic: Components outside a project
- Replies: 2
- Views: 3984
Re: Components outside a project
Sadly I'll never know what was wrong... This morning I deleted the ESP32 Project and started all over. I added one line to the default Makefile (in the root of the project): # # This is a project Makefile. It is assumed the directory this Makefile resides in is a # project subdirectory. # PROJECT_NA...
- Wed Feb 13, 2019 7:36 pm
- Forum: General Discussion
- Topic: Components outside a project
- Replies: 2
- Views: 3984
Components outside a project
Hi All, I'm working on a project involving different ESP32 and Linux applications. I'm using Eclipse under Debian9 in a VirtualBox running under Win10 and use the latest ESP-IDF version and toolchain. In the Linux project I can import the common files with a link: paulvdbergh@debian9:~/IoTT-workspac...
- Thu Dec 06, 2018 3:05 pm
- Forum: General Discussion
- Topic: How to obtain documented assembly listing ?
- Replies: 4
- Views: 6979
Re: How to obtain documented assembly listing ?
Hi krzychb, That is one option... But my experience with JTAG debugging on ESP32 devices is disappointing... When more threads are running in the debugger things get very obfuscated.. I rather would like to have listings of the generated assembly to compare the different compilations. However, thank...
- Thu Dec 06, 2018 12:24 pm
- Forum: General Discussion
- Topic: How to obtain documented assembly listing ?
- Replies: 4
- Views: 6979
How to obtain documented assembly listing ?
Hi, I wrote a lot of C++ classes using traditional C++. Now I'm studyng C++11, C++14 and so on. I would like to see if my efforts results in better machine code. In AVR GCC one could generate an .lls file, a conbination of C++ statements with the corresponding assembler instructions. Is this also po...
- Sat Nov 03, 2018 2:43 pm
- Forum: ESP-IDF
- Topic: Disable optimization (optimize for JTAG debugging)
- Replies: 5
- Views: 8000
Re: Disable optimization (optimize for JTAG debugging)
Hi Kostas,
If it's only to observe the value of some variables, why not use any kind of the printf or LOGx() functions? It's only for debugging, isn't it? Keep in mind that making a varaible global or static whitin a function makes the function non-reenrtant.
Paul
If it's only to observe the value of some variables, why not use any kind of the printf or LOGx() functions? It's only for debugging, isn't it? Keep in mind that making a varaible global or static whitin a function makes the function non-reenrtant.
Paul
- Fri Nov 02, 2018 10:54 am
- Forum: ESP-IDF
- Topic: Disable optimization (optimize for JTAG debugging)
- Replies: 5
- Views: 8000
Re: Disable optimization (optimize for JTAG debugging)
My guess is the compiler put these variables in registers, so they are optimized away. Try to make them volatile ?
Paul.
Paul.
- Wed Aug 29, 2018 12:18 pm
- Forum: General Discussion
- Topic: Eclipse, ESP-IDF and linked source directory (Linux)
- Replies: 0
- Views: 2143
Eclipse, ESP-IDF and linked source directory (Linux)
Hi All, I have an Eclipse Workspace setup with multiple projects. Most of these projects are based on common functionalities. These functionalities are implemented in a set of C/C++ files in a common sourcepool. Each project has a (linux) link to the sourcepool directory/ies. This setup works fine f...
- Sat Aug 25, 2018 9:36 pm
- Forum: ESP IoT Solution
- Topic: esp-mqtt subscribe and retained messages
- Replies: 2
- Views: 9902
Re: esp-mqtt subscribe and retained messages
What worries me is the log I (4672) MQTT_CLIENT: deliver_publish, message_length_read=145, message_length=52 This makes me think that all the retained messages are effective delivered to the ESP (message_length_read=145), but only the first message message_length=52) is processed and dispatched in t...
- Sat Aug 25, 2018 8:18 pm
- Forum: ESP IoT Solution
- Topic: esp-mqtt subscribe and retained messages
- Replies: 2
- Views: 9902
esp-mqtt subscribe and retained messages
Hi All, I'm having problems with receiving retained messages using the esp-mqtt component. My setup: Developing on Debian 9.5.0 running in a Win10 VirtualBox (5.2.18) using Eclipse Photon (4.8.0) and ESP-IDF (v3.2-dev-596-g7abed5fc-dirty). Mosquitto MQTT broker running on RPi 3B+ My Code: /* * main....
- Sun Jun 17, 2018 10:30 am
- Forum: General Discussion
- Topic: Hardware Pin Assignment
- Replies: 2
- Views: 4744
Re: Hardware Pin Assignment
Are you using the Wrover or the Wroom ? I'm planning my PCB layout for both, and initialy use the WROOM, but if specs requires WROVER, it will be no problem to use that module. Do you plan on using JTAG ? I foresee connectors to connect an ESP_PROG device to flash/monitor/debug the device, hence re...