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

2333 Commits

Author SHA1 Message Date
Hauke Petersen
59b3e0cedd boards/nucleo: move shared code to common/nucleo 2017-11-30 10:26:36 +01:00
Hauke Petersen
00a365b956 boards/nucleo32: move shared code to common/nucleo32 2017-11-30 10:26:36 +01:00
Hauke Petersen
f1135af3d7 boards/nucleo144: move shared code to common/nucleo144 2017-11-30 10:26:35 +01:00
Hauke Petersen
050a1ddeab boards/arduino-mkr: move shared code to common/arduino-mkr 2017-11-30 10:26:35 +01:00
Hauke Petersen
0f155db499 boards/arduino-atmega: move shared code to common/arduino-atmega 2017-11-30 10:26:35 +01:00
Hauke Petersen
eb2b9f2169 boards/iotlab: move shared code to common/iotlab 2017-11-30 10:26:35 +01:00
Hauke Petersen
6c118cfc0b boards/msb-430: move shared code to common/msb-430 2017-11-30 10:26:35 +01:00
Hauke Petersen
b7943900fc boards/msba2-based: move shared code to common/msba2 2017-11-30 10:26:35 +01:00
Hauke Petersen
4bcb353f89 boards/remote: move shared code to common/remote 2017-11-30 10:26:35 +01:00
Hauke Petersen
bd96d42ede boards/wsn430: move shared code to common/wsn430 2017-11-30 10:26:35 +01:00
Martine Lenders
19d983be6d
Merge pull request #8170 from Teufelchen1/master
boards: bluepill: invert LED state
2017-11-29 20:16:01 +01:00
Bennet Blischke
c7270cf997 boards: bluepill: invert LED state 2017-11-29 17:13:05 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Sören Tempel
eeebe934c4 bluepill: sort MCU peripherals alphabetically 2017-11-28 17:47:19 +01:00
neiljay
5ccfe68f1f
Merge pull request #8032 from cladmi/pr/cpu/mips_cleanup_modules
cpu/mips: make `mips32r2_common` only a common cpu and remove cpu/periph module duplicate names.
2017-11-28 13:34:30 +00:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
3659df8300
cc2538dk: add renode emulator as a provided feature 2017-11-24 18:48:58 +01:00
Martine Lenders
16e2829258
Merge pull request #7959 from antmicro/feature/renode-integration
makefiles: tools/renode: add support for Renode
2017-11-24 18:43:31 +01:00
Gaëtan Harter
062fbd85ce cpu/mips32r2_generic: add new cpu that depends on mips32r2_common
Prepare to make `mips32r2_common` only a common cpu and not a standalone one.
2017-11-24 16:44:46 +01:00
Bas Stottelaar
c51948ce9c boards: ikea-tradfri: add support for board. 2017-11-20 17:38:19 +01:00
kYc0o
f571814ded boards: add rom boot offset for boards w/bootloader 2017-11-17 17:08:41 +01:00
Joakim Nohlgård
f4e9cad85a boards: Separate boards from debug adapter configuration 2017-11-17 10:03:05 +01:00
smlng
5e7f0af450 boards, pba-d-01-kw2x: fix saul gpio init 2017-11-16 22:08:28 +01:00
Hauke Petersen
b3eb9b8cf2 boards: remove x86-multiboot-common 2017-11-16 10:35:05 +01:00
Hauke Petersen
99009af25e boards: remove support for qemu-i386 2017-11-16 10:35:05 +01:00
Bas Stottelaar
a45d626354 boards: sltb001a: add support for thunderboard sense 2017-11-13 20:27:16 +01:00
Peter Kietzmann
89994604af
Merge pull request #7954 from smlng/cpu/atmega/adc
cpu, atmega_common: add periph/adc
2017-11-13 11:44:56 +01:00
f6d7e54228
Merge pull request #7739 from kYc0o/factorise_sam0_ldscripts
ld: refactor sam0 ldscripts
2017-11-13 11:36:25 +01:00
Laurent Navet
9de00af063 cpu/atmega_common: add adc driver 2017-11-10 14:19:08 +01:00
Joakim Nohlgård
925a908d95 kinetis: Update RNGA driver configuration to automatically detect the module 2017-11-10 10:43:00 +01:00
Joakim Nohlgård
22c52bd3a8 kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
bb4af7b66b
Merge pull request #7971 from haukepetersen/fix_msb430h_removeconfigfeature
boards: remove non-existent feature 'config'
2017-11-09 15:24:01 +01:00
39b6726186
Merge pull request #7979 from haukepetersen/rm_board_pca1000x
boards: removed support for pca1000[0|5]
2017-11-09 14:42:50 +01:00
Hauke Petersen
fef2a4e162 boards/nrf6310: fixed doc 2017-11-09 14:00:09 +01:00
Hauke Petersen
ea73cc49ea boards: removed support for pca10005 2017-11-09 12:13:32 +01:00
Hauke Petersen
9447cb3034 boards: removed support for pca10000 2017-11-09 12:13:00 +01:00
Hauke Petersen
9c3ad1be94 boards/wsn430: removed empty 'drivers' dir 2017-11-09 09:56:27 +01:00
Hauke Petersen
abf5da085f boards: remove non-existent feature 'config' 2017-11-09 09:50:21 +01:00
847c4da441
Merge pull request #7964 from haukepetersen/fix_nucleo_features
boards/nucleo: removed duplicate features
2017-11-08 17:52:30 +01:00
Hauke Petersen
0536ac16ec boards/nucleo: removed duplicate flashpage feature 2017-11-08 17:43:18 +01:00
Hauke Petersen
8a9324d698 boards/nucleo: removed duplicate hwrng feature 2017-11-08 17:43:08 +01:00
Hauke Petersen
e116fd961f boards/msp430-based: removed flashpage feature
This feature is already defined by the (common) CPU implementation,
so no need to re-define it for each board.
2017-11-08 17:09:18 +01:00
Hauke Petersen
69fdbcfec6 boards/nucleo: removed duplicate cpuid feature 2017-11-08 16:59:41 +01:00
509ad6e4df
Merge pull request #7815 from Marc-Aurele/adc_l0
cpu/stm32l0 : implementation of ADC driver
2017-11-08 15:11:21 +01:00
Aurelien Fillau
9825245938 boards/nucleo-l073: add ADC configuration
ADC configuration added for nucleo-l073 board

Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-08 14:29:58 +01:00
Aurelien Fillau
9907908b2a cpu/stm32l0: add ADC driver implementation
Now, ADC is available on stm32l0 family. A calibration is
done at each new adc_sample. Moreover, when conversion is done,
VREFINT and temperature sensor are dactivated to save power.

Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-08 14:29:42 +01:00
Piotr Zierhoffer
0ca4f4252a boards: cc2538dk: add Renode test script 2017-11-08 12:43:16 +01:00
a860cb74f0 boards/msbiot: adapt board config for mpu9150 to new params scheme 2017-11-08 09:09:21 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
kYc0o
a7a41ad781 boards: add rom boot offset for boards w/bootloader 2017-11-07 15:06:40 +01:00
Joakim Nohlgård
00a0740fcc kinetis: Add support for LPUART module in parallel with UART module
A dispatcher function is implemented for directing writes to the correct
function. The dispatcher is bypassed completely if the CPU only contain
one kind of UART module.

