The numbers are obviously too large. Is there something obvious that I’ve not configured correctly? I can see the DHCP requests with wireshark, The board ignores standard offers and pings requests. I have a couple of separate tasks running LED patterns and LCD test messages completely fine. I’ve spent hours trying to work out what I might not have setup the FreeRTOSIPConfig.h file correctly.
It would be fantastic if there was a very basic FreeRTOS+TCP demo project for STM32Fxx that I could see where I’m going wrong. I can’t find any of the old demos that are mentioned on the website and documentation.
First a quick question: how did you define FreeRTOS_printf() and FreeRTOS_debug_printf()?
Is the prototype of your debug-printing routine visible to the code that uses mentioned macro’s?
For instance, this definition works OK:
extern int lUDPLoggingPrintf( const char *pcFormatString, ... ) __attribute__ ((format (__printf__, 1, 2)));
/* Set to 1 to print out debug messages. If ipconfigHAS_DEBUG_PRINTF is set to
1 then FreeRTOS_debug_printf should be defined to the function used to print
out the debugging messages. */
#define ipconfigHAS_DEBUG_PRINTF 1
#if( ipconfigHAS_DEBUG_PRINTF == 1 )
#define FreeRTOS_debug_printf( X ) ( void ) lUDPLoggingPrintf X
#endif
I can’t find any of the old demos that are mentioned
on the website and documentation.
I’m sorry about that. They were removed because they were not maintained for a long time ( 4 years ).
I will prepare a new up-to-date testing projects and put them on github.
Looking at these large numbers that I’m getting in the output - they do appear to be decimal representation of memory addresses, so I’m probably am not refrencing/de-refrencing ‘arg’ correctly.