benpicco
09f647eee2
Merge pull request #12693 from maribu/neopixel-atmega
...
drivers: Added WS281x RGB LED driver for ATmega platform
2019-11-22 22:36:36 +01:00
Yegor Yefremov
cf65070b06
doxygen/GPIO: don't include overridden typedefs
...
Add missing #ifndefs to overridden GPIO typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:33 +01:00
Yegor Yefremov
fa3b0ff04b
doxygen/SPI: don't include overridden typedefs
...
Add missing #ifndefs to overridden SPI typedefs.
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
2019-11-15 10:35:32 +01:00
Marian Buschsieweke
ba26aed107
cpu/atmega_common: Restructured code
...
Moved macros and static inline helper functions needed to access ATmega GPIOs
to cpu/atmega_common/include/atmega_gpio.h in order to reuse them for the
platform specific low level part of the Neopixel driver.
2019-11-12 20:15:59 +01:00
Benjamin Valentin
5b6d56efd5
atmega_common: provide CPU ID for every device
...
ATmega128RFA1/ATmega256RFR2 do not have a unique CPU ID.
Use the RC oscillator callibration byte as an impromptu CPU ID and rely
on bootlader constants present on all ATmega families for the remaining
bytes.
This way we can provide a faux CPU ID on all ATmega MCUs and typical hobbyists
with no access to JTAG adapters or high voltage programmer capable of writing
the user signature have a good chance that the CPU IDs of their device do not collide.
2019-11-08 16:58:03 +01:00
d22404b8b7
cpu/atmega_common: add implementation for watchdog
2019-11-07 11:35:29 +01:00
Marian Buschsieweke
314184adb5
cpu: Platform specific C11 atomics compat headers
...
Added headers to define platform specific sizes and types for the C11 atomics
compatibility module for C++.
2019-10-24 23:08:36 +02:00
Gunar Schorcht
4b009649c6
cpu/atmega_common: changes for common heap command
2019-09-05 09:20:55 +02:00
Thomas Perrot
44803ea4fd
cpu/atmega32u4: add support for ATmega32U4
2019-05-24 15:12:47 +02:00
Sebastian Meiling
0edf76d362
Merge pull request #9984 from kaspar030/refactor_atmega_libc
...
cpu/atmega_common: refactor AVR libc code into module
2019-01-22 08:41:37 +01:00
7313525035
atmega_common: refactor avr-libc-extra into avr_libc_extra module
2019-01-21 14:37:08 +01:00
c97bedcd8b
cpu/atmega_common: define eeprom clear byte value
2018-12-04 11:24:57 +01:00
Victor Arino
2ebb187ca9
cpu/atmega-common: PWM implementation
...
Implementation of PWM with 8-bit timers
2018-11-28 16:00:54 +01:00
Victor Arino
01420152de
cpu/atmega-common: add maps for 8-bit timers
2018-11-28 15:58:58 +01:00
PeterKietzmann
8d11ca417f
cpu/atmega_common: add mega2560 puf_sram feature
2018-11-20 09:45:32 +01:00
Francisco Acosta
4f28407af8
cpu/atmega_common: use the same cpu_conf for all atmega based boards
...
Removes redundancy of code since all the boards were defining
the same variables. Moreover, the stack sizes are unified per
architecture, as required.
2018-11-02 16:23:48 +01:00
Laurent Navet
c7fed1526c
cpu/atmega_common: adapt to new i2c api
...
Rework atmega i2c to match new i2c interface.
Only i2c_read_bytes and i2c_write_bytes are implemented.
2018-07-25 12:01:39 +02:00
Francisco Acosta
23d176f46b
Merge pull request #8857 from ZetaR60/RIOT_atmega_time_dot_h
...
cpu/atmega_common: Use updated time.h
2018-06-28 22:29:20 +02:00
Josarn
fe92771372
cpu/atmega_common/include/cpu.h: uncrustified
2018-06-14 21:47:33 +02:00
Josarn
9b631170cb
cpu/atmega_common: uncrustified
2018-06-14 21:47:33 +02:00
Josarn
80b02e5268
cpu/atmega_common: exit_isr thread_yield
2018-06-14 21:47:33 +02:00
Matthew Blue
dfa8fb919d
sys/timex: fix incompatible atmega time.h
2018-05-28 13:04:55 -04:00
Matthew Blue
442634728f
cpu/atmega_common: add struct timespec to time.h
2018-05-28 13:04:55 -04:00
Matthew Blue
b597700a67
cpu/atmega_common: ignore format of avr-libc in CI
2018-05-28 13:04:55 -04:00
Matthew Blue
2a92d480ea
cpu/atmega_common: Use updated time.h from avr-libc-2.0.0
2018-05-28 13:04:55 -04:00
3f1657ffbb
Merge pull request #8952 from ZetaR60/RIOT_atmega_graceful_clock
...
boards/common/atmega: gracefully handle CKDIV8 fuse
2018-05-14 16:11:17 +02:00
Matthew Blue
2979626ef6
boards/common/atmega: gracefully handle CKDIV8 fuse
2018-05-02 14:05:33 -04:00
Matthew Blue
ac2b643308
cpu/atmega_common: return to non-interrupt context swaps
2018-04-27 14:13:34 -04:00
2866a26a24
Merge pull request #8808 from Josar/atmega_stackPointer
...
cpu/atmega_common: use __temp_reg__
2018-04-09 12:05:29 +02:00
391cc83881
cpu/atmega_common: provide common stdio initialization
2018-04-03 14:18:32 +02:00
Josarn
2ef1001ec7
cpu/atmega_common: use __temp_reg__
2018-03-30 10:22:32 +02:00
Josarn
d82f1eba4c
atmega: add last instruction print
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
2018-03-06 14:57:18 +01:00
lebrush
c054e38156
Merge pull request #7590 from lebrush/fix/atmega-gpio-misc
...
GPIO interrupt fixes for atmega328p
2017-09-15 11:59:11 +02:00
Victor Arino
294594908a
cpu/atmega_common: support for flank low
2017-09-14 20:40:13 +02:00
Robert Hartung
914025973d
cpu/atmega: use power.h defines instead of direct register access
2017-09-14 14:04:14 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
Joakim Nohlgård
738876a98f
cpu/atmega_common: Improve POSIX headers
2017-03-07 17:59:57 +01:00
Hauke Petersen
ef3cdde903
cpu/atmega_common: fixed doxygen issues
2017-03-07 08:55:15 +01:00
Hauke Petersen
f5595693f6
cpu/atmega_common: adapted SPI driver
2017-01-25 16:46:05 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Cenk Gündoğan
9ef148e931
cpu/atmega_common: include time.h for time_t
2016-10-20 15:33:01 +02:00
Jon Thacker
2aec999900
cpu/atmega_common: generalize register/peripheral definitions
...
Makes AVR register definitions dependent on what avr-libc defines
for a given MCU, rather then duplicating that effort here.
Definitions done in this way are based on functionality provided,
rather than a specific MCU device.
2016-07-08 10:52:22 -05:00
kYc0o
62a9773a9c
boards/waspmote-pro: add support for Waspmote PRO v1.2
2016-07-05 13:05:12 +02:00
kYc0o
17c78e70e2
cpu/atmega_common: add common atmega CPU code to atmega_common
2016-06-22 14:25:10 +02:00
zhuoshuguo
1cbe79a373
CPU: fix include header guards
...
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
28d9eab420
cpu: atmega_common_ add off_t to sys/types.h
2015-11-26 20:41:36 +01:00
Joakim Gebart
199528d3fb
cpu/atmega: remove dINT/eINT definitions
2015-09-19 10:35:58 +02:00
7fcb2b718e
cpu: atmega: implement irq_arch_in
2015-09-14 10:47:28 +02:00
Oleg Hahm
f3245cecac
core: panic: last instruction's address for assert
2015-09-11 23:23:31 +02:00
Oleg Hahm
d7161b6d4b
cpu: inline function to print instruction register
2015-09-11 23:23:31 +02:00