[riot-notifications] [RIOT] board/rf231usb: initial support for rf231usb (#3181)

Sebastian notifications at github.com
Tue Jun 9 22:12:38 CEST 2015


This adds support for the Atmel reference design RF231USB-RD. It was
tested against the dresden elektronik "Funk-Stick deRFusb" and should
work with all their 23E0x variants.

The design combines a ATSAM3S4B cpu with a AT86RF231 2.4Ghz radio
transceiver on a USB stick. It is optionally equipped with 2GB flash
memory.

All devices can be flashed with SAM-BA through USB or with openocd
through JTAG (if pin header present).

The radio transceiver is working. For timer issues see dependency #3180.

For now I work through JTAG and the serial console (UART0) on the JTAG pin header.
I had a working USB CDC serial console earlier but it comes with a lot of Atmel ASF code
and I do not know if I should include it or offer it as a package? What do you think? That is 
one of the reasons why include/conf_clock.h exists. It defines the clock sources with the names
that the USB code in ASF requires.

You can view, comment on, or merge this pull request online at:

  https://github.com/RIOT-OS/RIOT/pull/3181

-- Commit Summary --

  * tests: removed gpio_exti test
  * tests: remoldeled the periph_gpio test
  * drivers/gpio: overhaul of the periph GPIO driver
  * drivers/gpio: moved device enum to central file
  * drivers: adjusted driver to changed GPIO driver
  * cpu/stm32f4: remodeled GPIO implementation
  * cpu/stm32f3: remodeled GPIO driver implementation
  * cpu/saml21: remodeld GPIO driver implementation
  * cpu/samd21: remodeled GPIO driver implementation
  * cpu/nrf51822: remodeled GPIO driver implementation
  * cpu/cc2538: adjusted to changed GPIO interface
  * cpu/kinetis_common:  adjusted to changed GPIO if
  * cpu/lpc1768: added periph_cpu.h
  * cpu/sam3x8e: adjusted to changed GPIO interface
  * cpu/stm32f0: adjusted to changed GPIO interface
  * cpu/stm32f1: adjusted to changed GPIO interface
  * cpu/stm32l1: adjusted to changed GPIO interface
  * boards: adjusted peripheral confs to GPIO changes
  * tests/periph_spi: adapted to change GPIO driver IF
  * cpu/atmega2560: adapted to changed GPIO driver IF
  * squash: drivers/dht: adapted to GPIO IF changes
  * squash: cpu/cc2538: fixed comment
  * squash: cpu/stm32f0: removed old init_in
  * squash: gpio.h: s/OVRD/HAVE/
  * squash: samd21:  s/OVRD/HAVE/
  * squash: cpu/saml21: s/OVRD/HAVE/
  * squash: cpu/stm32f3: s/OVRD/HAVE/
  * squash: cpu/stm32f4: s/OVRD/HAVE/
  * cpu/sam3s: initial support for the Atmel SAM3S4B
  * board/rf231usb: initial support for rf231usb

-- File Changes --

    M boards/airfy-beacon/include/periph_conf.h (43)
    M boards/arduino-due/include/periph_conf.h (3)
    M boards/cc2538dk/include/periph_conf.h (2)
    M boards/fox/include/periph_conf.h (1)
    M boards/iot-lab_M3/include/periph_conf.h (1)
    M boards/mulle/board.c (12)
    M boards/mulle/include/periph_conf.h (1)
    M boards/nucleo-f091/include/periph_conf.h (1)
    M boards/nucleo-f334/include/periph_conf.h (1)
    M boards/nucleo-l1/include/periph_conf.h (1)
    M boards/openmote/include/periph_conf.h (1)
    M boards/pba-d-01-kw2x/include/periph_conf.h (1)
    A boards/rf231usb/Makefile (3)
    A boards/rf231usb/Makefile.dep (4)
    A boards/rf231usb/Makefile.features (5)
    A boards/rf231usb/Makefile.include (20)
    A boards/rf231usb/board.c (63)
    A boards/rf231usb/clock.c (110)
    A boards/rf231usb/dist/openocd.cfg (4)
    A boards/rf231usb/include/board.h (81)
    A boards/rf231usb/include/conf_clock.h (71)
    A boards/rf231usb/include/ng_at86rf2xx_params.h (48)
    A boards/rf231usb/include/periph_conf.h (102)
    M boards/saml21-xpro/board.c (2)
    M boards/saml21-xpro/include/periph_conf.h (73)
    M boards/samr21-xpro/include/board.h (17)
    M boards/samr21-xpro/include/periph_conf.h (90)
    M boards/stm32f0discovery/include/periph_conf.h (1)
    M boards/stm32f3discovery/include/periph_conf.h (1)
    M boards/stm32f4discovery/include/periph_conf.h (113)
    M boards/udoo/include/periph_conf.h (1)
    M cpu/atmega2560/periph/gpio.c (9)
    A cpu/cc2538/include/periph_cpu.h (35)
    M cpu/cc2538/periph/gpio.c (42)
    M cpu/kinetis_common/gpio.c (226)
    A cpu/kinetis_common/include/periph_cpu.h (35)
    A cpu/lpc1768/include/periph_cpu.h (33)
    A cpu/nrf51822/include/periph_cpu.h (46)
    M cpu/nrf51822/periph/gpio.c (249)
    A cpu/sam3s/Makefile (7)
    A cpu/sam3s/Makefile.include (5)
    A cpu/sam3s/cpu.c (31)
    A cpu/sam3s/include/component/component_acc.h (139)
    A cpu/sam3s/include/component/component_adc.h (516)
    A cpu/sam3s/include/component/component_chipid.h (174)
    A cpu/sam3s/include/component/component_crccu.h (122)
    A cpu/sam3s/include/component/component_dacc.h (225)
    A cpu/sam3s/include/component/component_efc.h (91)
    A cpu/sam3s/include/component/component_gpbr.h (68)
    A cpu/sam3s/include/component/component_hsmci.h (399)
    A cpu/sam3s/include/component/component_matrix.h (203)
    A cpu/sam3s/include/component/component_pdc.h (113)
    A cpu/sam3s/include/component/component_pio.h (1659)
    A cpu/sam3s/include/component/component_pmc.h (403)
    A cpu/sam3s/include/component/component_pwm.h (560)
    A cpu/sam3s/include/component/component_rstc.h (88)
    A cpu/sam3s/include/component/component_rtc.h (176)
    A cpu/sam3s/include/component/component_rtt.h (84)
    A cpu/sam3s/include/component/component_smc.h (159)
    A cpu/sam3s/include/component/component_spi.h (243)
    A cpu/sam3s/include/component/component_ssc.h (352)
    A cpu/sam3s/include/component/component_supc.h (312)
    A cpu/sam3s/include/component/component_tc.h (318)
    A cpu/sam3s/include/component/component_twi.h (232)
    A cpu/sam3s/include/component/component_uart.h (200)
    A cpu/sam3s/include/component/component_udp.h (200)
    A cpu/sam3s/include/component/component_usart.h (376)
    A cpu/sam3s/include/component/component_wdt.h (87)
    A cpu/sam3s/include/cpu_conf.h (40)
    A cpu/sam3s/include/hwtimer_cpu.h (40)
    A cpu/sam3s/include/instance/instance_acc.h (71)
    A cpu/sam3s/include/instance/instance_adc.h (107)
    A cpu/sam3s/include/instance/instance_chipid.h (57)
    A cpu/sam3s/include/instance/instance_crccu.h (83)
    A cpu/sam3s/include/instance/instance_dacc.h (91)
    A cpu/sam3s/include/instance/instance_efc.h (61)
    A cpu/sam3s/include/instance/instance_gpbr.h (55)
    A cpu/sam3s/include/instance/instance_hsmci.h (111)
    A cpu/sam3s/include/instance/instance_matrix.h (75)
    A cpu/sam3s/include/instance/instance_pioa.h (171)
    A cpu/sam3s/include/instance/instance_piob.h (159)
    A cpu/sam3s/include/instance/instance_pioc.h (159)
    A cpu/sam3s/include/instance/instance_pmc.h (105)
    A cpu/sam3s/include/instance/instance_pwm.h (255)
    A cpu/sam3s/include/instance/instance_rstc.h (59)
    A cpu/sam3s/include/instance/instance_rtc.h (77)
    A cpu/sam3s/include/instance/instance_rtt.h (61)
    A cpu/sam3s/include/instance/instance_smc.h (103)
    A cpu/sam3s/include/instance/instance_spi.h (95)
    A cpu/sam3s/include/instance/instance_ssc.h (109)
    A cpu/sam3s/include/instance/instance_supc.h (65)
    A cpu/sam3s/include/instance/instance_tc0.h (135)
    A cpu/sam3s/include/instance/instance_tc1.h (135)
    A cpu/sam3s/include/instance/instance_twi0.h (95)
    A cpu/sam3s/include/instance/instance_twi1.h (95)
    A cpu/sam3s/include/instance/instance_uart0.h (91)
    A cpu/sam3s/include/instance/instance_uart1.h (91)
    A cpu/sam3s/include/instance/instance_udp.h (77)
    A cpu/sam3s/include/instance/instance_usart0.h (109)
    A cpu/sam3s/include/instance/instance_usart1.h (109)
    A cpu/sam3s/include/instance/instance_wdt.h (59)
    A cpu/sam3s/include/periph_cpu.h (77)
    A cpu/sam3s/include/pio/pio_sam3s1a.h (245)
    A cpu/sam3s/include/pio/pio_sam3s1b.h (292)
    A cpu/sam3s/include/pio/pio_sam3s1c.h (410)
    A cpu/sam3s/include/pio/pio_sam3s2a.h (245)
    A cpu/sam3s/include/pio/pio_sam3s2b.h (292)
    A cpu/sam3s/include/pio/pio_sam3s2c.h (410)
    A cpu/sam3s/include/pio/pio_sam3s4a.h (245)
    A cpu/sam3s/include/pio/pio_sam3s4b.h (292)
    A cpu/sam3s/include/pio/pio_sam3s4c.h (410)
    A cpu/sam3s/include/sam3s.h (70)
    A cpu/sam3s/include/sam3s1a.h (472)
    A cpu/sam3s/include/sam3s1b.h (498)
    A cpu/sam3s/include/sam3s1c.h (523)
    A cpu/sam3s/include/sam3s2a.h (472)
    A cpu/sam3s/include/sam3s2b.h (498)
    A cpu/sam3s/include/sam3s2c.h (523)
    A cpu/sam3s/include/sam3s4a.h (472)
    A cpu/sam3s/include/sam3s4b.h (0)
    A cpu/sam3s/include/sam3s4c.h (0)
    A cpu/sam3s/ldscripts/sam3s4b.ld (0)
    A cpu/sam3s/lpm_arch.c (0)
    A cpu/sam3s/periph/Makefile (0)
    A cpu/sam3s/periph/gpio.c (0)
    A cpu/sam3s/periph/spi.c (0)
    A cpu/sam3s/periph/timer.c (0)
    A cpu/sam3s/periph/uart.c (0)
    A cpu/sam3s/startup.c (0)
    A cpu/sam3x8e/include/periph_cpu.h (0)
    I cpu/sam3x8e/periph/gpio.c (0)
    A cpu/samd21/include/periph_cpu.h (0)
    I cpu/samd21/periph/gpio.c (0)
    A cpu/saml21/include/periph_cpu.h (0)
    I cpu/saml21/include/saml21_periph.h (0)
    I cpu/saml21/periph/gpio.c (0)
    I cpu/saml21/periph/spi.c (0)
    A cpu/stm32f0/include/periph_cpu.h (0)
    I cpu/stm32f0/periph/gpio.c (0)
    A cpu/stm32f1/include/periph_cpu.h (0)
    I cpu/stm32f1/periph/gpio.c (0)
    A cpu/stm32f3/include/periph_cpu.h (0)
    I cpu/stm32f3/periph/gpio.c (0)
    I cpu/stm32f3/startup.c (0)
    A cpu/stm32f4/include/periph_cpu.h (0)
    I cpu/stm32f4/periph/gpio.c (0)
    I cpu/stm32f4/startup.c (0)
    A cpu/stm32l1/include/periph_cpu.h (0)
    I cpu/stm32l1/periph/gpio.c (0)
    I drivers/at86rf231/at86rf231.c (0)
    I drivers/cc110x/cc110x-spi.c (0)
    I drivers/cc110x/cc110x.c (0)
    I drivers/dht/dht.c (0)
    A drivers/include/periph/dev_enums.h (0)
    I drivers/include/periph/gpio.h (0)
    I drivers/kw2xrf/kw2xrf.c (0)
    I drivers/kw2xrf/kw2xrf_spi.c (0)
    I drivers/lis3dh/lis3dh.c (0)
    I drivers/lsm303dlhc/lsm303dlhc.c (0)
    I drivers/ng_at86rf2xx/ng_at86rf2xx.c (0)
    I drivers/nrf24l01p/nrf24l01p.c (0)
    I drivers/nvram_spi/nvram-spi.c (0)
    I drivers/pcd8544/pcd8544.c (0)
    I drivers/pir/pir.c (0)
    I drivers/xbee/xbee.c (0)
    I tests/periph_gpio/Makefile (0)
    I tests/periph_gpio/main.c (0)
    D tests/periph_gpio_exti/Makefile (0)
    D tests/periph_gpio_exti/main.c (0)
    I tests/periph_spi/main.c (0)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/3181.patch
https://github.com/RIOT-OS/RIOT/pull/3181.diff

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/3181
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20150609/b490de18/attachment-0001.html>


More information about the notifications mailing list