FreeRTOS Support Archive

The FreeRTOS support forum can be used for active support both from Amazon Web Services
and the community. In return for using our software for
free, we request you play fair and do your bit to help others! Sign up
to receive notifications of new support topics then help where you can.

This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.

Incompatibel STM32F407 with FreeRTOS Webserver???

I am using this Code with FreeRTOS!
It does work very good! Too about Task scheduling!

But there is a big Problem, that i need a Demo from FreeRTOS Webserver!
this webserver project is working only with stm32f1xx or stm32f2!!!
This is, why it will never work with stm32f4xx, what can i do??
Is there truely no solution???

regard Kamran

//Inlcude header files
include "stm32f4xx.h"
include "FreeRTOS.h"
include "task.h"
include "math.h"
include "stdio.h"
include "stdlib.h"
include "string.h"

include "stm32f4xx.h"
include "stm32f4xxconf.h"
include "stm32f4xxusart.h"
include "stm32f4xxrcc.h"
include "stm32f4xxgpio.h"
include "systemstm32f4xx.h"
include "FreeRTOSConfig.h"
include "stm32f4xxtim.h"
include "uart.h"

Incompatibel STM32F407 with FreeRTOS Webserver???

I would like to help, but I'm afraid I don't understand your question.

You talk about a Webserver, and the comment in the code you posted mentions a LAN, but all the code you have posted is related to a USART.

Where did the code come from? What is it that is not working? Does FreeRTOS run at all on the hardware?

The FreeRTOS kernel will run on any Cortex-M devices, and switching between devices should just be a matter of having the correct linker script as far as the kernel is concerned, although of course the peripherals do vary from device to device.

via the JTAG code is implemented only once.
The connection will be separated from the JTAG!

But this board has to be connected to LAN ( forever )!
Therefore, I need a web server, as I can only enter via webserver on the site, the temperature query! ( not implemented code! )

therefore I need certain files from the FreeRTOS demo!
for example: emac.h from the FreeRTOS!
But emac.h is not compatible with STM32F4xx because it always calls after this file stm32f10xgpio.h and not stm32f4xxgpio.h!

Or stm32_eth.h from the FreeRTOS
This file is again not compatible with STM32F4 but only with stm32f2xx!

Incompatibel STM32F407 with FreeRTOS Webserver???

I was meaning more from where did you get the code, rather than which function did the code come from. As the function is in German I think I'm safe in thinking the code didn't come from us though. Therefore I would suggest one of three things:

1) Update the code yourself to use the correct peripheral drivers for the new target hardware.

2) Go back to wherever the code originally came from and see if they can assist you in porting to the new hardware.

3) Search the ST website for the STM32 "Demonstration Builder" or "STM32Cube" - both of which I think include a web server that uses FreeRTOS.