<commit_before>/**
@defgroup    boards_atmega256rfr2-xpro Atmega256RFR2 Xplained Pro
@ingroup     boards
@brief       Support for the Atmega256RFR2 Xplained Pro board

### General information

The [Atmega256RFR2 Xplained Pro](https://www.microchip.com/DevelopmentTools/ProductDetails/ATMEGA256RFR2-XPRO)
is an evaluation kit by Microchip for their ATmega256RFR2 microcontroller.

### Flash the board

You can flash the board using the on-board EDBG programmer via JTAG. Avrdude has
support for programming an AVR via EDBG with its xplainedpro programmer:

```
make BOARD=atmega256rfr2-xpro -C examples/hello-world flash
```

### Accessing STDIO via UART

STDIO can be accessed through the USB connector. The on-board UART-USB
adapter is not affected by flashing. It shows up as /dev/ttyACM0 on Linux.
It will be used automatically with `make term`:
```
make BOARD=atmega256rfr2-xpro -C examples/hello-world term
```

*/<commit_msg>boards/atmega256rfr2-xpro: document how to configure the fuses<commit_after>/**
@defgroup    boards_atmega256rfr2-xpro Atmega256RFR2 Xplained Pro
@ingroup     boards
@brief       Support for the Atmega256RFR2 Xplained Pro board

### General information

The [Atmega256RFR2 Xplained Pro](https://www.microchip.com/DevelopmentTools/ProductDetails/ATMEGA256RFR2-XPRO)
is an evaluation kit by Microchip for their ATmega256RFR2 microcontroller.

### Flash the board

You can flash the board using the on-board EDBG programmer via JTAG. Avrdude has
support for programming an AVR via EDBG with its xplainedpro programmer.

First, make sure the default fuse settings are correct. In particular, the low
byte fuse are enabling the use of the on-board 16MHz external oscillator.<br/>

WARNING: setting the fuses incorrectly can brick your board!
```
avrdude -p m256rfr2 -c xplainedpro -U efuse:w:0xFF:m
avrdude -p m256rfr2 -c xplainedpro -U hfuse:w:0x1F:m
avrdude -p m256rfr2 -c xplainedpro -U lfuse:w:0xFF:m
```

To flash the board, just call `make` from an application directory with the
`flash` target:

```
make BOARD=atmega256rfr2-xpro -C examples/hello-world flash
```

### Accessing STDIO via UART

STDIO can be accessed through the USB connector. The on-board UART-USB
adapter is not affected by flashing. It shows up as /dev/ttyACM0 on Linux.
It will be used automatically with `make term`:
```
make BOARD=atmega256rfr2-xpro -C examples/hello-world term
```

*/
{'fraction_non_alphanumeric': 0.07650501672240803, 'fraction_numerical': 0.03678929765886288, 'mean_word_length': 4.643867924528302, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '343403', 'n_tokens_mistral': 861, 'n_tokens_neox': 767, 'n_words': 288}