OK So I have been reading all the stuff about editing the boards.txt and then having it take effect by Deleting the arduino-ide folders and restarting and everything like that..
So I am VERY Stumped now and cannot figure out how to get the system to read new Modifications.
History:
I did a custom board package with some board alterations in IDE 1.8.6 and all went fine
Updated to IDE 2.0.3 and all went OK the board changes migrated.
Updated to IDE 2.2.1 same everything is fine.
Went o make a boards.txt change to the custom board package in my /users/...?/Documents/arduino/Arduino15/packages/custom arduino/hardware/avr/1.8.6/boards.txt file and those changes would not take on restart..
So I deleted the arduino-ide from the user /users/...?/Library/Application Support/
Tried again no luck.
So I deleted the arduino-ide from the user /users/...?/Library/Application Support/ as well as the "Hidden" /users/...?/.arduino-ide
Tried again no luck...
So I deleted everything Arduino, Downloaded a new copy and installed fresh.. Again without anything in any of the normal pathways including removing ALL of the Sketchbook folders.. The 2.2.1 IDE opened with the OLD boards menus..
Where on this computer is the file that is telling the IDE what the boards are as I am having no luck finding it.. as it is even populating a NEW install..
OK I found it, Turns out the BASE Arduino 15 folder is where the files were..
I had an Arduino 15 folder in User/Documents and that is the one that I THOUGHT was controlling the boards turns out the one I wanted was in User/Library/Arduino15.. It was buried I didn't see it and was unsuccessful in searching it out until I found it listed in the Arduino-Cli settings and did a direct Goto..
So I had the following Files -
/Users/...?/Library/Application Support/arduino-ide -- NOT the culprit
/Users/...?/.arduino-ide -- NOT the culprit
/Users/...?/Documents/arduino/Arduino15/packages/ -- NOT the culprit
/Users/...?/Library/Arduino15/packages/ -- THIS was the file location I was looking for and what solved my issue
So all is good now. Once I placed the Custom boards back into this location all was added back along with the changed needed.
Congratulations on finding the cause of the problem! I'm glad it is working now. Thank you for taking the time to post an update.
FYI, it is possible to install custom boards platforms in the Arduino sketchbook folder.
Although making manual installations of custom platforms there is possible, the /Users/...?/Library/Arduino15/packages/ folder is intended to be used only for the installations made automatically by the Arduino IDE Boards Manager.
The manual platform installations are placed under a hardware subfolder in the sketchbook folder. The folder structure is like this:
OK so I had similar but was missing (well wrong name) the hardware/ level in the Sketchbook folder.. I had it named packages/. so that is probably where and why it wasn't showing up and was a bit confusing as to where things were..