There are at least two different UART hardware modules deployed in
different Kinetis CPU families (or possibly three or more when counting
variations of the UART module). The UART module is an older 8 bit module
with advanced functionality, while the LPUART is a 32 bit module with
focus on low power consumption.

 - The older families in the K series all have UART modules.
 - The K22F family have both UART and LPUART modules in the same CPU.
 - Older L series (e.g. KL25Z) have two variations of the UART module
 - Newer L series (e.g. KL43Z) have LPUART modules, and sometimes
   UART as well.
 - Newer W series (KW41Z) have only LPUART
2017-11-07 14:19:42 +01:00
443c8e39ed cpu: kinetis: make periph_rtc depend on periph_rtt 2017-11-06 12:01:19 +01:00
172c9e8066 boards: mulle: always select periph_rtt 2017-11-06 12:01:19 +01:00
337e9d80f2 boards/feather-m0: initial support 2017-11-05 22:19:07 +01:00
Cenk Gündoğan
1ea1fe9060
Merge pull request #7928 from smlng/board/bluepill/dfu
bluepill: dfu-util support
2017-11-03 13:22:40 +01:00
ae51dc55d0 boards: adapt to reorganized CPU Makefile.features 2017-11-02 12:59:46 +01:00
smlng
f0ef22232b bluepill: dfu-util support 2017-11-01 23:32:31 +01:00
Francisco Acosta
ba2e55bc93
Merge pull request #7436 from gebart/pr/mulle-rtt-config
mulle: Update RTT config to match other Kinetis boards
2017-10-31 15:38:14 +01:00
Joakim Nohlgård
5a85e28817 frdm-k22f: Correct copy pasta in LEDx macros 2017-10-28 13:56:04 +02:00
Sebastian Meiling
2e0917cd81
Merge pull request #7727 from beduino-project/bluepill-rebased
boards: add support for bluepill board
2017-10-27 20:33:07 +02:00
Sören Tempel
9b3714b0c4 add support for bluepill board 2017-10-27 16:06:50 +02:00
danpetry
20909b7f95 Removed the offending comma. 2017-10-26 12:10:24 +02:00
Hauke Petersen
ce75edc7c1 Merge pull request #7759 from haukepetersen/opt_calliope_saulinverted
board/calliope: add inverse flag to SAUL gpio conf
2017-10-24 13:58:30 +02:00
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00
Francisco Acosta
d1f128e245 Merge pull request #7685 from gebart/pr/openocd-refactor
openocd: Refactor openocd.sh script
2017-10-18 17:22:39 +02:00
Joakim Nohlgård
887ddcec69 mulle: Update flash verify script to use ELF version 2017-10-18 14:34:20 +02:00
Joakim Nohlgård
7713bede99 openocd: Refactor openocd.sh script
- Merge flash and flash-elf commands since they were identical except
  for the file name of the image
