Building using IAR compiler #1596
-
Has anyone built mongoose using the IAR compiler? I'm using compiler version 9.10 and I've been able to compile as a library and include into my project. It seems to launch fine and I have a very simple HTTP server sample that just returns a simple string at the moment. I had to change the arch_freertos_lwip.h file as so; #if defined(GNUC) I can connect to server and send an http request, but after returning the string I hit a hardfault. I'm still trying to track it down but it is an attempt to execute from address 0 so I'm assuming it's trying to access a pointer to a function that isn't initialized. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Can you try the example http-server code ? |
Beta Was this translation helpful? Give feedback.
-
I would suggest you increase verbosity |
Beta Was this translation helpful? Give feedback.
-
That smells like a stack smashing. How much stack your HTTP task has? Give it something like 8k. |
Beta Was this translation helpful? Give feedback.
That smells like a stack smashing. How much stack your HTTP task has? Give it something like 8k.
For the file system, use an embedded FS, you can just get the ready-to-go FS file from examples/device-dashboard