Francisco Molina
1f5a96deea
boards/arduino-mega2560: add ztimer adjust paramters
2022-03-22 15:20:31 +01:00
Robert Hartung
18117b4eb8
boards/arduino-mega2560: restrics usable pin change interrupts
2019-08-01 09:35:35 +02:00
Jose Alamos
7b28fbf110
boards: fix Doxygen group directives
2018-08-01 15:24:55 +02:00
Martine Lenders
3a3e993c0c
doc: arduino: unify arduino include path and doc with rest of codebase
2017-04-13 18:47:25 +02:00
Anthony Merlino
3f7808add0
boards/arduino-mega2560: Alters board to depend on arduino-atmega-common
2017-02-02 14:12:02 -05:00
Bas Stottelaar
3b14a584b8
boards: *: remove SPI_*_EN now rework is merged
2017-01-31 19:38:41 +01:00
ebc35a0613
boards: fix doxygen @brief in periph.conf
2017-01-27 10:31:56 +01:00
Oleg Hahm
7ee7801c10
*: remove trailing underscores from header guards
2017-01-19 18:30:53 +01:00
Joakim Nohlgård
24b41dc633
boards: Update XTIMER_SHIFT and XTIMER_HZ configurations to match xtimer changes
2016-11-28 11:05:03 +01:00
Hauke Petersen
fc243f1841
boards: removed some superfluous definitions
...
- removed UART_STDIO_DEV as they use the default value
- removed BTN_B1_PIN for nucleo-207, as its already defined in the common header
2016-09-29 11:21:48 +02:00
Jon Thacker
e0365e0bf9
atmega: use software interrupt for context swap
...
Fixes #5745
For AVR based boards, three defines must be defined AVR_CONTEXT_SWAP_INIT,
AVR_CONTEXT_SWAP_INTERRUPT_VECT, and AVR_CONTEXT_SWAP_TRIGGER.
These defines are used to trigger a software interrupt used for context
switching.
When AVR_CONTEXT_SWAP_INTERRUPT_VECT is handled, the scheduler is run
and a context swap will happen if necessary, with the resulting thread
starting following the reti instruction. This results in threads running
at normal priority instead of at interrupt priority.
Atmega devices do provide a pure software interrupt. The method used
here for waspmote-pro and arduino-mega2560 is to use pin change
interrupts, set the pin to act as an output, and toggle the value to
simulate a software interrupt. The main limitation here is that a
physical pin is now occupied and must be defined for each board
supported by RIOT. On the plus side, it provides an easy method for
detecting context swaps with an oscilloscope.
2016-09-07 14:35:53 -05:00
Laurent Navet
2cd918a07a
atmega_common: abstract Power Reduction Register
...
PR Register is PRR0 on atmega2560 and atmega1281
but PRR on atmega328p.
this abstracts as atmega Power Reduction Register as MEGA_PRR.
2016-08-20 12:21:32 +02:00
46bd2f45d9
sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config
2016-07-06 18:16:15 +02:00
kYc0o
abba25e068
boards/arduino-mega2560: define UART for STDIO
2016-06-22 14:25:10 +02:00
Hauke Petersen
a2ddb1dd7f
boards/atmega2560: adapted UART configuration
2016-06-08 18:32:17 +02:00
Ian Martin
963f8a495d
sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE
2016-04-18 12:06:20 -04:00
Hauke Petersen
c95fb05836
boards/arduino-due: add correct XTIMER_MASK
2016-04-07 19:04:01 +02:00
Hauke Petersen
9652aa3814
boards/ardunio-mega2560: adapted timer configuration
2016-04-07 19:04:01 +02:00
pdNor
c8f51e297a
boards/arduino-mega: Changes in Arduino pin mapping
...
The MCU pins was not correctly mapped to Arduino pins.
Updated the mapping so that MCU pins respons to the correct Arduino pins.
2016-04-01 16:27:15 +02:00
Hauke Petersen
7c744fd4bb
boards/arduino-mega: unified LED defines
2016-03-15 15:48:46 +01:00
Joakim Nohlgård
dc303a4f0b
sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header
2016-03-11 12:04:00 +01:00
Hauke Petersen
e55ea0885c
boards/arduino-mega2560: cleanup in periph_conf.h
...
- remove unused periph configuration
- fixed doxygen
2016-03-10 14:04:14 +01:00
Hauke Petersen
85c1d6c086
boards/arduino-mega2560: added SPI configuration
2016-03-09 18:34:42 +01:00
Hauke Petersen
ebfc13c68d
boards: added CLOCK_CORECLOCK define to periph_conf
2016-01-27 09:52:44 +01:00
Hauke Petersen
b436219674
boards: removed F_CPU define from board.h
2016-01-27 09:52:44 +01:00
Hauke Petersen
db25206a58
boards: use default values for STDIO defines
2016-01-05 12:08:31 +01:00
Hauke Petersen
3f114cc155
boards/arduino-mega2560: added Ardunio pin mapping
...
added a pin mapping file that maps MCU GPIO pins to Ardunio
specific pin numbers
2015-11-19 16:16:40 +01:00
René Herthel
13ae0ab979
atmega2560/cpu: Fixed wrong using of UART macros
2015-11-03 18:29:53 +01:00
Hauke Petersen
18e364ae17
boards: removed deprecated HW_TIMER defines
2015-09-17 11:22:03 +02:00
534290fb5b
board: arduino-mega2560: add xtimer configuration values
2015-09-16 11:13:41 +02:00
bd27feefec
cpu: atmega2560: simplify periph/timer implementation
2015-09-14 10:47:35 +02:00
René Herthel
d05151fdef
cpu/mega2560: initial import of a gpio driver
2015-09-07 14:48:15 +02:00
fa0202ec99
board: arduino-mega2560: set default baudrate to 9600
2015-09-03 16:30:51 +02:00
Oleg Hahm
e634b8c5a8
Merge pull request #3056 from OlegHahm/board_leading_underscore_removal
...
boards: remove header guard under scores
2015-06-28 17:27:28 +02:00
Oleg Hahm
5312ae998b
boards: removed incorrect doxygen comment markers
2015-06-24 15:54:36 +02:00
BigDaddyD
b6bd067863
boards: removed leading underscores from macros
...
* also added a trailing underscore to header guards for consistency
Commit for PR 2623, repairing header file include guards.
This PR is intended to fix the include guards in files under RIOT/boards
SQUASH ME: fix underscore removal overdos
SQUASH ME: consistent macro naming
SQUASH ME: missed that one
SQUASH ME: fixed overdo
SQUASH ME: consistency
2015-06-24 15:54:36 +02:00
Hauke Petersen
a174b7644a
boards: adjusted peripheral confs to GPIO changes
2015-06-12 19:12:21 +02:00
Hauke Petersen
f642cbb7e1
board/arduino-mega2560: fixed doxygen group name
2015-02-12 13:34:50 +01:00
BytesGalore
fc56535dd3
boards: add extern "C"
to header files
2014-10-31 11:27:59 +01:00
Ludwig Ortmann
a29a9ced27
boards + cpu: atmega2560: fix non-existent GPIO
2014-10-18 07:40:27 +02:00
Hinnerk van Bruinehsen
223e22ac1e
board: arduino-mega2560: Initial import
2014-08-27 16:39:40 +02:00