You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
../simplelink/simplelink_sockets.c:70:11: error: 'ENSOCK' undeclared (first use in this function); did you mean 'ENOTSOCK'?
70 | error = ENSOCK;
| ^~~~~~
| ENOTSOCK
The text was updated successfully, but these errors were encountered:
Just noticed the below in the TI hal user.h. So maybe SL_INC_INTERNAL_ERRNO is being defined somehow, but should not be?
/*!
\brief User's errno setter function. User must provide an errno setter
in order to let the SimpleLink Wi-Fi driver to support BSD API
alongside the user's errno mechanism.
Looks like the above TI hal user.h code segment for Zephyr is new. It isn't in the code that I've been using to create my CC3120 SPI driver (simplelink_sdk_wifi_plugin_4_20_00_10). So I did not have that in my port of user.h. I will add that code to my driver. So not sure this is actually a Zephyr compile issue. (Although it may be an issue that those defines aren't somewhere standard, so this code isn't needed in user.h.)
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.
simplelink_sockets.c does not compile as it references the symbol ENSOCK that does not seem to be defined anywhere in the Zephyr sources:
https://github.com/zephyrproject-rtos/zephyr/search?q=ENSOCK
../simplelink/simplelink_sockets.c:70:11: error: 'ENSOCK' undeclared (first use in this function); did you mean 'ENOTSOCK'?
70 | error = ENSOCK;
| ^~~~~~
| ENOTSOCK
The text was updated successfully, but these errors were encountered: