# Debug esp32 Micromod in Platformio

**URL:** <https://community.sparkfun.com/t/debug-esp32-micromod-in-platformio/46462>\
**Category:** MicroMod\
**Tags:** processor\
**Created:** [November 5, 2023, 7:08am UTC](https://community.sparkfun.com/t/debug-esp32-micromod-in-platformio/46462 "2023-11-05T07:08:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RonK](https://avatars.discourse-cdn.com/v4/letter/r/bbce88/32.png) [@RonK](https://community.sparkfun.com/u/RonK)\
**Post date:** [November 5, 2023, 7:08am UTC](https://community.sparkfun.com/t/debug-esp32-micromod-in-platformio/46462/1 "2023-11-05T07:08:11Z")

</div>

I have my ESP-Prog board connected to a micromod datalogger board and Platformio configured with the correct driver. However, compiling for debugging I get the message:

embedded:startup.tcl:26: Error: Can’t find board/None

in procedure ‘script’

at file “embedded:startup.tcl”, line 26

.pioinit:11: Error in sourced command file:

Here is the ini file:

[env:sparkfun\_esp32micromod]

platform = espressif32

board = sparkfun\_esp32micromod

framework = arduino

build\_flags = -I …/Sensors

upload\_port = com10

monitor\_speed = 115200

debug\_tool = esp-prog

upload\_protocol = esp-prog

debug\_init\_break = tbreak setup

lib\_deps =

SPI

It would seem the Sparkfun micromod esp32 board file is not setup for debugging in Platformio. Is there a recommended fix for this or must I go look for other esp32 boards that are supported.

Regards, Ron
