1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

2175 Commits

Author SHA1 Message Date
Vincent Dupont
27057d4c61 boards/opencm904: remove custom vector base address 2017-03-17 18:09:24 +01:00
Vincent Dupont
833440f65c boards/spark-core: remove custom vector base address 2017-03-17 18:07:22 +01:00
Vincent Dupont
1b2b5d9df9 Merge pull request #5624 from OTAkeys/pr/mtdi_flash
mtd: add a generic low level flash interface
2017-03-17 17:18:13 +01:00
Francisco Acosta
80e7ab5c6c Merge pull request #6553 from aabadie/nucleo144-f446
boards/nucleo144-f446: add initial support
2017-03-17 15:46:38 +01:00
Vincent Dupont
bb52575d45 boards: fix I2C_APBCLK value in stm32-based boards 2017-03-17 12:56:54 +01:00
eee4e5725a Merge pull request #6726 from astralien3000/opencm904-remap
boards/opencm904: remap uart pins
2017-03-17 11:03:06 +01:00
57daad4ed6 boards/nucleo144-f446: initial support 2017-03-16 18:23:38 +01:00
Francisco Acosta
f839e73b1a Merge pull request #6615 from aabadie/nucleo_f302
boards/nucleo-f302: initial support
2017-03-16 17:58:14 +01:00
Vincent Dupont
379eb24684 Merge pull request #6741 from lebrush/refactor/boards-msbiot-leds
boards/msbiot: use LED defines
2017-03-16 17:09:51 +01:00
Vincent Dupont
9e8cb3d135 native: add mtd-compliant flash emulation 2017-03-16 11:24:22 +01:00
62ccabc81a boards/nucleo144-f413: adapt to common nucleo144 code 2017-03-16 11:03:38 +01:00
5634e0d4af boards/nucleo144-f207: adapt to common nucleo144 code 2017-03-16 11:03:38 +01:00
1c96a2d617 boards/nucleo144-common: factorize common code for nucleo 144 boards 2017-03-16 11:03:38 +01:00
607efecba1 boards/nucleo32-f303: adapt to common nucleo32 code 2017-03-16 11:03:38 +01:00
5f02a41597 boards/nucleo32-f042: adapt to common nucleo32 code 2017-03-16 10:50:30 +01:00
dd4e0ea6a3 boards/nucleo32-f031: adapt to common nucleo32 code 2017-03-16 10:50:30 +01:00
0ef714650b boards/nucleo32-common: factorize common code for nucleo 32 boards 2017-03-16 10:50:30 +01:00
0b7ce88585 boards/nucleo-common: extract serial configuration in extra Makefile 2017-03-16 10:50:30 +01:00
1ab5c74ee2 boards/nucleo-f302: initial support 2017-03-16 10:43:29 +01:00
ca85e8afe4 Merge pull request #6651 from aabadie/nucleo32_l031
boards/nucleo32-l031: initial support
2017-03-16 08:30:48 +01:00
216e685932 Merge pull request #6743 from aabadie/nucleo_common
boards/nucleo_common, boards/remote_common: remove extra underscore in header guard
2017-03-15 16:25:39 +01:00
lebrush
0c7c57717c Merge pull request #6584 from aabadie/nucleo_l152_periph
boards/nucleo-l1: configure extra periphs (UARTs and PWM)
2017-03-15 15:53:31 +01:00
fb7fe334b6 boards/nucleo32-l031: initial support 2017-03-15 14:06:14 +01:00
Francisco Acosta
1a17955551 Merge pull request #6025 from aabadie/nucleo_f410
boards/nucleo-f410: initial support
2017-03-15 13:03:39 +01:00
Loïc Dauphin
46bac6c69b boards/opencm904: remap uart pins 2017-03-15 10:50:34 +01:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
9bca23abb9 boards/nucleo-f410: initial support 2017-03-14 18:45:11 +01:00
2e304bcd17 Merge pull request #6738 from aabadie/nucleo_l1_saul
boards/nucleo-l1: export led and button via saul
2017-03-14 18:18:02 +01:00
84aad1fc1e boards/remote-common: remove extra underscore in header guard 2017-03-13 23:54:03 +01:00
f91cf5d531 boards/nucleo_common: remove extra underscore in header guard 2017-03-13 23:49:10 +01:00
Victor Arino
34b9c04d9d boards/msbiot: use LED defines 2017-03-13 21:13:37 +01:00
lebrush
2af148d8cd Merge pull request #6714 from OTAkeys/pr/stm32_unify_gpio
cpu/stm32_common: unify gpio driver
2017-03-13 21:08:00 +01:00
Vincent Dupont
c302b7601d boards: fix stm32-based boards with new gpio driver 2017-03-13 15:09:31 +01:00
0de97bf6f7 boards/nucleo-l1: export led and button via saul 2017-03-13 14:55:19 +01:00
Thomas Eichinger
2ce2b53339 doc: msba2-tools: doxygen fixes 2017-03-10 14:56:48 +01:00
Oleg Hahm
8a36c33a6c doc: boards: fix and add documentation 2017-03-10 14:56:48 +01:00
Joakim Nohlgård
887cc72365 Merge pull request #5616 from gebart/pr/vfs
vfs: file system abstraction
2017-03-09 09:44:56 +01:00
515231d0b5 boards/nucleo-l1: add configuration for extra UARTs 2017-03-08 18:10:19 +01:00
2df36110c4 boards/nucleo-l1: configure PWM 2017-03-08 18:10:19 +01:00
smlng
ba3a46435c cc2538: revert xtimer params from #5608 2017-03-07 21:59:53 +01:00
Joakim Nohlgård
8f81121f29 boards/mulle: Add FRAM to DevFS 2017-03-07 17:59:59 +01:00
Hauke Petersen
37d4f44379 cpus: mv vendor headers to include/vendor/. 2017-03-07 08:55:15 +01:00
Loïc Dauphin
af78dd784a boards: rename opencm9-04 into opencm904 2017-03-03 09:54:31 +01:00
lebrush
afaef0a578 Merge pull request #6628 from aabadie/nucleo_l053
boards/nucleo-l053: initial support
2017-03-02 22:13:10 +01:00
2927b775d8 Merge pull request #6683 from aabadie/aabadie_typo
boards: fix typo in author name
2017-03-02 17:59:25 +01:00
3ec71bb7a0 boards: fix typo in author name 2017-03-02 15:52:32 +01:00
Loïc Dauphin
e7b9104e03 boards/opencm9-04: disable bootloader's timer interrupt 2017-03-02 14:57:33 +01:00
128fa5d6f0 boards/nucleo-l053: initial support 2017-03-02 13:52:12 +01:00
kYc0o
9e250a8ee6 boards/fox: add periph_flashpage feature 2017-03-01 16:33:09 +01:00
kYc0o
020f74fdaa boards/fox: use second UART in Darwin platforms 2017-03-01 16:30:35 +01:00
Frits Kuipers
28bc25abb4 boards/nucleo-f4xx: Added second and third SPI definition 2017-02-28 22:38:42 +01:00
Martine Lenders
b7d1f8cd81 Merge pull request #6653 from smlng/pr/cpp/pba-d-01-kw2x
enable feature cpp on board pba-d-01-kw2x
2017-02-28 21:04:10 +01:00
bb9f3861ee Merge pull request #6664 from aabadie/fix_doxygen_board_nucleo32-f031
boards/nucleo32-f031: replace @brief with @name in periph conf
2017-02-28 20:27:11 +01:00
Francisco Acosta
29753d6018 Merge pull request #6433 from aabadie/nucleo_l073
boards/nucleo-l073: initial support
2017-02-28 20:22:39 +01:00
09f05da2cd boards/nucleo32-f031: replace @brief with @name in periph conf 2017-02-27 23:15:36 +01:00
smlng
dbd05d3f3b cpp: add feature cpp to pba-d-01-kw2x 2017-02-25 07:51:59 +01:00
smlng
c81696a4bf cpp: fix spi_conf_t order in pba-d-01-kw2x 2017-02-25 07:51:52 +01:00
1689760fda boards/nucleo-l073: initial support 2017-02-24 16:12:01 +01:00
Vincent Dupont
fc24355465 boards: add nucleo144-f413 initial support 2017-02-23 17:01:44 +01:00
Vincent Dupont
26dac0fc21 Merge pull request #6641 from kaspar030/add_nucleo-f401_rtc_config
boards: nucleo-f401: add RTC config
2017-02-23 10:29:37 +01:00
645ff47bfd boards: nucleo-f401: add RTC config 2017-02-23 09:09:18 +01:00
7c589e5926 boards/nucleo32-f031: initial support (1 Timer, 1 UART, 3 PWM, 5 ADC) 2017-02-22 18:43:02 +01:00
d8a7de0eb8 boards/nucleo-f411: initial support 2017-02-22 15:18:21 +01:00
Oleg Hahm
4c0c8b2623 Merge pull request #6592 from haukepetersen/rm_smb380
boards/avsextrem: remove deprectated smb380 driver
2017-02-22 10:57:54 +01:00
Peter Kietzmann
5b4b39937a Merge pull request #6634 from cgundogan/pr/calliope_delete_wrong_info
doc: boards: calliope: rm incorrect doc
2017-02-22 09:57:29 +01:00
Cenk Gündoğan
d39ccdce21 pba-d-01-kw2x: fix LED2_PIN <-> LED0_PIN 2017-02-21 10:19:53 +01:00
Cenk Gündoğan
8c3bbf9c4d doc: pba-d-01-kw2x: brief -> name 2017-02-21 10:19:04 +01:00
Cenk Gündoğan
6393928fd6 doc: boards: calliope: rm incorrect doc 2017-02-21 08:55:29 +01:00
Martine Lenders
4b5952e0ad Merge pull request #6622 from gebart/pr/cppcheck-fixes
cppcheck fixes 1
2017-02-17 16:11:11 +01:00
a3497539c2 boards: fix PWM doxygen doc in periph_conf 2017-02-16 17:59:21 +01:00
Joakim Nohlgård
95a4e75423 msba2/tools: Fix cppcheck issues 2017-02-16 17:10:06 +01:00
Hauke Petersen
7ad342ca2d boards/pba-d-01-kw2x: map tcs37727 to SAUL devices 2017-02-16 14:46:50 +01:00
78c29a0607 Merge pull request #6579 from OTAkeys/pr/nucleo144-f207
boards: rename nucleo-f207 -> nucleo144-f207
2017-02-16 09:42:24 +01:00
Hauke Petersen
90bc8e0505 boards/avsextrem: remove deprectated smb380 driver 2017-02-13 14:26:44 +01:00
Hauke Petersen
ad8f390cc1 boards: enabled flashpage feature for selected ones 2017-02-13 09:45:37 +01:00
c436241792 boards/nucleo32-f303: fix header guards 2017-02-12 11:25:17 +01:00
d4285d42f8 boards/maple-mini: fix header guards 2017-02-12 11:24:57 +01:00
Neil Jones
d09fd777fc boards: mips-malta: Add basic malta FPGA support.
Add basic support for the MIPS malta FPGA platform.
2017-02-09 12:22:28 +00:00
Vincent Dupont
2490b8ed2d boards/nucleo144-f207: fix ADC config 2017-02-08 17:43:30 +01:00
Vincent Dupont
4ced9421b2 boards/nucleo144-f207: clean up board.h 2017-02-08 17:43:29 +01:00
Vincent Dupont
4d595ad36e boards: rename nucleo-f207 -> nucleo144-f207 2017-02-08 17:22:54 +01:00
Martine Lenders
fa4c9b9111 Merge pull request #6559 from haukepetersen/fix_drivers_doxygengroups
drivers: fixed doxygen groups
2017-02-07 21:34:52 +01:00
Peter Kietzmann
5bf4882592 Merge pull request #6453 from smlng/pr/5469-bis
drivers/kw2xrf: adapt to netdev2
2017-02-07 15:58:54 +01:00
PeterKietzmann
e617d74fa8 drivers/kw2xrf: update default params on init 2017-02-07 15:08:14 +01:00
smlng
887f499eca drivers/kw2xrf: adapt to new SPI interface
- add docu for structs, defines and functions
    - exclude drivers/kw2xrf/include/overwrites.h (vendor header)
    - add missing header guards
