Search found 6 matches

by ns_esp
Fri Apr 29, 2022 9:05 pm
Forum: ESP-IDF
Topic: Passing variables when compiling/building project
Replies: 0
Views: 1105

Passing variables when compiling/building project

Hello, I'd like to be able to pass variables into my code when building a project, so that parameters such as IP address, device name, and password can be changed without editing my code. I know that in C there is the compiler flag -D that can do this, but I'm not sure how to use it in the esp idf.p...
by ns_esp
Fri Oct 15, 2021 7:40 am
Forum: ESP-IDF
Topic: Inconsistent ULP ISR while using WiFi
Replies: 2
Views: 2416

Re: Inconsistent ULP ISR while using WiFi

Thank you! This resolved it!
by ns_esp
Sun Oct 10, 2021 6:01 am
Forum: ESP-IDF
Topic: Inconsistent ULP ISR while using WiFi
Replies: 2
Views: 2416

Inconsistent ULP ISR while using WiFi

I am having an issue wherein the main processor occasionally does not wakeup when a command is sent by ULP coprocessor while powersave mode and aspects of the WiFi protocol are active.I get the sense that the ULP ISR has a lower priority than some WiFi or is unable to perform its task on a different...
by ns_esp
Sun Oct 10, 2021 5:25 am
Forum: General Discussion
Topic: ULP-Timer
Replies: 1
Views: 2046

Re: ULP-Timer

Hi numan9803, Sorry I can't figure out how to respond on your PM regarding the question you asked. I'm not sure which question you are asking so here is my attempt to answer: 1. If your question is in regards to how to wirte and use the ULP coprocessor, you need to enable it in the menuconfig (idf.p...
by ns_esp
Sun Jun 13, 2021 5:34 pm
Forum: ESP-IDF
Topic: ULP ISR Question
Replies: 3
Views: 4006

Re: ULP ISR Question

Thank you Felix! That worked! I'd like to know the reason behind it? Are ISR's prevented from accessing UART or is this a timing issue, where the ISR is getting triggered again before the function completes its printf?

Thanks again!
by ns_esp
Sun Jun 13, 2021 2:58 am
Forum: ESP-IDF
Topic: ULP ISR Question
Replies: 3
Views: 4006

ULP ISR Question

Hello, I want to use both the main core and the ULP core in the following manner: -The ULP core will read an event input and count the number of events. -The main core will perform other tasks, and be interrupted by the ULP core when a threshold number of events have occurred. -When that interrupt o...