Skip to content

Target microcontroller directly instead of an arduino board #318

Answered by Rahix
derchr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi!

All examples I see in this repository seem to target a board (for example Arduino Uno).

That's just because most people will be using one of those boards so that's what we tried making the easiest to get started with. Also, it is hard to write examples against a generic MCU, because you have no clue what peripherals are connected and could be used...

Is it possible or recommended to directly target a microcontroller such as atmega328p?

It really depends on the usecase I'd say. Is it a one-off application for a custom design? Then I'd just go with the HAL (atmega328p-hal in your case). Is it a custom board for which you intend to write multiple programs? In this case I would sugges…

Replies: 10 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Rahix
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #125 on September 02, 2022 10:43.