Skip to content

Boards cputype #123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Nov 4, 2012
Merged

Boards cputype #123

merged 6 commits into from
Nov 4, 2012

Conversation

ffissore
Copy link
Contributor

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

@cmaglie cmaglie merged commit d82c8df into arduino:ide-1.5.x Nov 4, 2012
tbowmo pushed a commit to tbowmo/Arduino that referenced this pull request Jul 14, 2016
Some changes for the DallasTemperatureSensors.ino and BatteryPoweredSensor.ino
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants