Multiple board's configuration options

Hello everyone,

I'm not sure how to classify this topic, so I'll open it here (Project Guidance).

I noticed that some adafruit boards have lots of options to configure it, like clock, debug, etc.

I've trying to mimic this menu changing the boards.txt and the plataform.txt but didn't get me anywhere.

Does anyone know how to show those options? I'm really curious about this.

https://arduino.github.io/arduino-cli/latest/platform-specification/#custom-board-options

you must restart IDE to apply changes in boards.txt

Thank you! In the end, I was so focused on the board that i missed the menu itens in the begining of the boards.txt.

We must first define a set of menu.MENU_ID=Text properties. Text is what is displayed on the GUI for every custom menu we are going to create and must be declared at the beginning of the boards.txt file: