Search found 45 matches

by Xavi92
Tue Apr 21, 2020 7:40 am
Forum: ESP-IDF
Topic: Name conflicts between user and esp-idf components
Replies: 3
Views: 4522

Re: Name conflicts between user and esp-idf components

Thanks, Sprite! Then we will rename our components to something else.
by Xavi92
Mon Apr 20, 2020 7:42 am
Forum: Hardware
Topic: Is it possible to support 9-bit multi drop bus on UART?
Replies: 5
Views: 9496

Re: Is it possible to support 9-bit multi drop bus on UART?

Another trick we came up that would allow a 9th data bit using the hardware UART is to reconfigure the parity on each byte. For example, if 9th bit == 1 and (data[0:7] & 1), odd parity is configured, and even parity is configured if !(data[0:7] & 1). A similar logic applies to 9th bit == 0. While be...
by Xavi92
Mon Apr 20, 2020 7:14 am
Forum: ESP-IDF
Topic: Name conflicts between user and esp-idf components
Replies: 3
Views: 4522

Re: Name conflicts between user and esp-idf components

From esp-idf build system documentation : If two or more of these directories contain component sub-directories with the same name, the component in the last place searched is used. This allows, for example, overriding ESP-IDF components with a modified version by copying that component from the ESP...
by Xavi92
Tue Apr 14, 2020 9:06 am
Forum: ESP-IDF
Topic: Name conflicts between user and esp-idf components
Replies: 3
Views: 4522

Name conflicts between user and esp-idf components

As of esp-idf v4.1, the idf_component_register macro is one of the preferred ways to register components into CMakeLists.txt. However, if folder name matches between a user and an esp-idf component (common names e.g.: "log" or "bt"), CMake chooses the first folder it finds and adds it to the include...
by Xavi92
Thu Apr 09, 2020 9:23 am
Forum: Hardware
Topic: Is it possible to support 9-bit multi drop bus on UART?
Replies: 5
Views: 9496

Re: Is it possible to support 9-bit multi drop bus on UART?

Hello Tom,

You are completely right, a software-emulated UART would do the trick. I have been looking for implementations on the Internet, but most (if not all) are MCU-specific, so they would still need to be adapted to the ESP32.

Thanks a lot for your help,
Xavi
by Xavi92
Wed Apr 08, 2020 2:13 pm
Forum: Hardware
Topic: Is it possible to support 9-bit multi drop bus on UART?
Replies: 5
Views: 9496

Is it possible to support 9-bit multi drop bus on UART?

Hello, We are designing a device based on the ESP32 which acts as a bridge between devices using the MDB/ICP protocol. Tipically, a UART configured to support 9 data bits is used for this purpose, since the protocol defines a frame as: Start bit | Bits 0 to 7 | Mode bit | Stop bit Where mode bit is ...
by Xavi92
Fri Mar 20, 2020 10:38 am
Forum: ESP-IDF
Topic: esp-idf use of std=gnu99
Replies: 4
Views: 5952

Re: esp-idf use of std=gnu99

Hi Angus,

Thank you very much for your answer and the examples provided. Then I guess std=gnu99 is there for historical reasons, right?

Best regards,
Xavi
by Xavi92
Thu Mar 19, 2020 2:54 pm
Forum: ESP-IDF
Topic: esp-idf use of std=gnu99
Replies: 4
Views: 5952

Re: esp-idf use of std=gnu99

Could anyone please provide an answer to this topic?
Thank you very much.
by Xavi92
Thu Mar 19, 2020 2:53 pm
Forum: Report Bugs
Topic: parttool.py crashes when retrieving partition info
Replies: 2
Views: 12438

Re: parttool.py crashes when retrieving partition info

Could anyone please confirm this issue?
Thank you very much.
by Xavi92
Thu Mar 05, 2020 10:29 am
Forum: Report Bugs
Topic: parttool.py crashes when retrieving partition info
Replies: 2
Views: 12438

parttool.py crashes when retrieving partition info

Using parttool.py from esp-idf v4.0 tag ( commit hash f9cb434eeb90be4f34893a278d0a70a8b21e4ca2 ), the following error appears when attempting to retrieve partition info: $ parttool.py --partition-table-file partition_table.csv get_partition_info --partition-name ota_data Traceback (most recent call ...