Commit Graph

9 Commits

Author SHA1 Message Date
Karl Palsson
7b88c2d9d2 samd: doc: links and spelling
Fixes all doxygen warnings for samd. yay
2021-02-03 23:23:30 +00:00
Karl Palsson
49327dcdc4 samd: port: fix coding style
We always use braces.
2021-02-03 23:23:30 +00:00
Karl Palsson
458a0553a8 samd: overhaul doxygen 2021-02-03 23:23:28 +00:00
Karl Palsson
b57dbc5429 samd: enable new port file 2021-02-03 23:08:08 +00:00
Gwenhael Goavec-Merou
d11680638b sam:d: port: complete port (define, configuration and access) 2021-02-03 22:30:07 +00:00
Karl Palsson
7be50a5e75 make: use $(PREFIX)gcc instead of $(PREFIX)-gcc
The leading - makes it rather inconsistent with the majority of other
projects around the world.  Use the form everyone else uses.
To solve this, properly pass prefix to inner makes as was always
intended.

Fixes: https://github.com/libopencm3/libopencm3/issues/1058
2019-06-07 21:25:46 +00:00
Karl Palsson
9a05dcb6c0 ld scripts: drop duplication of standard sections
Instead of every "simple" target having their own duplicate file with
all the section mappings, just provide a single, simple,
"cortex-m-generic.ld" that works with our startup code and any simple
rom/ram system.  This also drops the pointless copying of files all over
the place.  Using -L flags properly is sufficient, and the standard file
is now in the root of the library already.
2018-04-28 21:12:27 +00:00
Karl Palsson
b860319785 make: use std=c99 everywhere by default.
setting "STANDARD_FLAGS=-std=c11" or similar will let you try out
alternate compilation modes.

Fixes https://github.com/libopencm3/libopencm3/issues/773
2017-06-08 23:01:45 +00:00
Karl Palsson
53de290fda atmel samd: Basic framework.
Thoughts: should this be a "sam0" family rather than samd?  (Much like Atmel's
own software package lumps all the cortex-m0+ devices in one family)

This was enough to get a basic blinky working at least.
2016-08-18 22:08:58 +00:00