problems about add a new board to arduino ide

I want to add a new board to arduino ide, I created board.txt and platform.txt. But when compiling, it didn't find my toolchain. An error like this: no such file or directory. Head files also have this problems.

Juraj:
my_boards/README.MD at master · JAndrassy/my_boards · GitHub

Could I take a look at your .json file. Besides, where is your toochain?

huabinwu:
Could I take a look at your .json file. Besides, where is your toochain?

it is not a boards package with core and tools. only boards definitions which refer official packages for core and tools. read the readme and the linked documentation.

here is an example of a boards package which refers the Arduino boards packages for core and tools