Search found 327 matches

by mzimmers
Mon Mar 26, 2018 10:35 pm
Forum: ESP32 IDF
Topic: Programming in C++
Replies: 47
Views: 34051

Re: Programming in C++

That was worth a try, but didn't help.
by mzimmers
Mon Mar 26, 2018 8:45 pm
Forum: ESP32 IDF
Topic: Programming in C++
Replies: 47
Views: 34051

Re: Programming in C++

I thought I had this beat, but...I too am getting the undefined reference to app_main(). - I've wrapped the definition of app_main() in extern "C" {} notation. - Did a make clean Still no success. Also: I notice that there are (at least) two C++ compilers in my C:\msys32\opt\xtensa-esp32-elf\bin dir...
by mzimmers
Mon Mar 26, 2018 7:00 pm
Forum: General Discussion
Topic: I need to read input from the user console
Replies: 14
Views: 4410

Re: I need to read input from the user console

Hi John - Thanks for the reply. I did find the source for that routine OK, but I was wondering why the linker isn't finding it in that library, as it does for the example program. I need to know more about the build system, I guess, but if it's in the library, and if my program needs it, why doesn't...
by mzimmers
Mon Mar 26, 2018 6:19 pm
Forum: General Discussion
Topic: I need to read input from the user console
Replies: 14
Views: 4410

Re: I need to read input from the user console

I incorporated the example C code into my own project. I'm missing a few functions like "esp_console_get_completion" at link time. I looked at the map file for the example project and this function is found in build/console\libconsole.a. My libconsole.a doesn't have that entry. I'm fairly new to the...
by mzimmers
Mon Mar 26, 2018 4:29 pm
Forum: General Discussion
Topic: I need to read input from the user console
Replies: 14
Views: 4410

Re: I need to read input from the user console

Yeah, using the console for application I/O can clutter the screen and cause confusion, I agree.

I'd be happy to hook up teraterm or PuTTY or something else. Are there instructions somewhere for redirecting the app_main() I/O to such a device?
by mzimmers
Mon Mar 26, 2018 3:43 pm
Forum: General Discussion
Topic: I need to read input from the user console
Replies: 14
Views: 4410

Re: I need to read input from the user console

Thanks for that link, fly...that's a good-looking library. Any idea if I can use my msys2 window for terminal input. As it is, printf() output is directed to it. If necessary, I could look into attaching an FTDI cable to my esp32 to give me a second UART connection (I assume the chip supports at lea...
by mzimmers
Mon Mar 26, 2018 2:28 am
Forum: General Discussion
Topic: I need to read input from the user console
Replies: 14
Views: 4410

Re: I need to read input from the user console

Thanks, Mr. Kolban. So, am I correct in inferring from another code snippet I saw that an fgetc() will return a 0xff if no data was read?
by mzimmers
Mon Mar 26, 2018 1:26 am
Forum: General Discussion
Topic: I need to read input from the user console
Replies: 14
Views: 4410

I need to read input from the user console

Hi, all - Thanks to the help of people here, I've gotten the WiFi software working on my esp32. I'm at the point where my next task is to remove my hard-coded password to my access point from my program. So...I think it's time to learn how to read input from the console. I did a little online search...
by mzimmers
Fri Mar 23, 2018 1:40 am
Forum: General Discussion
Topic: problem trying to use Qt as my IDE
Replies: 4
Views: 1330

Re: problem trying to use Qt as my IDE

That's good information. What did you use as programming/debugging tools with that?
by mzimmers
Thu Mar 22, 2018 11:01 pm
Forum: General Discussion
Topic: problem trying to use Qt as my IDE
Replies: 4
Views: 1330

Re: problem trying to use Qt as my IDE

Hi Mr. Kolban - Thanks for the quick reply. I'll take your advice and do that with a hello world example, though I'm not sure I know how to set an environment variable in msys2. The set command doesn't seem to work as it does in a DOS shell. EDIT: I got this to work with: $ V=1 $ export V Regarding ...

Go to advanced search