Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
sunny4410607y@rookiemaverick it shows the following error
sample.c:5:20: fatal error: avr/io.h: No such file or directory -
sunny4410607y@rookiemaverick I have pasted all files in include folder and now it is showing these error
-
@sunny44 oh boy. Please state what are you trying to do? Which hardware? Everything please.
-
sunny4410607y@rookiemaverick
Okk
I'm trying to make a simple tool for windows that compile embedded c program in hex file and burn it on atMega8 controller via USBasp -
740027807yYou're trying to make a tool for a proces you don't really understand? It seems like you should research that first. Otherwise you'll probably have to start from scratch once you figure out how it all comes together and notice some flaws in the original, uninformed approach.
P.S.: You need AVR-GCC. That's why I said you should mind the architecture. Intel HEX files don't tell you anything about the architecture, you'd need to know that yourself. -
sunny4410607y@7400 Thanks I used avr-gcc and its working successfully.
I think I should do more research because I'm new in this field
Does anybody knows a command line tool that convert C file (sample.c) to hex file (sample.hex).
I don't need any GUI tool only command line tool.
question
c to hex