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
67ab640caf
cpu/atmega2560: Add Kconfig symbols
2020-06-17 12:44:30 +02:00
Marian Buschsieweke
dfa6863275
cpu/atmega{1281,2560}: Relocate default timer config
2020-05-28 16:27:08 +02:00
26143aa38d
cpu/atmega2560: 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
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
b22832b4cd
cpu/atmega2560: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega2560
TODO: update "board not enough memory".
2018-09-05 12:20:20 +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
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
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
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
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
560a509036
make: remove trailing slash from BINDIR variable
2016-10-18 23:27:59 +02:00
Joakim Nohlgård
37eece1961
cpu/atmega2560/startup.c: Add __attribute__((used)) to init functions
2016-08-10 16:18:29 +02:00
kYc0o
be70924800
cpu/atmega2560: update atmega2560 CPU code to use atmega_common code
2016-06-22 14:25:10 +02:00
kYc0o
17c78e70e2
cpu/atmega_common: add common atmega CPU code to atmega_common
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
kYc0o
7f0a1a7b5a
cpu/atmega2560: ISR UART typo
2016-06-09 14:50:06 +02:00
Hauke Petersen
5fc67747e6
cpu/atmega2560: fixed typo in reg definition
2016-06-09 14:49:44 +02:00
Hauke Petersen
ccf7cde82d
cpu/atmega2560: reworked UART implementation
2016-06-08 18:32:17 +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
23b75c421f
cpu/atmega2560: reworked timer driver
2016-04-07 19:04:01 +02:00
Hauke Petersen
9e4c08d89c
cpu/atmega2560: added CMSIS style defs for timers
2016-04-07 19:04:01 +02:00
c3f7186d4e
unify usage of inline assembly
2016-03-31 22:23:35 +02:00
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
2016-03-20 16:47:34 +01:00
Hauke Petersen
c36efa0f96
cpu/atmega2560: adapted GPIO driver
2016-03-17 14:39:11 +01:00
Hauke Petersen
d05bf879a6
cpu/atmega2560: added SPI driver
2016-03-09 18:34:42 +01:00
Peter Kietzmann
c8829a49b8
Merge pull request #4838 from haukepetersen/fix_periph_timerarg
...
drivers/timer: added callback argument
2016-03-01 08:55:54 +01:00
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
2016-02-29 14:45:00 +01:00
9082273746
core: header cleanup
2016-02-28 22:46:28 +01:00
Joakim Nohlgård
819d619bad
cpu/atmega2560: Update timer_init to match API change
2016-02-13 21:29:36 +01:00