Search found 4 matches

by JeffGray
Thu Jun 29, 2023 2:13 pm
Forum: ESP-IDF
Topic: undefined reference to app_main
Replies: 4
Views: 2287

Re: undefined reference to app_main

It appears that I did not have cmake installed. Thank you for pointing me in the correct direction. What confused me is that the instructions in VS Code are straightforward for seemingly every other step of setting up the build environment, but I had to dig online and go to cmake.org to download cma...
by JeffGray
Wed Jun 28, 2023 9:53 pm
Forum: ESP-IDF
Topic: undefined reference to app_main
Replies: 4
Views: 2287

Re: undefined reference to app_main

In VS Code, when I go to Terminal>Configure Default Build Task, The following appears: CMake: build (230626-204629-espidf-hello-world) is already marked as the default build task then the file tasks.json opens, which is copied below: { "version": "2.0.0", "tasks": [ { "type": "cmake", "label": "CMak...
by JeffGray
Tue Jun 27, 2023 4:04 am
Forum: ESP-IDF
Topic: undefined reference to app_main
Replies: 4
Views: 2287

undefined reference to app_main

I am trying to build the espidf-hello-world example in VS code. The build log is copied below. If you look to the end of the log you will see: "...esp/esp-idf/components/freertos/app_startup.c:206: undefined reference to `app_main'" I have seen various posts with similar issues with the suggestion "...
by JeffGray
Mon Oct 09, 2017 4:34 am
Forum: ESP32 Arduino
Topic: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?
Replies: 43
Views: 129937

Re: ESP32 ADC Non-linear Issues - How do I fix / change Attenuation or width?

It is not only the offset, but the gain is off as well. I have created ideal lines using the .csv data provided in the thread above (revised files attached). In effect, the 11dB range goes to 3.3V full scale (not 3.6); linear up to 2.6V. The 6dB range goes to 1.8V (not 2V). In the attached files, yo...