2017-02-07 15:08:05 +01:00
Hauke Petersen
17c5931125 boards/nucleo-common: fixed doxygen groups 2017-02-07 11:16:50 +01:00
Francisco Acosta
79a4acee43 Merge pull request #6516 from antmerlino/arduino-cleanup
Changes arduino-common to arduino-atmega-common.
2017-02-06 17:40:44 +01:00
Martine Lenders
59150b67f1 Merge pull request #6494 from haukepetersen/fix_nucleo_timerconfig
boards/nucle-f0xx: fixed timer configuration
2017-02-03 14:42:49 +01:00
Anthony Merlino
aa1056a33b boards/arduino*: Unifies PORT_<OS> settings
All boards define a default PORT_LINUX and PORT_DARWIN
arduino-atmega-common uses PORT_LINUX and PORT_DARWIN accordingly
2017-02-02 14:12:03 -05:00
Anthony Merlino
9f5bd85d0f boards/waspmote-pro: Removes toolchain flags that are now found in cpu/atmega-common 2017-02-02 14:12:03 -05:00
Anthony Merlino
a06aa7bd0e boards/arduino-uno: Updates board to comply with refactored arduino-atmega-common structure 2017-02-02 14:12:02 -05:00
Anthony Merlino
7e79e85f17 boards/arduino-duemilanove: Updates board to comply with refactored arduino-atmega-common structure 2017-02-02 14:12:02 -05:00
Anthony Merlino
3f7808add0 boards/arduino-mega2560: Alters board to depend on arduino-atmega-common 2017-02-02 14:12:02 -05:00
Anthony Merlino
b8e04d8c00 boards/arduino-common: refactored to arduino-atmega-common
Refactors boards/arduino-common to boards/arduino-atmega-common.
Extends boards/arduino-atmega-common to be generic to all atmega based
arduino boards, not just atmega328p.
Removes flags that should be located in cpu framework
2017-02-02 14:11:51 -05:00
31d682aea8 boards/nucleo32-f042: fix undocumented on-board LED macros 2017-02-02 18:22:58 +01:00
lebrush
56b590bec6 Merge pull request #6514 from basilfx/cleanup/spi_en
boards: *: remove SPI_*_EN as comments suggest
2017-02-02 11:27:40 +01:00
Joakim Nohlgård
9a3589dcfe Merge pull request #6479 from haukepetersen/fix_lis3dh_mulle
drivers/lis3dh: fixed bug and simplified init()
2017-01-31 19:48:52 +01:00
Bas Stottelaar
3b14a584b8 boards: *: remove SPI_*_EN now rework is merged 2017-01-31 19:38:41 +01:00
Martine Lenders
dbc3f5f418 Merge pull request #6489 from aabadie/fix_at_brief
boards: fix doxygen @brief in periph.conf
2017-01-31 18:02:07 +01:00
Hauke Petersen
57948eb7b9 boards/nucleo: fixed xtimer configuration 2017-01-27 11:35:45 +01:00
ebc35a0613 boards: fix doxygen @brief in periph.conf 2017-01-27 10:31:56 +01:00
Hauke Petersen
1171db8c5f boards/nucle-f0xx: fixed timer configuration 2017-01-27 10:29:34 +01:00
PeterKietzmann
084d5ad1cb boards/remotes: fix includes in board.h 2017-01-27 09:49:10 +01:00
Hauke Petersen
ed2bb9d3f8 drivers/lis3dh: fixed bug and simplified init()
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
Peter Kietzmann
513b20ffd3 Merge pull request #4780 from haukepetersen/opt_periph_spi2
drivers/spi: reworked SPI driver interface
2017-01-25 22:07:36 +01:00
Oleg Hahm
c5abb08316 Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-25 17:49:42 +01:00
Hauke Petersen
5bdb3bfa61 misc: aggregated doxygen fixes 2017-01-25 16:46:46 +01:00
Hauke Petersen
b710702345 boards/opencm9-04: fixed SPI configuration 2017-01-25 16:46:46 +01:00
Hauke Petersen
49118f8c2e boards/arduino-due: added SD card configuration 2017-01-25 16:46:46 +01:00
Hauke Petersen
a2d9d9a3f9 boards/maple-mini: adapted SPI configuration 2017-01-25 16:46:46 +01:00
Hauke Petersen
ed4cb561bb boards/remote: fixed includes 2017-01-25 16:46:46 +01:00
PeterKietzmann
9b772a45de boards/cc2538: fix SPI clock initialisation 2017-01-25 16:46:46 +01:00
Hauke Petersen
55391bc8eb boards/nucleo-f207: fixed pin mapping for SPI/ADC 2017-01-25 16:46:46 +01:00
Hauke Petersen
0edef2a0e1 cpu/stm32*+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
849ce20f5c cpu/sam3+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
ea07a6817c cpu/sam0+boards: adapted to new SPI API
- adapted the SPI driver
- merged SPI driver for samr21 and saml21
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
10b0013315 cpu/lpc2387+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b097e0840b cpu/nrf5x+boards: adapted to new SPI API
- adapted the SPI driver
- merged SPI drivers from nrf51 and nrf52
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
d5e00e594a cpu/msp430fxyz+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
c97a88ecb8 cpu/lpc11u34+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
5880d0edda cpu/kinetis+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
ca5f1befb3 cpu/cc2538+boards: adapted to SPI API changes
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Martine Lenders
7a02ce6140 Merge pull request #6465 from aabadie/fix_doxygen_nucleo_l1
boards/nucleo-l1: fix non closed doxygen block
2017-01-24 16:22:43 +01:00
Martine Lenders
4fb9249fa8 Merge pull request #6429 from smlng/pr/fix_doc
doc: correct typos
2017-01-24 15:28:44 +01:00
fd337ddaec boards/nucleo-l1: fix non closed doxygen block 2017-01-24 14:53:45 +01:00
Hauke Petersen
5d8f686cf6 Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
Hauke Petersen
67fdd43ba8 Merge pull request #6398 from phectori/maple-mini
Boards: Add Maple mini
2017-01-24 14:10:55 +01:00
Hauke Petersen
10c46866d2 Merge pull request #5987 from aabadie/arduino_sketch_on_arduino
sys/arduino: make arduino sketch works on avr based boards
2017-01-24 14:10:18 +01:00
d1db946188 Merge pull request #6344 from haukepetersen/opt_pm_misc
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Peter Kietzmann
119a307645 Merge pull request #6457 from aabadie/nucleo_f072_periph
boards/nucleo-f072: improve periph configuration
2017-01-24 10:15:39 +01:00
Peter Kietzmann
d7ce91f63a Merge pull request #6452 from aabadie/nucleo_f091_periph
boards/nucleo-f091: update UART, PWM and ADC periph configuration
2017-01-24 10:14:04 +01:00
351a6dee53 boards/nucleo-f072: add extra UART 2017-01-23 15:48:46 +01:00
9f39f5fb75 boards/nucleo-f072: configure PWM 2017-01-23 15:48:45 +01:00
569e494efa boards/nucleo-f072: fix ADC configuration 2017-01-23 13:54:55 +01:00
4d9b3d1c2a boards/nucleo-f091: add extra UART 2017-01-23 10:27:18 +01:00
d860393076 boards/nucleo-f091: add ADC configuration 2017-01-23 10:27:17 +01:00
35d22e3230 boards/nucleo-f091: configure PWM 2017-01-23 10:27:17 +01:00
Paul RATHGEB
4c10c64324
boards/weio : fixed a bug with the LED IO def
Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-22 17:18:13 +01:00
Frits Kuipers
e483c2307b boards/maple-mini: initial support 2017-01-21 16:27:17 +01:00
Martine Lenders
5b1c00ad8b Merge pull request #6388 from astralien3000/opencm9-04
boards/opencm9-04 : initial support
2017-01-21 14:37:50 +01:00
Peter Kietzmann
5880047d76 Merge pull request #6423 from haukepetersen/opt_lpc11_pwm
cpu/lpc11u34: remodeled PWM driver
2017-01-20 18:11:31 +01:00
Michel Rottleuthner
ac2ae7cb56 drivers: added driver for accessing sd_cards over spi 2017-01-20 18:11:26 +01:00
Loïc Dauphin
1fb47b5ee7 board/opencm9-04: initial support 2017-01-20 18:10:54 +01:00
smlng
5660dbcec3 boards: doc typos 2017-01-20 13:35:57 +01:00
Peter Kietzmann
38a649428d Merge pull request #6421 from aabadie/nucleo_f042_periph
boards/nucleo-f042: configure PWM pins, add extra UART, add ADC
2017-01-20 09:28:19 +01:00
44fa850724 boards/nucleo32-f042: configure some PWM pins, add extra UART, add ADC configuration 2017-01-19 22:13:03 +01:00
Oleg Hahm
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Hauke Petersen
1141787687 boards/weio: adapted PWM configuration 2017-01-19 13:23:59 +01:00
c35411c588 boards/nucleo32-f303: initial support 2017-01-19 11:09:42 +01:00
Hauke Petersen
efa0aa1fa9 cpu/cc430|chronos: moved periph_common dep to CPU 2017-01-19 11:05:44 +01:00
Peter Kietzmann
616d35e96f Merge pull request #6153 from haukepetersen/opt_driver_mma8x5x
drivers/mma8x5x: remodeled driver
2017-01-19 09:56:31 +01:00
93abe83ddb Merge pull request #6192 from aabadie/nucleo_f401_pwm
boards/nucleo-f401: configure PWM on 7 pins
2017-01-19 07:40:55 +01:00
8217ed1a8c boards/nucleo-f401: add pwm configuration on pins d{3,5,6,9} 2017-01-18 22:19:02 +01:00
963662416b boards/nucleo32-f042: change board name nucleo->nucleo32 2017-01-18 22:04:59 +01:00
Martine Lenders
5b49bfc21d Merge pull request #6375 from aabadie/nucleo_f030_periph
boards/nucleo-f030: configure some PWM pins, add ADC configuration
2017-01-18 21:29:40 +01:00
Peter Kietzmann
706eaa6050 Merge pull request #6376 from aabadie/nucleo_f070_periph
boards/nucleo-f070: configure some PWM pins, add extra UART, fix ADC
2017-01-18 20:57:54 +01:00
b03a23f371 boards/nucleo-f030: configure some PWM pins, add ADC configuration 2017-01-18 15:07:00 +01:00
Oleg Hahm
89edffa8cc Merge pull request #6401 from aabadie/stm32f0discovery_saul
boards/stm32f0discovery: export user LEDs and button to SAUL
2017-01-18 13:19:11 +01:00
Oleg Hahm
4f85c39ffe Merge pull request #6400 from aabadie/stm32f4discovery_saul
boards/stm32f4discovery: export user LEDs and button to SAUL
2017-01-18 13:18:59 +01:00
43df072c88 boards/nucleo-f070: adapted PWM configuration to new api 2017-01-18 12:39:05 +01:00
3eff14de2b boards/nucleo-f070: configure some PWM pins, add extra UART, fix ADC compilation 2017-01-18 11:14:27 +01:00
Hauke Petersen
b368179d6b boards/pba-d-01-kw2x: adapted MMA8x5x configuaration 2017-01-18 10:51:15 +01:00
Hauke Petersen
5c8d7678df boards/stm32f4discovery: fix PWM configuration 2017-01-18 09:38:50 +01:00
20089be486 Merge pull request #6393 from haukepetersen/opt_stm32_pwmchanconf
cpu/stm32/pwm: made channel config more flexible
2017-01-18 09:02:47 +01:00
Peter Kietzmann
5f6bc1f4ba Merge pull request #6391 from haukepetersen/opt_boards_makedep
boards: remove local Makefile.dep includes
2017-01-18 09:01:07 +01:00
ccdb6eac70 boards/stm32f0discovery: export user LEDs and button to SAUL 2017-01-17 18:08:55 +01:00
5c859398a7 boards/stm32f4discovery: export user LEDs and button to SAUL 2017-01-17 17:54:00 +01:00
Peter Kietzmann
7c252eddae Merge pull request #4642 from haukepetersen/opt_hdc1000
drivers/hdc1000: remodeled driver + SAUL integration
2017-01-17 16:02:03 +01:00
Hauke Petersen
f6cd39348a boards: remove local Makefile.dep includes
No need for these, as $(RIOTBOARD)/$(BOARD)/Makefile.dep is
globally included from $(RIOBASE)/Makefile.dep.
2017-01-17 14:15:43 +01:00
Hauke Petersen
8f47aee78b boards/stm32-based: adapted PWM configuration 2017-01-17 14:08:39 +01:00
Hauke Petersen
718c8a5f1b boards/avsextrem: remove unused PWM defines 2017-01-17 10:50:02 +01:00
Hauke Petersen
4605292fe8 boards/msba2: adapted PWM configuration slightly 2017-01-17 10:50:02 +01:00
Hauke Petersen
924ea48695 board/bpa-d-01-kw2x: included hdc1000 via SAUL 2017-01-17 10:48:22 +01:00
Peter Kietzmann
5497d611dc Merge pull request #6384 from OlegHahm/pttu_drop_support
board: drop support for PTTU platform
2017-01-17 08:35:41 +01:00
Oleg Hahm
d834d7769e board: drop support for PTTU platform 2017-01-16 22:41:38 +01:00
daniel-k
9d403d95ce cortex_m: Add debug symbols for OpenOCD/GDB thread support 2017-01-16 20:50:35 +01:00
Cenk Gündoğan
d853dd63c1 cpu: make CFLAGS_DBG configurable 2017-01-16 15:54:59 +01:00
6feebb676c Merge pull request #5951 from mali/uno_saul
boards/arduino-common: export led via saul
2017-01-15 18:05:19 +01:00
Laurent Navet
200916ab33 boards/arduino-common: export led via saul
expose on-board led to saul interface.
2017-01-15 16:57:04 +01:00
Hauke Petersen
6270283033 Merge pull request #6160 from kaspar030/introduce_new_power_management
Introduce new power management
2017-01-12 17:31:49 +01:00
Hauke Petersen
efd27b6bd1 Merge pull request #6257 from PeterKietzmann/cpu_stm32f1_cmsis_fix_ACR_bit
cpu/stm32f1: cmsis fix flash latency bit
2017-01-12 16:57:52 +01:00
51a86f75b8 boards: chronos: add stub support for periph/pm 2017-01-12 16:26:03 +01:00
db823679aa board: samr21-xpro: move periph_pm to cpu/samd21/Makefile.features 2017-01-12 16:26:02 +01:00
f42e5381ee cpu: samd21: add periph/pm support 2017-01-12 16:26:01 +01:00
Peter Kietzmann
afcdd62816 Merge pull request #6306 from aabadie/nucleo_f446_uart
boards/nucleo-f446: configure 2 new UARTs using USART3 and USART1
2017-01-12 14:41:22 +01:00
Peter Kietzmann
111c9a0039 Merge pull request #6307 from aabadie/nucleo_f446_pwm
boards/nucleo-f446: configure a few pwm pins
2017-01-12 14:39:18 +01:00
0194091673 remove obsolete lpm code 2017-01-12 11:24:15 +01:00
Peter Kietzmann
280a200377 Merge pull request #6230 from haukepetersen/opt_kinetis_pwm
cpu/kinetis: reworked PWM driver implementation
2017-01-12 10:16:31 +01:00
Francisco Acosta
cfa788a823 Merge pull request #6182 from haukepetersen/opt_cc2538_gpio
cpu/cc2538: reworked GPIO driver
2017-01-11 17:21:49 +01:00
Francisco Acosta
23a10e8643 Merge pull request #6320 from mali/fix_issue_6264
boards/arduino-common: fix software interrupt for context swap
2017-01-11 16:22:51 +01:00
Martine Lenders
ae19c2ba57 Merge pull request #6324 from haukepetersen/add_stm32f3discovery_saulgpiomapping
boards/stm32f3discovery: mapped LEDs + btn to SAUL
2017-01-11 15:39:11 +01:00
Francisco Acosta
b05d0b2748 Merge pull request #5870 from PeterKietzmann/boards_z1_driver_init
drivers/cc2420: improve z1 init and send routine
2017-01-11 15:17:26 +01:00
Hauke Petersen
83457febed boards/stm32f3discovery: mapped LEDs + btn to SAUL 2017-01-11 12:08:33 +01:00
Hauke Petersen
4419f4e191 boards: removed GPIO_x defines for cc2538-based b. 2017-01-11 10:19:06 +01:00
Martine Lenders
e04879b5e3 Merge pull request #6296 from aabadie/nucleo_f401_usart6
boards/nucleo-f401: configure a second UART using USART6 on PA11/PA12
2017-01-10 22:12:57 +01:00
Laurent Navet
08ff3c0a04 boards/arduino-common: fix software interrupt for context swap
It wasn't working with pin1/PC6/PINT14
Use pin28/PC5/PINT13 instead
2017-01-10 21:52:04 +01:00
PeterKietzmann
40976cb40a cpu/stm32f1: optimize ACR setting and move to cpu.c 2017-01-10 17:09:23 +01:00
Peter Kietzmann
a8297595e6 Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Peter Kietzmann
dcfd0d656b Merge pull request #6142 from haukepetersen/add_nrf51_i2c
cpu/nrf51: added I2C driver implementation
2017-01-10 15:25:18 +01:00
Peter Kietzmann
f76b2f4906 Merge pull request #6273 from OTAkeys/pr/nucleo-f042
boards: add nucleo-f042
2017-01-10 14:52:00 +01:00
Hauke Petersen
cb3dcaaf5d boards/nrf52dk: use nrfmin driver 2017-01-10 11:54:49 +01:00
Hauke Petersen
8e7ef06bab boards/microbit: enabled external 16-MHz crystal 2017-01-10 11:54:49 +01:00
Hauke Petersen
7dee728d17 boards: added netif dep for nrf51 based boards 2017-01-10 11:54:48 +01:00
Hauke Petersen
45a6f0a0ac boards/yunjia-nrf51822: added I2C configuration 2017-01-10 11:52:36 +01:00
Hauke Petersen
2070e08787 boards/microbit: added I2C configuration 2017-01-10 11:52:36 +01:00
Hauke Petersen
d9acf1f621 boards/calliope: added I2C configuration 2017-01-10 11:52:36 +01:00
Hauke Petersen
bed8e88626 boards/airfy-beacon: added I2C configuration 2017-01-10 11:52:36 +01:00
Vincent Dupont
1a12a40110 boards/nucleo-f042: initial support 2017-01-10 10:34:35 +01:00
abbae57b84 boards/nucleo-f446: configure a few pwm pins 2017-01-10 10:18:17 +01:00
Peter Kietzmann
11a0422b83 Merge pull request #6181 from haukepetersen/opt_lpc11u34_gpio
cpu/lpc11u34: reworked GPIO driver
2017-01-10 09:43:17 +01:00
d1128c3aac boards/nucleo-f446: configure 2 new UARTs using USART3 and USART1 2017-01-10 09:35:36 +01:00
Peter Kietzmann
d21ede60ce Merge pull request #6256 from haukepetersen/fix_stm32f1_timerconfigs
boards/stm32f1-based: fixed timer configuration
2017-01-10 09:27:59 +01:00
e2ec69c956 boards/nucleo-f401: configure a second UART using USART6 on PA11/PA12 pins 2017-01-06 15:03:08 +01:00
Hauke Petersen
55c6c4582b boards/stm32-based: adapted UART configuration 2017-01-05 11:00:18 +01:00
Hauke Petersen
66254ffd4f boards/frdm-k64f: adapted PWM configuration 2017-01-05 10:55:15 +01:00
Hauke Petersen
4ed7ee9cea boards/phyNODE: adapted PWM configuration 2017-01-05 10:55:15 +01:00
Hauke Petersen
b09fdc6a0a boards/mulle: adapted PWM configuration 2017-01-05 10:55:15 +01:00
3b1d67badd sys/arduino: make arduino sketch works on avr based boards 2017-01-03 13:01:30 +01:00
Hauke Petersen
6b4f224d7f boards/limifrog-v1: fixed timer configuration 2016-12-21 14:47:27 +01:00
Hauke Petersen
7aedb59a44 boards/nucleo-f103: fixed timer config formatting 2016-12-21 14:46:51 +01:00
Hauke Petersen
08f3500934 boards/arduino-due: adaped PWM configuration 2016-12-21 13:06:27 +01:00
Hauke Petersen
96fb9bfbdc Merge pull request #5842 from OTAkeys/pr/stm32_rcc_fix
cpu/stm32(_common & f2): implement delay after RCC peripheral clock enable
2016-12-16 21:23:14 +01:00
Hauke Petersen
75d8adddb7 boards/avsextrem: fix u_int type in smb380 driver 2016-12-16 19:27:38 +01:00
Pieter Willemsen
a0835ccb1d stm32: use periph_clk_en/dis functions for clock changes 2016-12-16 15:01:56 +01:00
79043d2518 Merge pull request #6186 from haukepetersen/opt_stm32_pwm
cpu/stm32x: unified PWM driver implementations
2016-12-16 14:34:33 +01:00
Hauke Petersen
7b856cda30 boards/stm32-based: adapted PWM configuration 2016-12-15 12:18:39 +01:00
Hauke Petersen
bfb52afde9 cpu/sam21: unified structure for sam[drl]21 CPUs 2016-12-15 11:39:19 +01:00
Hauke Petersen
0111946c51 Merge pull request #6184 from haukepetersen/opt_stm32_timer
cpu/stm32x: unified timer driver
2016-12-13 10:23:57 +01:00
kYc0o
3dac61aa11 boards/nucleo-common: fix port on OS X 2016-12-09 12:34:46 +01:00
Hauke Petersen
ab12d60d05 boards/stm32-based: adapted timer configurations 2016-12-09 12:20:04 +01:00
Hauke Petersen
0aa70faa3d cpu/stm32f2: temporarily removed PWM driver 2016-12-09 12:20:03 +01:00
Hauke Petersen
1bc1dd94ba boards/stm32-based: added missing CLOCK_APBx defines 2016-12-09 12:20:02 +01:00
Oleg Hahm
ccb9179c23 Merge pull request #5824 from kaspar030/change_default_c_dialect
make: use -std=c99 as default
2016-12-08 13:44:34 -05:00
Hauke Petersen
b97e26b31b boards/weio: removed deprecated GPIO_x defines 2016-12-07 10:44:46 +01:00
Hauke Petersen
281fe83ac8 boards: added flashpage feature to NRFx based boards 2016-11-30 16:51:10 +01:00
Hauke Petersen
74f786cf83 boards/iotlab-m3: enabled periph_flashpage feature 2016-11-30 16:51:10 +01:00
Francisco Acosta
84d0d61279 Merge pull request #5608 from gebart/pr/xtimer-ticks
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Martine Lenders
e054ae85d3 Merge pull request #6144 from miri64/native/enh/always-assert-verbose
native: always assert() verbosely
2016-11-29 21:08:34 +01:00
Joakim Nohlgård
7c48c891a0 xtimer: Update xtimer usage to match API changes 2016-11-29 20:44:31 +01:00
Martine Lenders
235375f664 native: always assert() verbosely 2016-11-29 19:28:23 +01:00
PeterKietzmann
94df5a81a8 boards/z1:increase SPI speed for on-board radio 2016-11-29 09:03:22 +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
df27ad28ce boards: added support for Calliope mini 2016-11-21 17:20:53 +01:00
ff151d1568 boards: remote-common: fancy_leds.h asm -> __asm__ 2016-11-15 14:59:36 +01:00
517efe4ccc cpu: native: use gnu99 C dialect 2016-11-15 14:59:36 +01:00
Hauke Petersen
2cc176e730 boards/microbit: optimized microbit_matrix_init() 2016-11-10 10:13:57 +01:00
Hauke Petersen
4641bac2ff boards: add support for BBC micro:bit 2016-11-09 12:01:09 +01:00
Hauke Petersen
878d0ed990 boards/udoo: removed deprecated GPIO defines 2016-11-03 09:25:02 +01:00
Francisco Acosta
eb06b13722 Merge pull request #5754 from locicontrols/cc2538-timer-pr
CC2538 periph/timer overhaul
2016-11-01 23:22:21 +01:00
f87dd60a3d boards/nucleo-common: provide arduino sketch feature to nucleo boards 2016-11-01 11:14:58 +01:00
Nicholas Jackson
6067dfb652 CC2650STK Debugger Support
Added additional support for the XDS100v3 debugger platform

