Hi, Im working with an MCBSTM32E (STM32F103ZE chip) evaluation board and Im trying to create a web server on my board. Because theres no Ethernet controller on board Im using an external WiFi module (RS9110-11-21 from Redpine Signals). Ive configured UART2 as my serial connection to the module. In the Net_Config.c file ive unchecked the Ethernet Network Interface and have enabled the SLIP interface. When I try to compile the code I get the following build output message:
Build target 'STM32 Flash' compiling Net_Config.c... linking... .\Obj\Test.axf: Error: L6218E: Undefined symbol dhcp_vcid (referred from at_dhcp.o). .\Obj\Test.axf: Error: L6218E: Undefined symbol own_hw_adr (referred from at_dhcp.o). Target not created
The serial driver file Serial_STM32x.c is included and modified. Has anyone encountered the same problem?
BTW if I enable the Ethernet interface I dont get the error messages but the program will get stuck in the init_TcpNet() function. (Fatal Error Handler)
Thanks, Chris
The default Null_Modem.c driver is in the library. However you can copy the source code of this driver from .\ARM\RL\TCPnet\Drivers\Null_Modem.c to your project folder and add it to your project. Then modify it according your needs.
When you build the project, this driver will replace the null modem functions from the library. This is a preferred way and much better than hacking the com_putchar() function.