MM IoT-SDK for PlatformIO getting country code error with mm8108-ekh05 examples getting Country Code error

I am attempting to build and flash some mm8108-ekh05 examples such as ping test or HTTP demo but I keep getting the Country Code error

Morse HTTP Demo (Built Nov 25 2025 16:21:09)

Could not find specified regulatory domain matching country code “??”
Please set the configuration key wlan.country_code to the correct country code.Note: This firmware has been built with debug in stop mode enabled.
This will impact power consumption and should be disabled for production firmware.
Failure logged at pc 0x08021836, lr 0x08021545, line 196 in 00000000
0x00000000
0x00000000
0x00000000
0x00000000

The config.hjson file I changed line #39 to

“wlan.country_code”: “US”

but it still gets the error after I rebuild and flash the board regardless of which demo application I pick. Is there a better guide somewhere to use the MM IoT-SDK for PlanformIO or easy way to build WiFi Halow example applications?

Hi @Dima587

Programming the config store is separate to flashing the application image. This is to allow you to use one config across multiple applications!

We have a porting guide available at our customer portal, see Downloads Dashboard.

For your benefit, here is a direct link to the PlatformIO guide: https://www.morsemicro.com/resources/user_guides/Platform-IO-MM-IoT-SDK-User-Guide.pdf

See section 4.5 which describes programming the config store partition.