arduino/Arduino — pull request #123 by ffissore (2012-10-31 17:24:47+00:00)
Title: Boards cputype

this patch improves the boards menu by adding custom, boards.txt driven menus

custom menus are defined at the top of the file
```
menu.cpu=Processor
```
i.e.:
```
menu.MENU_ID=label
```

When a board comes in different setups, you can group the common properties using the old syntax, for example
```
atmegang.name=Arduino NG or older

atmegang.upload.tool=avrdude
atmegang.upload.protocol=arduino
```

and then split the different params into different groups
```
menu.cpu.atmegang.atmega168=ATmega168
menu.cpu.atmegang.atmega168.upload.maximum_size=14336

menu.cpu.atmegang.atmega8=ATmega8
menu.cpu.atmegang.atmega8.upload.maximum_size=7168
```
i.e.:
```
menu.MENU_ID.BOARD_ID.GROUP_ID=label of the group for this board
menu.MENU_ID.BOARD_ID.GROUP_ID.parameters=parameter value
```

New syntax is compatible with the previous, so old, custom boards.txt will keep on working as usual