Usermod compile

After asking on github page for help but recive the same hint that I already use to compile usermod
is there anyone who can help me?

When I try to compile with platformio override with this code everything works except for the usermod,
always get “Usermods configuration not found” in usermod page.

what I missing to do when compile?

[platformio]
default_envs = d1_mini

[env:franz_d1_mini]
board = d1_mini
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
upload_speed = 921600
board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266}
    -D USERMOD_FOUR_LINE_DISPLAY
    -D USERMOD_ROTARY_ENCODER_UI
    -D USE_ALT_DISPlAY
lib_deps = ${esp8266.lib_deps}
monitor_filters = esp8266_exception_decoder

I search a lot on internet and on the forum but always found different answer that not work.

[env:franz_d1_mini]
board = d1_mini
platform = ${common.platform_wled_default}
platform_packages = ${common.platform_packages}
upload_speed = 921600
board_build.ldscript = ${common.ldscript_4m1m}
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp8266}
  -DPIO_FRAMEWORK_ARDUINO_MMU_CACHE16_IRAM48
  -D USERMOD_FOUR_LINE_DISPLAY
  -D USERMOD_ROTARY_ENCODER_UI
  -D USE_ALT_DISPlAY
lib_deps = ${esp8266.lib_deps}
  olikraus/U8g2 @ ^2.34.22
monitor_filters = esp8266_exception_decoder
1 Like

Thank you for the help, but no usermod found in the usermod page, could be a VScode problem?
Or I need to change also the default_envs name?

Env has posted is compiling. You not reading messages. Run compile few times.

Changing the default_envs name solve theproblem and now I can compile with no issue, I think that the “how to compile” guide on kno.wled.ge must be change.
Thank you anyway for the support