Search found 4 matches

by adamaynard
Mon Nov 14, 2022 6:32 am
Forum: Hardware
Topic: Getting back data on UART when receiving board is turned off
Replies: 2
Views: 1194

Re: Getting back data on UART when receiving board is turned off

pins.jpg
pins.jpg (105.43 KiB) Viewed 1151 times
I am using GPIO 4 and GPIO 5 (they are marked as D4 and D5 on actual board).
by adamaynard
Sat Nov 12, 2022 9:36 am
Forum: Hardware
Topic: Getting back data on UART when receiving board is turned off
Replies: 2
Views: 1194

Getting back data on UART when receiving board is turned off

Hello, I have two ESP32 boards (ESP32-WROOM and ESP32-WROVER) connected via UART (I'm using pins 5 and 4 for TX and RX on both boards, and these are the only pins that are connecting those two devices). I am sending data from ESP32-WROVER to ESP32-WROOM and everything works fine. But if I turn off t...
by adamaynard
Fri Oct 21, 2022 5:56 am
Forum: ESP-IDF
Topic: Conditional compile definition
Replies: 2
Views: 2280

Re: Conditional compile definition

This works, thank you!
by adamaynard
Thu Oct 20, 2022 1:57 pm
Forum: ESP-IDF
Topic: Conditional compile definition
Replies: 2
Views: 2280

Conditional compile definition

I am trying to find a way to add compile definition based on an environment variable. I tried something like this in the main CMakeList.txt: if(DEFINED ENV{MY_ENV_VAR}) add_compile_definitions(MY_DEFINITION) endif() It works fine when build is invoked initially, but after that the build system doesn...