Search found 112 matches
- Wed Oct 23, 2019 11:02 pm
- Forum: General Discussion
- Topic: Proper way to reboot?
- Replies: 3
- Views: 3559
Re: Proper way to reboot?
And if you're writing in assembly, the HCF (halt and catch fire) instruction would be appropriate.
- Sat Oct 19, 2019 10:31 pm
- Forum: ESP-IDF
- Topic: uart newbie question
- Replies: 5
- Views: 4785
Re: uart newbie question
Forgot to mention that writing back to the terminal can be done either with uart_write_byte() statements or with printf().
- Sat Oct 19, 2019 10:25 pm
- Forum: ESP-IDF
- Topic: uart newbie question
- Replies: 5
- Views: 4785
Re: uart newbie question
I had the same problem initially when working with UARTs. The ESP32 has 3 UARTs build in, UART0, 1 and 2. I notice in your code that you seem to be using UART 2. Try changing all those references to UART0, the UART to which the USB port is connected. Also, if you use UART0, I don't believe you have ...
- Fri Oct 11, 2019 8:53 pm
- Forum: ESP-IDF
- Topic: cmake in esp-idf 4.0-beta verbose
- Replies: 6
- Views: 6635
Re: cmake in esp-idf 4.0-beta verbose
Is there any reply to my last post?
I've gone back v3.3 in the meantime.
wevets
I've gone back v3.3 in the meantime.
wevets
- Thu Oct 10, 2019 6:06 am
- Forum: ESP-IDF
- Topic: cmake in esp-idf 4.0-beta verbose
- Replies: 6
- Views: 6635
Re: cmake in esp-idf 4.0-beta verbose
Hi. I added that one line to .../components/ulp/project_include.cmake as you suggested. Things are still not working completely. Again, things work with C-only files. But this is a ULP thing. The build seems to finish without error, but then I get (the last 5 lines of screen output are shown) C:/Use...
- Wed Oct 09, 2019 5:54 pm
- Forum: ESP-IDF
- Topic: cmake in esp-idf 4.0-beta verbose
- Replies: 6
- Views: 6635
Re: cmake in esp-idf 4.0-beta verbose
When I submitted my last reply, I'm not sure the file I tried to attach went with the submission. Here's another attempt. If you get two copies of the same file, ignore one.
wevets
wevets
- Wed Oct 09, 2019 5:51 pm
- Forum: ESP-IDF
- Topic: cmake in esp-idf 4.0-beta verbose
- Replies: 6
- Views: 6635
Re: cmake in esp-idf 4.0-beta verbose
As you suggested, I set up virgin build conditions for ulp_example_main.c, in the esp-idf\examples\system\ulp directory hanging off \desktop, as installed by the esp-idf v4.0 install file, by deleting the build directory, and started a build. (The file ulp_pulse_cnt.S file is in the ulp directory ha...
- Wed Oct 09, 2019 1:17 am
- Forum: ESP-IDF
- Topic: cmake in esp-idf 4.0-beta verbose
- Replies: 6
- Views: 6635
cmake in esp-idf 4.0-beta verbose
A couple of days ago I downloaded esp-idf v4.0-beta as it seemed like a good time to do it, (I was having some problems with esp-idf 3.3 and would have had to re-install anyway) and things generally work with C programs. I'm running windows 10 cmd.exe as called out in the documentation. Cmd is lacki...
- Mon Oct 07, 2019 5:28 am
- Forum: ESP-IDF
- Topic: ESP-IDF problems with mingw/mingw32/make
- Replies: 17
- Views: 17582
Re: ESP-IDF problems with mingw/mingw32/make
The problem is that going way back to DOS, "con" was a reserved word in the "OS" as the directory of the console. One could write to it like one can write to ttyn in Unix. The OS wouldn't let that directory be deleted by mere mortals, and that is carried as legacy all the way up to Windows 10. Weird...
- Tue Oct 01, 2019 7:07 am
- Forum: ESP-IDF
- Topic: Another ULP timer question
- Replies: 13
- Views: 12972
Re: Another ULP timer question
Right, but I was wondering about a "halt-sleep". The docs say that the halt instruction stats a timer indicated n the last "sleep n" instruction. That doesn't work. But there is that value still in SENS_ULP_CP_SLEEP_CYC0_REG, so I was thinking of an experiment to determine if that halt started a tim...