MrKevinWeiss
e0fdc3c16c
*Kconfig*: Modify Kconfig to remove dep model
2024-03-27 10:28:12 +01:00
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
Marian Buschsieweke
62d6a560b1
cpu/avr8_common: Fix link with binutils > 2.35.2
...
The xfa.ld script is incompatible with binutils > 2.35.2 and results
in firmwares that wont boot. Sadly, I couldn't figure out an elegant
way to fix the issue. Instead, I modified the linker script provided
by binutils to also include XFA.
2021-10-13 16:37:19 +02:00
Benjamin Valentin
236c4db83e
cpu/atmega*: drop ldscripts_compat
...
Those were only needed with very old toolchains.
These days they cause more confusion than benefit, so drop them.
2021-01-22 19:05:20 +01:00
Benjamin Valentin
96273b4df0
cpu/atmega_common: use TIMER_CHANNEL_NUMOF
2020-06-24 00:45:35 +02:00
Leandro Lanzieri
981aecf9cc
cpu/atmega328p: Add Kconfig symbols
2020-06-17 10:52:24 +02:00
Marian Buschsieweke
200afc46fa
cpu/atmega328p: Relocate default timer config
2020-05-28 16:27:07 +02:00
97e49b385c
cpu/atmega328p: fix typos
2019-11-23 22:39:35 +01:00
629003d042
cpu/atmega: cleanup dependencies handling
2019-10-18 12:40:34 +02:00
Robert Hartung
57705d4386
cpu/atmega2560: pin change interrupts
2019-08-01 09:35:35 +02:00
Gaëtan Harter
40e7dd3e6b
cpu/atmega*/ldscripts_compat: add command to generate ldscript
...
Add the command to generate the ldscript in the documentation.
It was only in the commit message before and had a typo 's/--mmcu/-mmcu/'.
2019-06-03 16:11:19 +02:00
Francisco Acosta
2bdcdddd76
cpu/atmega*: make use of common atmega.inc.mk and remove redundancies
...
Everything is now defined in atmega.inc.mk, following the common
RIOT-like reusability of rules and variables (e.g. cortexm.inc.mk).
2019-02-05 17:12:03 +01: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
cladmi
c6a45e4082
cpu/atmega328p: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega328p
TODO: update "board not enough memory".
2018-09-05 12:20:26 +02:00
Gaëtan Harter
56a1ac4f2b
cpu/atmega: add avr-binutils 2.26 linkerscripts
...
Generated by extracting the output of
avr-gcc -Wl,--verbose --mmcu=$(CPU)
With avr-binutils 2.26
2018-09-05 12:08:33 +02: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
0b2d620161
cpu/atmega328p: external interrupt refactor
2018-05-29 11:24:16 -04:00
f3c3818fa7
cpu/atmega*: configure eeprom
2018-05-24 14:07:55 +02:00
86665b71bf
cpu: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
1e52f8d292
cpu: atmega: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
Robert Hartung
914025973d
cpu/atmega: use power.h defines instead of direct register access
2017-09-14 14:04:14 +02:00
b2f40534b1
Merge pull request #7541 from lebrush/fix/atmega_typo
...
Atmega fix typo and empty space
2017-09-01 20:29:12 +02:00
dnahm
fe15574c6b
Adapted to comments
2017-08-31 16:11:34 +02:00
Victor Arino
7d3fc14c3e
cpu/atmega328p: correct port inline
2017-08-30 20:08:35 +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
Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
2017-01-25 16:46:46 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
0194091673
remove obsolete lpm code
2017-01-12 11:24:15 +01:00
Jon Thacker
c62803d243
atmega_common: disable interrupts prior to rebooting
...
If the watchdog is being reset in another thread, then
the reboot will never take place. This commit disables interrupts prior
to setting the watchdog timer to 250ms. This functionallity was common
to all Atmega CPUs, so it was moved to atmega_common.
2016-12-20 17:22:39 -06:00
Laurent Navet
3f0e1862a8
cpu/atmega328p: add atmega328p mcu support
...
add atmega328p support with:
uart, timer, spi and gpio
2016-09-02 22:26:19 +02:00