- Split GDB command from DBG environment variable to allow more easily
  configure front-ends for GDB via environment variables.
- Remove verbose tests of empty variables and replace by `: ${VAR:=default}`
- Remove passed command line arguments to sub-functions, they were
  unused in the functions anyway.
- Remove TUI variable, use `export DBG_EXTRA_FLAGS=-tui` to get the same
  result.
2017-10-18 14:34:20 +02:00
Hauke Petersen
66fb7e5c11 board/calliope: add inverse flag to SAUL gpio conf 2017-10-18 14:14:53 +02:00
Semjon Kerner
8474c524af boards/calliope: add description to mention the revision 2017-10-18 11:30:14 +02:00
Semjon Kerner
f8c28f4c8c boards/calliope: adapted pins for rev 1.0 2017-10-18 11:30:14 +02:00
Hauke Petersen
0a114d87f1 boards/z1: fixed LEDx_PIN definitions 2017-10-16 11:01:45 +02:00
Sebastian Meiling
c0a4f4de68 Merge pull request #7732 from smlng/board/xtimer_width
boards: add missing XTIMER_WIDTH
2017-10-13 20:33:03 +02:00
e5db719fad boards/sodaq-explorer: initial support 2017-10-13 17:24:46 +02:00
smlng
25378c7dd5 boards: add missing XTIMER_WIDTH 2017-10-13 10:53:11 +02:00
Joakim Nohlgård
329517f08d boards: Remove executable bit on various non-executable files 2017-10-13 10:29:34 +02:00
Kees Bakker
a84bacc662 boards/sodaq-autonomo: correct TX pin of uart2 2017-10-12 21:43:19 +02:00
Joakim Nohlgård
7c1c6ac282 Merge pull request #7646 from aabadie/samd21_bootloader
cpu/sam0-common: rename mkr ldscript to more a generic name
2017-10-10 19:39:48 +02:00
Martine Lenders
72edaa3e47 Merge pull request #7586 from cladmi/pr/saul/gpio
saul/gpio: Low footprint handling of active-low signals + state initialization
2017-10-10 18:49:02 +02:00
282f691871 boards/arduino-mkr-common: rename CPU to use new ldscript name 2017-10-07 23:07:16 +02:00
Francisco Acosta
ae3beb613e Merge pull request #7673 from gebart/pr/mulle-flash-bank
mulle: Remove second flash bank declaration from OpenOCD configuration
2017-10-06 18:11:51 +02:00
Andreas "Paul" Pauli
69476a7a6f Merge pull request #7624 from smlng/boards/cc2650_launchpad
boards: initial support for TI CC2650 LaunchPad
2017-10-05 17:26:06 +02:00
Gaëtan Harter
05402dea29 samr21-xpro/gpio: set LED/BUTTON gpios as inverted
This makes LED go off when set to 0 and button reads 1 when pressed.
2017-10-05 17:19:57 +02:00
4a5b9b592d Merge pull request #6702 from smlng/xtimer/refine_macros
xtimer: refine config macros
2017-10-05 13:43:47 +02:00
Joakim Nohlgård
4ee2e0c82b mulle: Remove second flash bank declaration from OpenOCD configuration
This is no longer required and causes problems with modern OpenOCD which
will automatically add all flash banks when probing Kinetis CPUs.
2017-10-05 12:33:37 +02:00
Hauke Petersen
1a3fefb6bf cpu/sam3: uart driver enhancements
- enabled driver to run in TX only mode
- make use of gpio_init_mux() for pin intialization
- simplyfied pin configuration
- adapted pin configuartion for arduino-due and udoo
2017-10-04 12:42:38 +02:00
Dan Evans
531e6f5008 sam0:usart - wake from sleep on receive line 2017-09-25 12:47:31 -06:00
56fa737d83 boards: makefiles indentation cleanup 2017-09-22 14:53:01 +02:00
smlng
b012cdb8ad xtimer: refine config macros
- auto set XTIMER_SHIFT relative to XTIMER_HZ
    - refine setting of XTIMER_WIDTH