Implemented default flash configuration for the XDS110 with support for XDS100v3 debugger with through DEBUGGER make flags
2016-11-01 11:08:54 +10:00
Martine Lenders
2d89169d00 Merge pull request #5991 from Yonezawa-T2/use_lldb
make: use LLDB if GDB is not available on native platform
2016-10-31 15:43:39 +01:00
Hauke Petersen
4b46005b11 Merge pull request #5980 from aabadie/fix_nucleo-f303_uart
boards/nucleo-f303: fix broken stdio uart dev
2016-10-31 13:45:31 +01:00
Martine Lenders
95792d348e iotlab-m3: add missing makefile include to dependencies
This got lost somehow in 10e9336. Without this fix gnrc_netdev_default
does not include the at86rf2xx module.
2016-10-30 13:14:57 +01:00
d072a43690 boards/nucleo-f303: map UART_0 (USART1) to stdio 2016-10-29 20:07:51 +02:00
Takuo Yonezawa
f2ea42c043 NEED SQUASHING make: use LLDB on Darwin 2016-10-27 14:50:16 +09:00
Martine Lenders
03867a0009 Merge pull request #5983 from smlng/pr/boards/remote-gpio_saul
boards/remote: add gpio and saul definitions
2016-10-26 22:48:41 +02:00
smlng
c649f8d7a5 boards/remote: add saul_gpio to Makefile.dep 2016-10-26 14:41:21 +02:00
smlng
26d138768b boards/remote: add saul gpio defs 2016-10-26 14:36:14 +02:00
smlng
2072321692 boards/remote: add BUTTON_GPIO macro 2016-10-26 14:36:14 +02:00
1659f56904 boards/nucleo-f070: initial support for nucleo-f070 board 2016-10-26 14:12:39 +02:00
Martine Lenders
8a7bfad282 Merge pull request #5730 from haukepetersen/add_driver_w5100
drivers: added support for W5100 Ethernet chips
2016-10-26 12:56:02 +02:00
Hauke Petersen
18c6824b38 boards/arduino-due: added config for W5100 shields 2016-10-26 08:36:58 +02:00
ba178c6c13 boards/nucleo-f030: adapt to automatically included common boards dependencies 2016-10-25 22:55:39 +02:00
Martine Lenders
e69ef1dbe0 Merge pull request #5993 from haukepetersen/fix_nucleof103_stdio
boards/nucleo-f103: remove STDIO_UART definition
2016-10-25 22:03:00 +02:00
Hauke Petersen
bee57a4d6a Merge pull request #5798 from aabadie/nucleo-f030
boards: initial support for Nucleo f030 board
2016-10-25 19:50:59 +02:00
Cenk Gündoğan
41011184a5 Merge pull request #5988 from cgundogan/pr/native/term
boards/native: set PORT to tap0
2016-10-25 19:40:44 +02:00
Hauke Petersen
6892b4d327 boards/nucleo-f103: remove STDIO_UART definition
The board is using the default value, so no need to
redefine it...
2016-10-25 18:59:58 +02:00
Takuo Yonezawa
160ef548f8 make: use LLDB if GDB is not available 2016-10-25 16:31:40 +09:00
Francisco Acosta
cf52392de5 Merge pull request #5981 from aabadie/fix_nucleo-f103_uart
boards/nucleo-f103: set stdio uart to USB port by default
2016-10-25 08:57:25 +02:00
Martine Lenders
6434687271 Merge pull request #5989 from haukepetersen/fix_stm32f103cb_linkerscript
cpu/stm32f103cb: generalize linkerscript
2016-10-24 22:42:42 +02:00
Martine Lenders
740d39036a Merge pull request #5982 from haukepetersen/fix_nucleol1_gpioconfig
boards/nucleo-l1: removed deprecated GPIO config
2016-10-24 17:46:12 +02:00
Hauke Petersen
f2eb4618f2 boards/spark-core: added custom linkerscript 2016-10-24 17:36:31 +02:00
Martine Lenders
3225f020e5 Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
Cenk Gündoğan
50a77aa7e6 boards/native: set PORT to tap0
`PORT` is unset if `netdev2_tap` is not in `USEMODULES`.
But unfortunately, `netdev2_tap` is set by boards/native/Makefile.dep
*after* `PORT` is set, so that `PORT` remains empty.

