VSC installation BUG

chegewara
Posts: 2375
Joined: Wed Jun 14, 2017 9:00 pm

Re: VSC installation BUG

Postby chegewara » Sun Dec 11, 2022 11:48 pm

Baldhead wrote:
Fri Dec 09, 2022 5:53 pm
AND, i dont understand this yet:

-- Component directory C:/esp32-Proj/WSS_SERVER_AND_UI_INTEGRATION_S3_16-05-2022/components/communication does not contain a CMakeLists.txt file. No component will be added
-- Component directory C:/esp32-Proj/WSS_SERVER_AND_UI_INTEGRATION_S3_16-05-2022/components/ui does not contain a CMakeLists.txt file. No component will be added
You dont have to worry about it. Cmake is looking for CMakeLists.txt in every subfolder in components, but your components are 1 level down in communication and ui, thus you dont have it there. Its just more info, in case we forgot to add CMakeLists.txt, because in normal case that component wont get build.

roachslayer
Posts: 1
Joined: Wed Dec 21, 2022 11:27 pm

Re: VSC installation BUG

Postby roachslayer » Wed Dec 21, 2022 11:34 pm

I just wanted to add, I tried using the espressif extension in VSC today, TOTAL disaster. I can't follow half the stuff in this thread (nor should I need to know how the extension or IDF was written or works on my system), but I can tell you that this is totally broken and unusable.

I cannot open menuconfig due to missing files (re: cmakelists.txt), and trying to hack around this is to no avail.

yehuda
Posts: 7
Joined: Sun Feb 14, 2021 10:31 am

Re: VSC installation BUG

Postby yehuda » Mon Dec 26, 2022 4:27 pm

I upgrade from sdk4.4 to sdk5.0 and I get:
warning: ignoring attribute 'section (".iram1.3" ' because it conflicts with previous 'section (".iram1.2")' [-Wattributes]
on function:
static void IRAM_ATTR start_lf_pwm()

I assume that there something with attribute IRAM_ATTR that changed at SDK5.0

Can someone help?

guilherme_pp
Posts: 2
Joined: Mon Jan 09, 2023 5:41 pm

Re: VSC installation BUG

Postby guilherme_pp » Mon Jan 09, 2023 7:49 pm

Hello,

I'am facing the similar problem with migration to sdk5.0.
I'am using IRAM_ATTR twice in my code, so i get two warnings from Eclipse IDE:

ignoring attribute 'section (".iram1.2")' because it conflicts with previous 'section (".iram1.0")' [-Wattributes]
ignoring attribute 'section (".iram1.3")' because it conflicts with previous 'section (".iram1.1")' [-Wattributes]

Can someone help?

Thanks!

guilherme_pp
Posts: 2
Joined: Mon Jan 09, 2023 5:41 pm

Re: VSC installation BUG

Postby guilherme_pp » Thu Feb 09, 2023 12:36 pm

I removed the IRAM_ATTR from function prototype and kept in the function only. The warning was resolved.

vidaljuanp
Posts: 2
Joined: Thu Apr 13, 2023 12:40 pm

Re: VSC installation BUG

Postby vidaljuanp » Thu Apr 13, 2023 12:42 pm

Have yo found the solution to this IRAM_ATTR issue?

Who is online

Users browsing this forum: No registered users and 18 guests