identifier is unidentified

mathaias
Posts: 1
Joined: Fri Oct 27, 2023 8:07 am

identifier is unidentified

Postby mathaias » Fri Oct 27, 2023 8:21 am

hello,

For a school project im bussy trying to connect to wifi on my esp32 c6.
For this i make use of the esp idf.
ive been able to use some basic pheripherals like the GPIO with an interrupt and the timer, which i did using the structs from the API.
Now for the wifi, i opened an example first and read carefully trough the documentation page to do it correctly, but i have ran in an issue with some defines that i thought shoud be in the API code.
Some of the defines i miss are listed bellow.
I cant really find what these defines shoud be, and i dont really know the causse of the problem, sinds its only in my wifi.c file and not in any other file i made/use.
Is it something with my paths?
thanks for reading, i hope you guys can help me out!
[{
"resource": "/d:/development/esp/projects/prj1/main/my_wifi.c",
"owner": "C/C++: IntelliSense",
"code": "20",
"severity": 8,
"message": "identifier \"CONFIG_LOG_MAXIMUM_LEVEL\" is undefined",
"source": "C/C++",
"startLineNumber": 41,
"startColumn": 13,
"endLineNumber": 41,
"endColumn": 21
}]
[{
"resource": "/d:/development/esp/projects/prj1/main/my_wifi.c",
"owner": "C/C++: IntelliSense",
"code": "20",
"severity": 8,
"message": "identifier \"pdFALSE\" is undefined",
"source": "C/C++",
"startLineNumber": 98,
"startColumn": 13,
"endLineNumber": 98,
"endColumn": 20
}]
[{
"resource": "/d:/development/esp/projects/prj1/main/my_wifi.c",
"owner": "C/C++: IntelliSense",
"code": "20",
"severity": 8,
"message": "identifier \"portMAX_DELAY\" is undefined",
"source": "C/C++",
"startLineNumber": 100,
"startColumn": 13,
"endLineNumber": 100,
"endColumn": 26
}]

Who is online

Users browsing this forum: Baidu [Spider] and 78 guests