This commit breaks this circular dependency by checking for
`netdev_default` and `gnrc_netdev_default` instead.

Without this commit, `make term` throws an error for examples that
require a tap interface, when `PORT` is not explicitely given.
2016-10-24 12:05:10 +02:00
Hauke Petersen
0bd00789b8 boards/nucleo-l1: removed deprecated GPIO config 2016-10-21 17:45:21 +02:00
7ee1b9a6f3 boards/nucleo-f103: set stdio uart to USB port by default 2016-10-21 16:47:54 +02:00
smlng
95ab1ae705 boards/remote: add Makefile.dep
add missing Makefile.dep files to boards remote-pa, remote-reva, and
remote-revb, as introduced by #5891. Otherwise certain features are
not working, such as radio.
2016-10-21 14:49:44 +02:00
Antonio Lignan
2a4437bf8f RE-Mote: added new revision B 2016-10-21 14:41:52 +02:00
Emmanuel Baccelli
d588c62508 Merge pull request #5925 from kYc0o/fix_usb_m3_mac
boards/iotlab-common: small fix to select right serial port
2016-10-20 12:19:30 +02:00
Martine Lenders
bef0231133 Merge pull request #5891 from kaspar030/improve_module_deps
make: improve module dependencies
2016-10-19 12:50:37 +02:00
560a509036 make: remove trailing slash from BINDIR variable 2016-10-18 23:27:59 +02:00
Hauke Petersen
c9788838fd Merge pull request #5917 from PeterKietzmann/telosb_add_cc2420
boards/telosb: add cc2420 configuration
2016-10-17 09:21:55 +02:00
3f29e77a4c boards/nucleo-f030: initial support 2016-10-12 14:32:25 +02:00
kYc0o
4c69ae8463 boards/iotlab-common: small fix to select right serial port 2016-10-11 15:23:37 +02:00
Kees Bakker
9fc6cdeae4 boards/sodaq-autonomo: use comma on last element of a list too 2016-10-10 22:03:16 +02:00
PeterKietzmann
5c1c61d634 boards/telosb: add cc2420 configuration 2016-10-07 17:06:56 +02:00
Hauke Petersen
b514c2eb09 boards/arduino-zero: adapted periph_conf
- changed names of pad selection macros according to
  the CPU changes
