-
From the mod document, it mentioned to make mcrun working, the host needs to run a debug build with |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Basically, you need to copy the mod binary to the space in flash reserved for mods. That is different depending on the microcontroller. If you are working on ESP32, mods are stored in the
Here the offset of the The path to the mod binary is based on its name. For a mod named You can use There are many other approaches. For example, you could run an HTTP server on the ESP32 and use |
Beta Was this translation helpful? Give feedback.
-
I'm tryting to get this working, and there are some details may be helpful for other people: How to only BUILD the Mod?the mcrun actually take -t argument (but different ones), to just build the MOD( get the .xsa file) you can do this:
Partition TableHere is my partition table info (by running a clean HOST build)
Flash command
Monitor Command (See the output)
and it looks like this:
|
Beta Was this translation helpful? Give feedback.
Basically, you need to copy the mod binary to the space in flash reserved for mods. That is different depending on the microcontroller. If you are working on ESP32, mods are stored in the
xs
partition. When you do a clean build, the partition table is displayed:Here the offset of the
xs
partition is0x7c0000
. That may be different for your development …