Search found 58 matches

by PaulVdBergh
Fri Apr 13, 2018 4:33 pm
Forum: General Discussion
Topic: ESP-IDF, MSYS2, and VSC Video Posted
Replies: 7
Views: 8861

Re: ESP-IDF, MSYS2, and VSC Video Posted

Hi,

I try to follow the instructions in the tutorial, but the link to openocd-0.10.0-dev-gcdaf22fd appears dead...

Where can I download this file ?

Thanks,

Paul
by PaulVdBergh
Wed Apr 11, 2018 8:36 am
Forum: General Discussion
Topic: ESP-PROG availability
Replies: 6
Views: 9216

Re: ESP-PROG availability

Thanks for contacting us. Our global distributor Electrodragon will release ESP32-Prog very shortly. Please feel free to visit their website: http://www.electrodragon.com That's good news. I was thinking about contacting a PCB assembly company, but this is a better solution. Hope that "very shortly...
by PaulVdBergh
Tue Apr 10, 2018 11:03 am
Forum: General Discussion
Topic: ESP-PROG availability
Replies: 6
Views: 9216

ESP-PROG availability

Hi All, I'm looking for a decent ESP32 programming and debugging solution. I found this device very interesting. All the info is available, including gerber files etc to effectively build the board. However, I have never before done a smt board, let alone one which such small parts. Is this device f...
by PaulVdBergh
Thu Apr 05, 2018 10:50 am
Forum: General Discussion
Topic: Help in RMT write items error
Replies: 2
Views: 5474

Re: Help in RMT write items error

I'm not sure if it has something to do with the declaration of your pins, but you wrote

Code: Select all

#define PIN2 12
#define PIN3 12
So PIN2 and PIN3 both point to the same output pin?

Hope this helps....
Paul.
by PaulVdBergh
Fri Mar 30, 2018 11:08 am
Forum: General Discussion
Topic: Using C++ Boost library on ESP32 - RTTI Error
Replies: 4
Views: 9586

Re: Using C++ Boost library on ESP32 - RTTI Error

Hi,

I have no experience with the boost libraries, but had the same isue with a dynamic_cast<>(). I solved it by adding the following line to the component.mk file:

Code: Select all

CXXFLAGS += -frtti
Hope this helps.

Paul.
by PaulVdBergh
Tue Mar 20, 2018 12:29 pm
Forum: General Discussion
Topic: MQTT Last Will and Testament
Replies: 0
Views: 4754

MQTT Last Will and Testament

Hi All, In my project I have several ESP32 devices participating in an IoT solution based on MQTT. I have a Mosquitto instance running on an RPi 3. I will have info about the status of all the ESP devices broad-casted : when a device becomes active, it will publish a message telling it is "Online", ...
by PaulVdBergh
Tue Mar 13, 2018 6:20 pm
Forum: General Discussion
Topic: How to compile C++ with rtti enabled?
Replies: 3
Views: 7304

Re: How to compile C++ with rtti enabled?

Ok, I added

Code: Select all

CXXFLAGS += -frtti
to the component.mk file and now it compiles. I was confused by only finding -fno-rtti in the gnu gcc documentation, nothing about -frtti documented...
by PaulVdBergh
Tue Mar 13, 2018 3:56 pm
Forum: General Discussion
Topic: How to compile C++ with rtti enabled?
Replies: 3
Views: 7304

Re: How to compile C++ with rtti enabled?

thanks for your reply.

However, the -fno-rtti is already set (or is default behaviour), I have to remove it somewhere...
Or is it another flag to enable rtti?

Thanks,
Paul
by PaulVdBergh
Tue Mar 13, 2018 12:31 pm
Forum: General Discussion
Topic: How to compile C++ with rtti enabled?
Replies: 3
Views: 7304

How to compile C++ with rtti enabled?

Hi all, In my code I us class Base {}; class Derived : public Base {}; Base* base = new Derived(); Derived* derived = dynamic_cast<Derived*>(base) . To compile this, I need to enable rtti (Real Time Type Information) in the compiler options. Where can I enable this option (in eclipse IDE) ? Thanks, ...
by PaulVdBergh
Fri Mar 02, 2018 5:42 pm
Forum: General Discussion
Topic: Best Practice : std::thread vs xTaskCreate
Replies: 2
Views: 10122

Re: Best Practice : std::thread vs xTaskCreate

if you need portability, you can use std::thread How far goes "portability" ? Let me explain my situation : I'm writing a new version of a C/C++ system I wrote before for Debian armhf (Beaglebone Black). I'm reusing portions of the beaglebones code and try to implement them on ESP32 platform. The f...