Use RT1050 board
I add wifi_iperf source file to some IO expender project.
I add C/C++ Build -> Settings - > MCU C Compiler -> includes and C/C++ Build -> Settings - > MCU Assembler -> General to wifi workspace path.
it will occur undeclared error,but I can find in the another include file.
but #define MAX_PORT can find the wifidriver/incl/mlan_main.h,why it can't link to MAX_PORT.
thanks~
Hi @yen_chen :
Please check the includes paths, you should add all the wifi path into your project include paths.
Regards
Daniel
Hi, @danielchen
Could you tell me different folder how to link each other.
some folder I add and include path but it can't link to another file.
Could you tell me how to do ?
thanks ~
Hi @danielchen
I already included (MCU C compiler -> includes path) and (MCU Assembler -> General)
but it doesn't work .
I find the file (wifi/wifidriver/incl/mlan_main.h) already define :"MAX_PORT",
but error message :(error: 'MAX_PORT' undeclared (first use in this function); did you mean 'MAXSTORE'?)
Is anything I need to check?
Hi @yen_chen :
When you add some source folders into MCUXpresso IDE, the default behavior is the folder is excluded from the project.
You need to uncheck the "Exclude resource from build".