2017-09-20 16:48:38 +02:00
Sebastian Meiling
307786973e Merge pull request #7613 from jonajames/feature/sam3_pio_toggle_issue
SAM3: macro LED0_TOGGLE not working
2017-09-20 14:11:45 +02:00
jonajames
1fcfb7b637 boards: fix LED0_TOGGLE for SAM3 based boards 2017-09-20 13:34:58 +02:00
Nicholas Jackson
18e90fe410 boards: initial support for TI CC2650 LaunchPad 2017-09-20 10:38:17 +02:00
lebrush
81bfb0c97a Merge pull request #7594 from lebrush/fix/atmega-context-switch
boards/arduino-atmega-common: use PD7 for ctx operations
2017-09-18 15:09:46 +02:00
Francisco Acosta
3bee2c0f82 Merge pull request #7601 from roberthartung/cpu_atmega_fix_prr
cpu/atmega: use power.h defines instead of direct register access
2017-09-14 14:18:32 +02:00
Robert Hartung
914025973d cpu/atmega: use power.h defines instead of direct register access 2017-09-14 14:04:14 +02:00
02e055fc81 make: include cpu Makefile.features from board Makefile.features 2017-09-14 13:15:52 +02:00
Victor Arino
94624c2b8b boards/arduino-atmega-common: use PD7 for ctx operations
This was previously configured to PC5 which is shared with the i2c
SCL line. PD7 is selected since it's the only pin which does not
have an additional function.
2017-09-12 22:02:06 +02:00
neiljay
23f4f9be73 Merge pull request #7386 from francois-berder/pic32-periph-rng
Wi-Fire: Add hardware RNG peripheral support
2017-09-08 10:42:36 +01:00