Hauke Petersen
4bfce892d3
drivers/periph&cpu: add and use common periph_init()
6 years ago
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
6 years ago
Kaspar Schleiser
0194091673
remove obsolete lpm code
7 years ago
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.
7 years ago
Kaspar Schleiser
560a509036
make: remove trailing slash from BINDIR variable
7 years ago
Joakim Nohlgård
37eece1961
cpu/atmega2560/startup.c: Add __attribute__((used)) to init functions
7 years ago
kYc0o
be70924800
cpu/atmega2560: update atmega2560 CPU code to use atmega_common code
7 years ago
kYc0o
17c78e70e2
cpu/atmega_common: add common atmega CPU code to atmega_common
7 years ago
kYc0o
2adf76c977
Merge pull request #5537 from kYc0o/reworked_uart_wfix
...
cpu/atmega2560: reworked UART (from #5026 )
7 years ago
kYc0o
7f0a1a7b5a
cpu/atmega2560: ISR UART typo
7 years ago
Hauke Petersen
5fc67747e6
cpu/atmega2560: fixed typo in reg definition
7 years ago
Hauke Petersen
ccf7cde82d
cpu/atmega2560: reworked UART implementation
7 years ago
Hauke Petersen
e57d511499
cpu/atmega2560: added CMSIS style reg defs for UART
7 years ago
zhuoshuguo
1cbe79a373
CPU: fix include header guards
...
Fix cpu/lpc2387/include/lpc2387.h
7 years ago
MohmadAyman
720136491a
cpu: unify naming of ISR stacksize macro
7 years ago
Hauke Petersen
23b75c421f
cpu/atmega2560: reworked timer driver
7 years ago
Hauke Petersen
9e4c08d89c
cpu/atmega2560: added CMSIS style defs for timers
7 years ago
Kaspar Schleiser
c3f7186d4e
unify usage of inline assembly
7 years ago
DipSwitch
0bb4748a94
core: Fix/refactor function naming in core/incude/irq.h
7 years ago
Hauke Petersen
c36efa0f96
cpu/atmega2560: adapted GPIO driver
7 years ago
Hauke Petersen
d05bf879a6
cpu/atmega2560: added SPI driver
7 years ago
Peter Kietzmann
c8829a49b8
Merge pull request #4838 from haukepetersen/fix_periph_timerarg
...
drivers/timer: added callback argument
7 years ago
Hauke Petersen
b11a3ad74b
cpus: adapted timer implementations to API changes
7 years ago
Kaspar Schleiser
9082273746
core: header cleanup
7 years ago
Joakim Nohlgård
819d619bad
cpu/atmega2560: Update timer_init to match API change
7 years ago
Joakim Nohlgård
7835ab2be7
make: Move BOARD and CPU includes to Makefile.modules
7 years ago
Hauke Petersen
1d8d33d484
Merge pull request #4704 from haukepetersen/opt_periph_gpioisrctx
...
drivers/gpio: added default ISR context struct
7 years ago
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
7 years ago
Hauke Petersen
ad0abdcadd
cpus: use default isr_ctx struct in GPIO drivers
7 years ago
Kaspar Schleiser
938ff5c5e7
core: cpu: sys: simplify reboot()
7 years ago
Hauke Petersen
6fc95e4d6d
cpu/atmega2560: removed deps to F_CPU
7 years ago
Oleg Hahm
875f48979a
avsextrem: some cleanup
8 years ago
René Herthel
13ae0ab979
atmega2560/cpu: Fixed wrong using of UART macros
8 years ago
Hauke Petersen
1125f5feb3
cpu/atmega2560: adapted UART driver
8 years ago
Hauke Petersen
8044e457cb
cpu/atmega2560: adapted UART driver
8 years ago
Peter Kietzmann
816bef6220
Merge pull request #4094 from danielamkaer/atmega2560_gpio_init_fix
...
cpu/atmega2560: fixes the configuration of pullup resistors in gpio.c
8 years ago
Peter Kietzmann
e539db10ee
Merge pull request #4104 from gebart/pr/drop-timer-reset
...
periph/timer: Drop timer_reset
8 years ago
Peter Kietzmann
9f6cd49559
Merge pull request #4047 from danielamkaer/bugfix_atmega2560_gpio
...
cpu/atmega2560: gpio - fixes a bug where gpio_* behaves incorrect if …
8 years ago
Daniel Amkær Sørensen
6040531ae1
cpu/atmega2560: fixes the configuration of pullup resistors in gpio.c
8 years ago
Joakim Nohlgård
cbaeccdb90
periph/timer: Drop timer_reset
8 years ago
Thomas Eichinger
2b29abed8e
Merge pull request #4071 from thomaseichinger/hauke-fix-gpio-gpiodev
...
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
8 years ago
Hauke Petersen
d43dc9182f
cpu: s/GPIO(x,y)/GPIO_PIN(x,y)/
8 years ago
Thomas Eichinger
11895d4f07
cpu/atmega2560: fix out of bounds array access
8 years ago
Daniel Amkær Sørensen
e500301f1c
cpu/atmega2560: gpio - fixes a bug where gpio_* behaves incorrect if PORTn address > 0xFF
8 years ago
Kaspar Schleiser
ca540c9d07
cpu: atmega2560: use double-read scheme for timer read
8 years ago
Kaspar Schleiser
d82ca16b5a
cpu: atmega2560: drop obsolete hwtimer support
8 years ago
Kaspar Schleiser
bd27feefec
cpu: atmega2560: simplify periph/timer implementation
8 years ago
Kaspar Schleiser
7fcb2b718e
cpu: atmega: implement irq_arch_in
8 years ago
René Herthel
d05151fdef
cpu/mega2560: initial import of a gpio driver
8 years ago
Kaspar Schleiser
f2825d2b55
cpu: atmega2560: remove obsolete UART0_BUFSIZE define
8 years ago