An open API service indexing awesome lists of open source software.

https://github.com/obsfx/avr-ctohex-script

A dead simple python script to create .hex files for AVR MCUs from single file.
https://github.com/obsfx/avr-ctohex-script

Last synced: 9 months ago
JSON representation

A dead simple python script to create .hex files for AVR MCUs from single file.

Awesome Lists containing this project

README

          

A simple python script to create hex files quickly from single file with a single command for quick experiments. This script only executes this command chain on terminal:

```
avr-gcc -Wall -g -Os -mmcu= -o .bin .c
avr-size -C .bin
avr-objcopy -j .text -j .data -O ihex .bin .hex
```

so avr compilers and tools have to be installed before using this script.

**Example**

```
python avr_ctohex.py
```

```
python avr_ctohex.py attiny85 blink.c
```