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
Joakim Nohlgård
7835ab2be7
make: Move BOARD and CPU includes to Makefile.modules
2016-02-10 16:37:03 +01:00
Hauke Petersen
1d8d33d484
Merge pull request #4704 from haukepetersen/opt_periph_gpioisrctx
...
drivers/gpio: added default ISR context struct
2016-02-04 15:29:48 +01:00
Hauke Petersen
35eb99a46e
Merge pull request #3984 from kaspar030/simplify_reboot
...
core: cpu: sys: simplify reboot()
2016-01-29 14:24:08 +01:00
Hauke Petersen
ad0abdcadd
cpus: use default isr_ctx struct in GPIO drivers
2016-01-27 17:00:37 +01:00
938ff5c5e7
core: cpu: sys: simplify reboot()
2016-01-27 13:30:01 +01:00
Hauke Petersen
6fc95e4d6d
cpu/atmega2560: removed deps to F_CPU
2016-01-27 09:52:44 +01:00
Oleg Hahm
875f48979a
avsextrem: some cleanup
2015-12-07 20:28:52 +01:00
René Herthel
13ae0ab979
atmega2560/cpu: Fixed wrong using of UART macros
2015-11-03 18:29:53 +01:00
Hauke Petersen
1125f5feb3
cpu/atmega2560: adapted UART driver
2015-10-27 14:59:37 +01:00
Hauke Petersen
8044e457cb
cpu/atmega2560: adapted UART driver
2015-10-27 14:59:37 +01:00
Peter Kietzmann
816bef6220
Merge pull request #4094 from danielamkaer/atmega2560_gpio_init_fix
...
cpu/atmega2560: fixes the configuration of pullup resistors in gpio.c
2015-10-26 08:45:34 +01:00
Peter Kietzmann
e539db10ee
Merge pull request #4104 from gebart/pr/drop-timer-reset
...
periph/timer: Drop timer_reset
2015-10-26 08:36:01 +01:00
Peter Kietzmann
9f6cd49559
Merge pull request #4047 from danielamkaer/bugfix_atmega2560_gpio
...
cpu/atmega2560: gpio - fixes a bug where gpio_* behaves incorrect if …
2015-10-26 08:17:36 +01:00
Daniel Amkær Sørensen
6040531ae1
cpu/atmega2560: fixes the configuration of pullup resistors in gpio.c
2015-10-22 07:05:33 +02:00
Joakim Nohlgård
cbaeccdb90
periph/timer: Drop timer_reset
2015-10-17 20:11:03 +02:00
Thomas Eichinger
2b29abed8e
Merge pull request #4071 from thomaseichinger/hauke-fix-gpio-gpiodev
...
drivers/gpio: renamed GPIO(x,y) macro to GPIO_PIN
2015-10-13 16:05:19 +02:00
Hauke Petersen
d43dc9182f
cpu: s/GPIO(x,y)/GPIO_PIN(x,y)/
2015-10-13 14:59:54 +02:00
Thomas Eichinger
11895d4f07
cpu/atmega2560: fix out of bounds array access
2015-10-05 13:55:16 +02:00
Daniel Amkær Sørensen
e500301f1c
cpu/atmega2560: gpio - fixes a bug where gpio_* behaves incorrect if PORTn address > 0xFF
2015-10-05 12:43:35 +02:00
ca540c9d07
cpu: atmega2560: use double-read scheme for timer read
2015-09-16 11:13:42 +02:00
d82ca16b5a
cpu: atmega2560: drop obsolete hwtimer support
2015-09-16 10:58:52 +02:00
bd27feefec
cpu: atmega2560: simplify periph/timer implementation
2015-09-14 10:47:35 +02:00
7fcb2b718e
cpu: atmega: implement irq_arch_in
2015-09-14 10:47:28 +02:00