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.
- Host: GitHub
- URL: https://github.com/obsfx/avr-ctohex-script
- Owner: obsfx
- Created: 2019-07-18T22:22:11.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T22:43:36.000Z (almost 7 years ago)
- Last Synced: 2025-01-13T22:18:45.652Z (over 1 year ago)
- Language: Python
- Size: 4.49 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```