seems some incosistent with MG_ARCH_CUSTOM and mongoose_custom.h #1825
Replies: 2 comments 13 replies
-
It looks like you are right. I will take a look at it on Monday, in the meantime you can watch a video tutorial or read a tutorial where we do a custom build for STM32. Do not define MG_ARCH and the custom header file will be included, that's for sure. |
Beta Was this translation helpful? Give feedback.
-
Here is my mongoose_custom.h file:
And with this includes, I don't have any linking issues, that is strange. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment
I am following https://mongoose.ws/documentation/#custom-build
I added compile flag -DMG_ARCH=MG_ARCH_CUSTOM
I created
mongoose_custom.h
:From mongoose.h
Seems if I will setup MG_ARCH=MG_ARCH_CUSTOM then
mongoose_custom.h
never will be triggered, that is different (as I understood) from the manual explanation.My final target to startup mongoose web server in ch579 (a bit info here https://github.com/SoCXin/CH579). This chip has intergrated 10M ethernet phy and vendor provides closed source library (as static archive) with some api that can be used as underlayer for mongoose (at the moment I hope so).
Beta Was this translation helpful? Give feedback.
All reactions