2016-10-07 11:09:09 +02:00
Hauke Petersen
76b0835d4e boards/sodaq-autonomo: adapted uart and spi config
adjusted names for spi and uart pad selections
2016-10-07 11:09:09 +02:00
Hauke Petersen
93869e5e5b boards/samr21-xpro: adapted uart and spi config
adjusted names for spi and uart pad selections
2016-10-07 11:09:08 +02:00
Francisco Acosta
ba6a8e06b0 Merge pull request #5475 from aabadie/arduino_zero
boards/arduino-zero: add initial support
2016-10-06 20:26:33 +02:00
e10fe92027 Merge pull request #5902 from keestux/autonomo-openocd
board/sodaq-autonomo: correct openocd configuration
2016-10-04 20:52:48 +02:00
68acc8857e boards/arduino-zero: add initial support 2016-10-04 18:34:51 +02:00
ab2a255f5e Merge pull request #5893 from jfbortolotti/nRF52_flashing
nRF52: Fix softdevice.hex flashing issue
2016-10-04 14:23:01 +02:00
Kees Bakker
ac11aa70df board/sodaq-autonomo: correct openocd configuration (with example command) 2016-09-29 22:17:29 +02:00
Jeff Bortolotti
fd87e3dae8 nRF52 Fix softdevice.hex flashing issue 2016-09-29 22:02:36 +02:00
f2c5314643 Merge pull request #5860 from keestux/add-sodaq-autonomo
boards: add sodaq autonomo
2016-09-29 22:00:38 +02:00
10e9336c78 boards: adapt to automatically included boards/$board/Makefile.dep 2016-09-29 15:41:12 +02:00
Peter Kietzmann
d33786d0c7 Merge pull request #5706 from aabadie/nucleo_f446
boards: initial support of ST Nucleo f446
2016-09-29 13:25:45 +02: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
Martine Lenders
fc1e974102 Merge pull request #5493 from OlegHahm/silent_valgrind
native: let valgrind print the leak summary at the end
2016-09-29 08:41:35 +02:00
Oleg Hahm
7767d5a101 native: enable valgrind's leak summary 2016-09-29 00:37:33 +02:00
Kees Bakker
076d5bda11 boards: add support for SODAQ Autonomo
The following features were tested (briefly):
* UART (the first)
* I2C using a BMP180 on a SODAQ TPH board
* SPI0, connected to the on-board serial data flash (only DevID was read
using the periph_spi test program)
* xtimer is working (it's the same code as in samr21)

boards/sodaq-autonomo: Disable the "big" unittests because it does not fit
2016-09-28 18:02:16 +02:00
d93d2e73a3 boards/nucleo-f446: initial support 2016-09-28 17:00:56 +02:00
0e45604765 Merge pull request #5743 from keestux/refactor-samd21
Refactor samd21
2016-09-22 14:54:57 +02:00
b2b42c7b71 Merge pull request #5451 from mali/uno
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
5b8cfb0b58 boards/arduino-common: use software interrupt for context swap 2016-09-21 22:44:05 +02:00
Ludwig Knüpfer
6d30ced410 Merge pull request #5763 from jthacker/avr_thread_arch_isr_stack_usage
atmega: use software interrupt for context swap
2016-09-21 21:13:05 +02:00
Laurent Navet
80cf8389a8 boards: add arduino uno and duemilanove support
Uno and Duemilanove(atmega328p version) are nearly the same boards.
The only difference is that the Duemilanove use an FTDI usb chip,
while the Uno use an Atmel which acts as USB/Serial converter.
All of the code needed to support these boards is in arduino-common.
2016-09-21 21:11:01 +02:00
Kees Bakker
ea8b90fa5f cpu/samd21: uart: now using padd setting from board config
Notice the extra fields in uart_conf_t for rx_pad and tx_pad.
2016-09-21 20:34:22 +02:00
Kees Bakker
845ef0decd cpu/samd21: Refactor spi using ArduinoCore as example
The pinmux is now part of the board config. The pad setting is done with
clear names instead of numbers.
2016-09-21 20:34:22 +02:00
Kees Bakker
2a4655b6f8 cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom
The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.

Also the configuration for the boards was incomplete (no MUX, no pad
setting).

It was tested on a SODAQ Autonomo, but not on a samr21-xpro
2016-09-21 20:34:22 +02:00
Kees Bakker
8644b5f7a0 cpu/samd21: introduce sam0.h so that we can select samr21.h or other
In the Makefile.include of the board it is required to set the correct
define.

Currently only SAMRG18A is supported, as required by samr21-xpro.
2016-09-21 19:43:30 +02:00
Joakim Nohlgård
0a15d1b2ed Merge pull request #5838 from gebart/pr/nucleo-f207-mcu-group
boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP
2016-09-19 12:55:29 +02:00
Joakim Nohlgård
ee486fd908 Merge pull request #5794 from smlng/pr/fix_osx_5742
correcting linker LTO flags on OSX
2016-09-16 17:37:52 +02:00
Joakim Nohlgård
8160717485 boards/nucleo-f207: Use cortex_m3_2 MCU_GROUP 2016-09-16 17:07:14 +02:00
Cenk Gündoğan
674f7a1cf9 Merge pull request #5843 from smlng/pr/boards/nucleo-f207/fixing_cpp11
nucleo-f207: fix uart configuration init
2016-09-16 12:10:04 +02:00
smlng
20fd33c927 nucleo-f207: fix uart configuration init 2016-09-15 13:43:57 +02:00
Martine Lenders
8a74475e70 Merge pull request #5761 from mali/rmdeadcode
boards/atmega_common: remove dead code on link
2016-09-12 17:01:15 +02:00
smlng
291c1a54eb native: correcting linker LTO flags for OSX
- corrects and enhances changes introduced in #5742
2016-09-12 15:41:38 +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
3a7e3f4cb7 boards/waspmote-pro: adapt compilation flags
Remove flags which are now exported in atmega_common
2016-08-31 21:34:01 +02:00
Laurent Navet
5791a38668 boards/arduino-mega2560: adapt compilation flags
Remove flags which are now exported in atmega_common
2016-08-31 21:32:10 +02:00
26e4004de4 Merge pull request #5397 from OTAkeys/pr/stm32f2xx
cpu: add stm32f2xx family support (based on #4497)
2016-08-31 21:14:37 +02:00
kYc0o
5e3747ea8b Merge pull request #5590 from mali/atmega_common
cpu/atmega_common: improve to add smaller atmega MCUs.
2016-08-31 18:29:53 +02:00
PeterKietzmann
5eafb071a6 dist/tools/cc2538-bsl: enforce python2 2016-08-30 23:38:14 +02:00
Peter Kietzmann
8264f41e91 Merge pull request #5708 from aabadie/nucleo_saul_support
boards/nucleo-common: add saul support for on-board user led and button
2016-08-30 17:14:17 +02:00
Joakim Nohlgård
455fb6cd4d Merge pull request #5742 from kaspar030/fix_lto
LTO fixes
2016-08-29 19:00:09 +02:00
3bb782f864 boards/nucleo-common: add saul support for on-board user led and button 2016-08-29 10:56:54 +02:00
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +02: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
Ian Martin
abae801105 cpu/cc2538/periph/timer overhaul. support 16-bit and 32-bit modes 2016-08-16 15:07:26 -04:00
Joakim Nohlgård
4d95f8a0ba boards/x86-multiboot-common/Makefile.include: Add -Wl,--gc-sections to linker options 2016-08-10 16:18:29 +02:00
Joakim Nohlgård
db55740447 boards/arduino-mega2560: Add -Wno-error if building with LTO 2016-08-10 16:18:29 +02:00
Joakim Nohlgård
5fcb09f6b9 boards/native/Makefile.include: Add -Wl,--gc-sections to linker options 2016-08-10 16:18:29 +02:00
Joakim Nohlgård
efedaa1a43 boards/x86-multiboot-common: Use gcc-ar when building with LTO 2016-08-10 16:18:29 +02:00
Joakim Nohlgård
0e5522950a boards/native: Use gcc-ar when building with LTO 2016-08-10 16:18:29 +02:00
Martine Lenders
8dac0787bb Merge pull request #5655 from haukepetersen/add_due_saulmapping
boards/arduino-due: export LED via SAUL
2016-08-05 14:15:46 +02:00
Joakim Nohlgård
1ea462643f chronos: Fix stdio warnings 2016-08-02 09:19:29 +02:00
kYc0o
e443b90815 Merge pull request #5452 from locicontrols/find-tty
Adjust find-tty.sh to return all matches, then use it in boards/cc2538dk
2016-07-22 16:01:46 +02:00
Hauke Petersen
1a34cf66c0 boards/arduino-due: export LED via SAUL 2016-07-18 12:49:06 +02:00
Peter Kietzmann
592530985f Merge pull request #5555 from basilfx/feature/arch_pro
boards: seeeduino_arch-pro: initial support based on mbed_lpc1768
2016-07-17 19:03:40 +02:00
Martine Lenders
4ac7d81420 Merge pull request #5634 from kaspar030/nordic_softdevice
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-16 16:57:29 +02:00
Bas Stottelaar
b800da4322 boards: seeeduino_arch-pro: initial support based on mbed_lpc1768 board 2016-07-16 11:47:34 +02:00
e012df1bac nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice 2016-07-13 17:06:57 +02:00
Bas Stottelaar
43f146663e boards: arduino-mega2560, waspmote-pro: garbage collect dead code in linker options 2016-07-13 16:45:13 +02:00
Aaron Sowry
f5657127ea boards/remote-common: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
Aaron Sowry
bc18e597c0 boards/cc2538dk: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00
Aaron Sowry
4b4cbb0317 boards/openmote-cc2538: Add RF driver as dependency for board 2016-07-13 14:19:52 +12:00