Skip to content

How to install a Mod in an release/instrumented build? #1105

Closed Answered by phoddie
linfan68 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

*******************************************************************************
# ESP-IDF Partition Table
# Name, Type, SubType, Offset, Size, Flags
nvs,data,nvs,0x9000,24K,
phy_init,data,phy,0xf000,4K,
factory,app,factory,0x10000,7872K,
xs,64,1,0x7c0000,256K,
*******************************************************************************

Here the offset of the xs partition is 0x7c0000. That may be different for your development …

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@linfan68
Comment options

@linfan68
Comment options

@phoddie
Comment options

Answer selected by linfan68
Comment options

You must be logged in to vote
1 reply
@phoddie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants