EEVblog Electronics Community Forum
A Free & Open Forum For Electronics Enthusiasts & Professionals
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
This topic
This board
Entire forum
Google
Bing
Home
Help
Search
About us
Links
Login
Register
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
Implementing Peter Fleury's UART library
« previous
next »
Print
Search
Pages: [
1
]
Go Down
Author
Topic: Implementing Peter Fleury's UART library (Read 1430 times)
0 Members and 1 Guest are viewing this topic.
Simon
Global Moderator
Posts: 17814
Country:
Did that just blow up? No? might work after all !!
Implementing Peter Fleury's UART library
«
on:
May 27, 2018, 08:44:56 pm »
So my knowledge of C is not the most robust but Peters library looks well documented. However I see that before I even give it a go there is a "makefile.uart".
OK before i try and
what do I do with this file? Everything else looks fine, a .c file a .h file and a sample program.
Logged
ataradov
Super Contributor
Posts: 11248
Country:
Re: Implementing Peter Fleury's UART library
«
Reply #1 on:
May 27, 2018, 08:52:37 pm »
Typically you include that into your main Makefile. Or at least look at what "unusual" compiler options are passed in that makefile.
In reality it is probably just a part of a big compartmentalized build system, and you can just use the files in your project without even looking at this file.
Logged
Alex
Simon
Global Moderator
Posts: 17814
Country:
Did that just blow up? No? might work after all !!
Re: Implementing Peter Fleury's UART library
«
Reply #2 on:
May 27, 2018, 08:56:22 pm »
See attached. I use Atmel Studio so I'm not sure what to do with this if anything.
Logged
ataradov
Super Contributor
Posts: 11248
Country:
Re: Implementing Peter Fleury's UART library
«
Reply #3 on:
May 27, 2018, 08:58:15 pm »
Don't do anything with is, just add files to your project. If the code does not compile and complains about some defines missing (like F_CPU), then just define them yourself in the AS project settings.
Logged
Alex
Simon
Global Moderator
Posts: 17814
Country:
Did that just blow up? No? might work after all !!
Re: Implementing Peter Fleury's UART library
«
Reply #4 on:
May 27, 2018, 09:00:31 pm »
OK thanks
Logged
Print
Search
Pages: [
1
]
Go Up
« previous
next »
Share me
Smf
EEVblog Electronics Community Forum
»
Electronics
»
Microcontrollers
»
Implementing Peter Fleury's UART library
There was an error while thanking
Thanking...
EEVblog Main Site
EEVblog on Youtube
EEVblog on Twitter
EEVblog on Facebook
EEVblog on Odysee