Error when running project with custom board

Hello, I have been trying to bring an arduino project of mine into platformio, but I am running into some trouble when it comes to my custom board, when I try to run the project I receive this error

*** ValueError invalid literal for int() with base 10: ''' trying to evaluate ${__get_board_f_flash(__env__)}'

File "C:\Users\aluno\.platformio\packages\framework-arduinoespressif32\tools\platformio-build.py", line 99, in generate_bootloader_image

my plaformio.ini file:

[env:sanepar_custom_board]
platform = espressif32
board = sanepar_custom_board
framework = arduino
board_build.variant = sanepar_custom_board
upload_speed = 921600
monitor_speed = 115200

lib_deps =
    mcci-catena/MCCI LoRaWAN LMIC library@^5.0.1
    mulmer89/EZO I2C Sensors@2.0.0+640de15
    fbiego/ESP32Time@^2.0.6

when I run pio device list it says that my board has 0MHz of frequency

Then what is the content of the sanepar_custom_board.json?