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
Leandro Lanzieri
1035620b38
cpu/atmega1281: fix pcint
2021-11-17 15:05:25 +01: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
ed0743ddb3
cpu/atmega1281: Add Kconfig symbols
2020-06-22 17:09:03 +02:00
Marian Buschsieweke
dfa6863275
cpu/atmega{1281,2560}: Relocate default timer config
2020-05-28 16:27:08 +02:00
bc7b95aee3
cpu/atmega1281: 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
0fc55cdaf9
cpu/atmega1281: pin change interrupts
2019-08-01 09:23:43 +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
ef20b035bd
cpu/atmega1281: configure RAM and ROM length
...
Info taken from https://www.microchip.com/wwwproducts/en/atmega1281
TODO: update "board not enough memory".
2018-09-05 12:20:23 +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
a61aff6404
cpu/atmega1281: 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
705f0c768a
cpu: atmega1281: asm -> __asm__
2016-11-15 14:59:36 +01:00
Martine Lenders
3422190c51
Merge pull request #5957 from OlegHahm/cpu_stack_size_cleanup
...
cpu: minor improvements for MSP430 and AVR
2016-10-27 14:24:11 +02:00
Oleg Hahm
69b703729f
cpu: make standard stack sizes configurable
2016-10-27 11:46:47 +02:00
Oleg Hahm
a8004a8b3a
cpu: some cosmetics
2016-10-27 11:46:47 +02:00
560a509036
make: remove trailing slash from BINDIR variable
2016-10-18 23:27:59 +02:00
Shuguo Zhuo
db3a349a51
cpu/atmega: revised header include guards.
2016-09-01 18:32:17 +02:00
kYc0o
62a9773a9c
boards/waspmote-pro: add support for Waspmote PRO v1.2
2016-07-05 13:05:12 +02:00