1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

32 Commits

Author SHA1 Message Date
Gerson Fernando Budke
3b9368a99e
cpu/avr8: Enable PM periph to all SoC
This refactor the current xmega PM peripheral to avr8 common and extend
PM to cpus families.

Signed-off-by: Gerson Fernando Budke <nandojve@gmail.com>
2023-12-01 14:12:23 +01:00
Marian Buschsieweke
04ab5a74f3
cpu/atmega_common: implement periph/gpio_ll{,_irq}
Co-authored-by: Gunar Schorcht <gunar@schorcht.net>
Co-authored-by: Alexandre Abadie <alexandre.abadie@inria.fr>
2022-05-02 14:44:55 +02:00
Benjamin Valentin
96273b4df0 cpu/atmega_common: use TIMER_CHANNEL_NUMOF 2020-06-24 00:45:35 +02:00
Marian Buschsieweke
dfa6863275
cpu/atmega{1281,2560}: Relocate default timer config 2020-05-28 16:27:08 +02:00
Robert Hartung
57705d4386 cpu/atmega2560: pin change interrupts 2019-08-01 09:35:35 +02:00
Francisco Acosta
b2fc9b197e cpu/atmega*: remove unnecessary code (already factored out)
cpu.c and startup.c were redundant in most platforms, except for
atmega256rfr2. The common code is now in cpu/atmega_common/cpu.c
and cpu/atmega_common/startup.c. cpu_conf.h is also removed as
it's now in cpu/atmega_common/include thus shared by all atmega
based platforms.
2018-11-02 16:23:48 +01:00
Francisco Acosta
8776df7423 cpu/atmega*: move EEPROM definitions to periph_cpu.h 2018-08-15 15:27:03 +02:00
Francisco Acosta
1aed925ca8
Merge pull request #8951 from ZetaR60/RIOT_atmega_ext_int_clarity
cpu/atmega_common: external interrupt fix and refactor
2018-05-30 16:33:34 +02:00
Matthew Blue
737c46367a cpu/atmega2560: external interrupt refactor 2018-05-29 11:24:15 -04:00
f3c3818fa7 cpu/atmega*: configure eeprom 2018-05-24 14:07:55 +02:00
Robert Hartung
914025973d cpu/atmega: use power.h defines instead of direct register access 2017-09-14 14:04:14 +02:00
dnahm
fe15574c6b Adapted to comments 2017-08-31 16:11:34 +02:00
5dc834a72d doxygen: fix typo on word 'successfully' 2017-08-29 15:12:44 +02:00
Hauke Petersen
9aad0e528f cpu: cleanup unused/umimplemented isr stack code
- removed ISR_STACKSIZE define where unused (set to 0)
- removed thread_arch_isr_stack_usage(), thread_arch_isr_stack_start(),
  and/or thread_arch_isr_stack_pointer() where not implemented
2017-05-12 18:07:08 +02:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
kYc0o
be70924800 cpu/atmega2560: update atmega2560 CPU code to use atmega_common code 2016-06-22 14:25:10 +02:00
kYc0o
2adf76c977 Merge pull request #5537 from kYc0o/reworked_uart_wfix
cpu/atmega2560: reworked UART (from #5026)
2016-06-20 00:19:57 +02:00
Hauke Petersen
5fc67747e6 cpu/atmega2560: fixed typo in reg definition 2016-06-09 14:49:44 +02:00
Hauke Petersen
e57d511499 cpu/atmega2560: added CMSIS style reg defs for UART 2016-06-08 18:32:17 +02:00
zhuoshuguo
1cbe79a373 CPU: fix include header guards
Fix cpu/lpc2387/include/lpc2387.h
2016-06-08 16:38:20 +02:00
MohmadAyman
720136491a cpu: unify naming of ISR stacksize macro 2016-06-01 22:47:34 +02:00
Hauke Petersen
9e4c08d89c cpu/atmega2560: added CMSIS style defs for timers 2016-04-07 19:04:01 +02:00
Hauke Petersen
d05bf879a6 cpu/atmega2560: added SPI driver 2016-03-09 18:34:42 +01:00
Hauke Petersen
d43dc9182f cpu: s/GPIO(x,y)/GPIO_PIN(x,y)/ 2015-10-13 14:59:54 +02:00
d82ca16b5a cpu: atmega2560: drop obsolete hwtimer support 2015-09-16 10:58:52 +02:00
René Herthel
d05151fdef cpu/mega2560: initial import of a gpio driver 2015-09-07 14:48:15 +02:00
f2825d2b55 cpu: atmega2560: remove obsolete UART0_BUFSIZE define 2015-09-04 17:46:23 +02:00
Hauke Petersen
4d34100585 cpu/atmega2560: adapted to changed GPIO driver IF 2015-06-12 19:10:49 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
Hinnerk van Bruinehsen
7b70f64d84 cpu: atmega2560: Initial import 2014-08-27 16:39:23 +02:00