Search found 9 matches

by ArminArmin
Fri Mar 10, 2023 10:31 pm
Forum: Hardware
Topic: Uart: receives unexpected values
Replies: 0
Views: 876

Uart: receives unexpected values

Hello, What is the problem? The received data from uart pins of esp32 is different from normal putty communication. What am I trying to do? what is my approach? I am sending some data through UART (pins 33, 32) to a device. Once I send command in putty, the responses that I get is either "ok" or "er...
by ArminArmin
Mon Dec 12, 2022 6:50 pm
Forum: ESP-IDF
Topic: Adding a library to CMakeList
Replies: 1
Views: 2575

Adding a library to CMakeList

Hi, I have LVGL library: https://github.com/espressif/esp-iot-solution In this path: c:/path/esp-iot-solution I would like to add this path to my project. What I did: 1. Created a new environment variable for the library path (c:/path/esp-iot-solution) called IOT_SOLUTION_PATH . 2. In the CMakeLists...
by ArminArmin
Thu Dec 08, 2022 1:37 pm
Forum: ESP-IDF
Topic: Components and CMakeList
Replies: 6
Views: 5070

Re: Components and CMakeList

Thank you so much for explaining. Out of curiosity, If A1/ directory has multiple files (.h), then each of those files should be written in the CMakeList? For example, Let's say there are 100 files in the A1/ , then all of those 100 files should be specified in the CMakeList? Is it possible to speci...
by ArminArmin
Tue Dec 06, 2022 6:27 pm
Forum: ESP-IDF
Topic: Components and CMakeList
Replies: 6
Views: 5070

Re: Components and CMakeList

Thanks,

I got only two CMakeList files, one is in the project folder and the other one is in the main/ folder.

Like this:

Code: Select all

project folder:
   - components
   - main
      -CMakeLists.txt
   - CMakeLists.txt
by ArminArmin
Mon Dec 05, 2022 7:46 pm
Forum: ESP-IDF
Topic: Components and CMakeList
Replies: 6
Views: 5070

Components and CMakeList

Hi, I have been suggested to put different libraries into a components folder and address them using CMakeList.txt . My folder structure lookslike this: - main main.c - components -Lib_A aa.c aa.h - A1 bb.c bb.h _ A2 dd.c dd.h -Lib_B ee.c ee.h - B1 ff.c ff.h - B2 gg.c gg.h I put this in the CMakeLi...
by ArminArmin
Tue Nov 22, 2022 3:45 pm
Forum: Hardware
Topic: uart2 pinouts
Replies: 1
Views: 1177

uart2 pinouts

Hi, I am following this page of documentation for setting communication pins: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/peripherals/uart.html#setting-communication-pins why it is like this: ESP_ERROR_CHECK(uart_set_pin(UART_NUM_2, 4, 5, 18, 19)); insterad of this: ESP...
by ArminArmin
Tue Nov 22, 2022 2:55 pm
Forum: Hardware
Topic: UARTs issue
Replies: 0
Views: 869

UARTs issue

Hi, I am running the uart_repl from the example folder. (https://github.com/espressif/esp-idf/tree/1657db56c9a599403595fbf98e3eef6ad627a5d4/examples/peripherals/uart/uart_repl) Questions in the code: 1. Is DEFAULT_UART_CHANNEL represent the U0RXD , U0TXD ? 2. Why defined rx,tx are 3,2? Shouldn't it ...
by ArminArmin
Tue Aug 09, 2022 4:40 pm
Forum: Hardware
Topic: How to have a custom bootloader
Replies: 1
Views: 2545

How to have a custom bootloader

Hello, I would like to apply some modifications on the bootloader for a project, I read these links: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/bootloader.html https://github.com/espressif/esp-idf/tree/master/examples/custom_bootloader/bootloader_override Question: Is it ...
by ArminArmin
Mon Aug 08, 2022 8:47 pm
Forum: Hardware
Topic: Enabling pull down resistor on IO5 from bootloader
Replies: 1
Views: 1529

Enabling pull down resistor on IO5 from bootloader

Hello,

How to enable pull down resistor on IO5 from bootloader?

Thanks