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

3313 Commits

Author SHA1 Message Date
Gaëtan Harter
f7046f83fb cpu/efm32: Fix 'cpu' module name conflict
Rename 'cpu/efm32/families/efr32mg1p' module to 'cpu_efr32mg1p' to don't
conflict with 'cpu'.

Also required to set the path to vectors.o as its not provided by cpu.
2018-01-30 11:55:05 +01:00
Dan Evans
0f011d53de samd21/cpu DFLL lock loop error 2018-01-26 09:59:59 -07:00
4fe2490bc5 cpu/native/socket_zep: add ref to net_zep doxygen group 2018-01-24 21:41:31 +01:00
smlng
f63f3b2a4b cpu, native: replace timex_t in syscalls 2018-01-23 14:35:24 +01:00
Martine Lenders
d0140a9ec8
Merge pull request #8380 from miri64/gnrc_netif/enh/6lo-nrfmin
gnrc_netif: set-up 6Lo for NRFmin
2018-01-23 11:17:29 +01:00
f4d687502e cpu/native/socket_zep: fix doxygen grouping 2018-01-23 09:02:00 +01:00
smlng
5c38e1a56f socket_zep: remove unnecessary include 2018-01-22 15:28:19 +01:00
Martine Lenders
851eb767be gnrc_netif: set-up 6Lo for NRFmin 2018-01-18 13:00:25 +01:00
Sebastian Meiling
5c0b058db4
Merge pull request #6121 from miri64/native/feat/zep_socket
native: provide socket-based ZEP device
2018-01-18 10:03:08 +01:00
Martine Lenders
81ef15287a native: provide socket-based ZEP device 2018-01-18 09:15:37 +01:00
cefb7974d7
Merge pull request #8210 from astralien3000/teensy31
boards/teensy31 : initial support of Teensy 3.1 & 3.2
2018-01-18 09:14:51 +01:00
Loïc Dauphin
982f36cdb0 cpu/kinetis: add support of MK20D7 2018-01-17 18:13:59 +01:00
99d484f336 cpu/cortexm_common: select bitarithm_lsb() by available instructions 2018-01-16 23:35:14 +01:00
ca38df6960
Merge pull request #7469 from MichelRottleuthner/stm32l4_stmclk
stm32l4: implement stmclk interface
2018-01-15 17:38:28 +01:00
Sebastian Meiling
469a1bb632
Merge pull request #8360 from neiljay/pr/correct_usage_of_features_on_mips
mips: Correct usage of USEMODULE
2018-01-15 15:19:01 +01:00
Neil Jones
e297a71e8c mips: Correct usage of USEMODULE
In CPU definitions we should not be explicilty naming peripheral modules to use
via USEMODULE (one should use FEATURES_PROVIDED instead).
Plus add missing cpu_init() and periph_init() methods.
This commit removes periph_hwrng support from the pic32mx cpu builds as
pic32mx does not have hwrng only pic32mz does.
2018-01-15 14:02:59 +00:00
Sebastian Meiling
eb89954f13
Merge pull request #5166 from kaspar030/syntax_check_debug_code
core: debug: rely on optimizer to kick out unused debug code
2018-01-15 14:52:35 +01:00
4dd854da74 cpu/cc2538: DEBUG fixes 2018-01-15 14:37:05 +01:00
c398b74ae0 cpu: native: uart: adapt to changed DEBUG 2018-01-15 14:37:04 +01:00
Michel Rottleuthner
1e0258d493 stm32l4/stmclk: enable MSI/LSE trimming only with available LSE 2018-01-15 12:22:51 +01:00
Sebastian Meiling
7e7c573eaf
Merge pull request #8355 from beduino-project/fix-stm32f1-pullup
stm32f1: fix gpio mode GPIO_IN_PU
2018-01-15 09:27:08 +01:00
MichelRottleuthner
c33985dc81 stm32l4: implement stmclk functions 2018-01-14 16:58:53 +01:00
neiljay
bec3f12e0b
Merge pull request #8248 from neiljay/pr/mips_makefile_improvements
mips: clean up pic32 makefiles
2018-01-12 15:54:39 +00:00
Tristan Bruns
d4de629c34 stm32f1: fix gpio mode GPIO_IN_PU 2018-01-12 16:11:58 +01:00
kYc0o
af8deddbf1 cpu/stm32l1/vectors.c: fix model stm32l152ret6 -> stm32l152re 2018-01-11 18:48:14 +01:00
Matthieu Berthomé
1c6321791c puts => LOG_INFO for the MSP430 startup message 2018-01-11 09:27:20 +01:00
Daniel Frejek
2925ef9ab5 cpu/stm32f1: fixed flash page sizes 2018-01-09 22:06:27 +01:00
MichelRottleuthner
ee17dae5af pkg/fatfs: add vfs integration 2018-01-09 14:46:40 +01:00
Dylan Laduranty
87e3f10e8b
Merge pull request #8318 from PeterKietzmann/dnahm_nrf52_i2c
cpu/nrf52: add i2c driver and configs
2018-01-08 09:23:35 +01:00
paula75
128ab3a22e cpu/stm32l1: fix ADC resolution register 2018-01-05 14:24:51 -03:00
dnahm
6245b4165f cpu/nrf52: add i2c driver and configs 2018-01-04 10:51:05 +01:00
Neil Jones
0133de6e4f mips: clean up pic32 makefiles.
Make pic32m* depend on pic32_common which depends on mips32r2_common.
Remove some duplication.

This addresses some issues in #8052.
2018-01-02 13:59:08 +00:00
Bas Stottelaar
8f12b9896f cpu: efm32_common + ef32mg1p: replace with generalized efm32 cpu 2017-12-19 20:04:37 +01:00
65acefe478
Merge pull request #8002 from george-hopkins/stm32f103ze
cpu/stm32f1: add support for STM32F103ZE
2017-12-16 07:22:37 +01:00
ce274414ea cpu: add support for stm32l475vg 2017-12-15 13:36:45 +01:00
c1e20f8231
Merge pull request #7709 from smlng/cpu/sam0_common/enh_uart
cpu, sam0 common: adapt periph-uart to use read-only bit-fields
2017-12-15 12:45:10 +01:00
smlng
ba324ef07c cpu, cc2538: adapt uart to RIOT gpio API 2017-12-14 10:32:04 +01:00
smlng
150f3fb231 cpu/sam0_common: fix assert in periph/flashpage 2017-12-10 16:21:52 +01:00
Joakim Nohlgård
3a9cd9653f saml21: Update FEATURE_PERIPH_PM -> MODULE_PERIPH_PM 2017-12-08 05:22:09 +01:00
43e972fc61
Merge pull request #7970 from kYc0o/add_flashpage_write_raw
periph/flashpage: add flashpage_write_raw interface
2017-12-04 13:13:52 +01:00
George Hopkins
e3d42681b7 cpu/stm32f1: add support for STM32F103ZE 2017-12-01 21:20:56 +01:00
kYc0o
cb0d021811 cpu/sam0_common/Makefile.features: add periph_flash_raw 2017-11-30 17:25:35 +01:00
kYc0o
adc08d6578 cpu/sam0_common: add alignment and minimum size write block constants 2017-11-30 17:25:35 +01:00
fcb3fd9e70 cpu/sam0_common: add flashpage_write_raw() 2017-11-30 15:14:39 +01:00
Francisco Acosta
38880acad8
Merge pull request #7799 from kYc0o/factorise_stm32_ld
ld: refactor stm32 linker scripts
2017-11-30 14:28:51 +01:00
kYc0o
d6751dde22 cpu/stm32_common/Makefile.include: add ccm linker var 2017-11-30 14:11:08 +01:00
kYc0o
ab60f9dc47 cpu/stm32*/ldscripts: remove all stm32 family linker scripts 2017-11-30 14:11:07 +01:00
kYc0o
945d7f6887 cpu/stm32_common: add stm32_mem_lengths.mk to calculate ROM and RAM lengths 2017-11-30 14:11:07 +01:00
Martine Lenders
071d9c2d7f
Merge pull request #8176 from PeterKietzmann/pr_msp430_check_tim_chan
cpu/xxx430: correct channel check in periph timer driver
2017-11-29 17:09:21 +01:00
PeterKietzmann
b6b6fd2626 cpu/xxx430: correct channel check in periph timer driver 2017-11-29 16:47:09 +01:00
Bas Stottelaar
be24c66592 cpu: efm32_common: override CMU/EMU parameters in board.h. 2017-11-29 16:15:28 +01:00
Sebastian Meiling
a6c2558802
Merge pull request #8175 from smlng/cpu/efm32/fix_sign_compare
cpu, efm32_common: fix sign-compare error in flashpage
2017-11-29 16:14:10 +01:00
smlng
2be6cf0938 cpu, efm32_common: fix sign-compare error in flashpage 2017-11-29 15:20:37 +01:00
Bas Stottelaar
156240c3b6
Merge pull request #8166 from basilfx/feature/efm32_periph_improvements
cpu: efm32_common: add support for GPIO ports A-K and I2C2.
2017-11-29 10:46:04 +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
Bas Stottelaar
8660a1ba9e cpu: efm32_common: add support for GPIO ports A-K and I2C2. 2017-11-28 15:30:23 +01:00
Martine Lenders
39c122155c
Merge pull request #7995 from smlng/make/fix/unused_params
make: fix unused-params error
2017-11-28 14:46:23 +01:00
smlng
7309171303 build: fix unused parameter errors
cpu, sam0_common: fix unused parameter in periph/spi
        cpu, kinetis_common: fix unused parameter in periph/spi
        cpu, cc2538: fix unused param in periph/i2c
        cpu, cc2538: fix unused param in periph/spi
        cpu, sam3: fix unused param in periph/spi
        cpu, stm32_common: fix unused param in periph/pm
        cpu, stm32f3: fix unused params in periph/i2c
        cpu, nrf5x_common: fix unused param in periph/gpio
        cpu, nrf5x_common: fix unused param in periph/spi
        cpu, lpc2387: fix unused params in periph/spi
        cpu, cc2538: fix unused params in radio/netdev
        cpu, cc2650: fix unused params in periph/uart
        cpu, lm4f120: fix unused param in periph/spi
        cpu, lm4f120: fix unused params in periph/timer
        cpu, lm4f120: fix unused params in periph/uart
        cpu, stm32_common: fix unused params in periph/dac
        cpu, stm32l0: fix unused params in periph/i2c
        cpu, msp430fxyz: fix unused params in periph/uart
        cpu, mips: fix unused params
        cpu, cc430: fix unused-params in periph/timer
        cpu, msp430fxyz: fix unused params in periph/spi
        drivers, cc2420: fix unused param
        cpu, mips32r2_common: fix unused params in periph/timer
        cpu, cc2538: fix unused-param in periph/i2c
        cpu, mips32r2_common: fix unused-param in periph/timer
        cpu, msp430fxyz: fix unused params in periph/timer
        cpu, atmega_common: fix unused params in periph/spi
        driver, nrfmin: fix unused params
        cpu, cc2538_rf: fix unused params
        driver, netdev_ieee802514: fix unused param
        cpu, mip_pic32m: fix unused params
        cpu, lpc2387: fix unused params in periph/pwm
        tests/driver_sdcard_spi: fix unused params
        cpu, sam3: fix unused param in periph/pwm
        tests/driver_dynamixel: fix unused params, and style issues
        cpu, cc430: fix unused param in periph/rtc
        cpu, atmega_common: fix unused params in periph/i2c
2017-11-28 14:36:01 +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
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
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
Gaëtan Harter
2375fcd82e cpu/mips32r2_common: BUG add periph_timer globally to mips32r2_common. 2017-11-24 17:15:58 +01:00
Gaëtan Harter
2d8c96820d cpu/mips_pic32mx/mz: add missing mips32r2_common/Makefile.features 2017-11-24 16:47:36 +01:00
Gaëtan Harter
68945246ef cpu/mips_pic32mx/mz: remove unneeded USEMODULE in Makefile
USEMODULE in Makefile is not used by the build system and so does nothing.
2017-11-24 16:44:46 +01:00
Gaëtan Harter
71b6fce711 cpu/mips_pic32_common: prefix modules with mips_pic32_common namespace
This prevents clash between modules names cpu and periph with main cpus.

Add dependency management in Makefile.include to keep things contained.
2017-11-24 16:44:46 +01:00
Gaëtan Harter
383a69dfd2 cpu/mips32r2_common: prefix modules with mips32r2_common namespace
This prevents clash between modules names cpu and periph with main cpus.

Add dependency management in Makefile.include to keep things contained.
2017-11-24 16:44:46 +01:00
Gaëtan Harter
c835ddf4e9 cpu/mips32r2_common: only build newlib_syscalls_mips_uhi when needed 2017-11-24 16:44:46 +01:00
Gaëtan Harter
1a8bb14acc cpu/mips32r2_common: mips32r2_common/include INCLUDES path.
Add include path for 'eic_irq.h' file and fix c files relative include.

Also remove wrong include to it in 'mips_pic32_common'.
2017-11-24 16:44:46 +01:00
Gaëtan Harter
d864e79c4a cpu/mips32r2_common: Use common 'Makefile.include' for cpus
Use mips32r2_common 'Makefile.include' to simplify depending cpus:

'mips_pic32mx', 'mips_pic32mz' and 'mips32r2_generic'.
2017-11-24 16:44:46 +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
Hauke Petersen
58567ae33f cpu/stm32l4: optmized isr vector definitions 2017-11-22 13:53:39 +01:00
Hauke Petersen
e5083ab5b7
Merge pull request #8047 from basilfx/feature/ikea-tradfri
boards: ikea-tradfri: add support
2017-11-21 11:17:10 +01:00
15f10b088c
Merge pull request #8015 from haukepetersen/fix_stm32_isrvectors
cpu/stm32f0: fix missing isr vectors
2017-11-21 09:16:50 +01:00
Bas Stottelaar
db214508cb cpu: efm32mg1p: add support for the efr32mg1p132f256gm32. 2017-11-20 17:38:05 +01:00
smlng
d03551756f cpu, cc2538: adapt periph drivers to refined gpio handling 2017-11-17 20:06:41 +01:00
smlng
8fb71afa79 cpu, cc2538: refine gpio handling
- hide (more) internal functions
  - optimize gpio_init_af
  - remove obsolete code
2017-11-17 20:06:35 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
kYc0o
d0067b451f cpu/stm32_common/ldscripts: add stm32_common.ld to manage specific ST ccmram 2017-11-17 00:29:06 +01:00
32c10ae2c9 core, cpu: rename thread_start_threading() -> cpu_switch_context_exit() 2017-11-16 14:40:16 +01:00
86665b71bf cpu: adapt to COREIF_NG removal 2017-11-16 14:40:16 +01:00
Peter Kietzmann
ea5d61f9dd
Merge pull request #8018 from smlng/nrf51/fix_i2c
nrf51: fix returns and error codes in periph/i2c
2017-11-16 13:24:31 +01:00
Peter Kietzmann
e60a7504f9
Merge pull request #8017 from smlng/atmega_common/fix_i2c
cpu, atmega_common: fix returns and error codes in periph/i2c
2017-11-16 13:03:19 +01:00
Hauke Petersen
fc45d7c5ac cpu: remove support for x86 2017-11-16 10:35:16 +01:00
Hauke Petersen
b3654c2ead cpu/nrf52: some optimizations for ADC driver 2017-11-15 11:16:05 +01:00
dnahm
6f9a5004c6 drivers: add adc driver for nrf52 2017-11-15 11:15:10 +01:00
Bas Stottelaar
102d85b2a1 cpu: efr32mg1p: add support 2017-11-13 20:27:16 +01:00
Bas Stottelaar
0537e50614 cpu: efm32_common: add peripheral drivers 2017-11-13 20:27:16 +01:00
Hauke Petersen
89db77710f
Merge pull request #7963 from dylad/opt_sam0_gpio
cpu/sam0: share GPIO configuration
2017-11-13 14:58:56 +01:00
smlng
1540ec0509 nrf51: fix returns and error codes in periph/i2c 2017-11-13 13:38:47 +01:00
smlng
27c2ee50f9 cpu, atmega_common: fix returns and error codes in periph/i2c 2017-11-13 13:23:06 +01:00
Hauke Petersen
ba6f2a4c4f
Merge pull request #8013 from smlng/cpu/sam3/fix_periph_dac
cpu, sam3: fix periph/dac poweron
2017-11-13 12:46:35 +01:00
Hauke Petersen
eabbad3a1a cpu/stm32f0: fix missing isr vectors 2017-11-13 12:35:15 +01:00
smlng
eb8c55d7f7 cpu, sam3: fix periph/dac poweron 2017-11-13 12:03:05 +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
Martine Lenders
00d5484fcd
Merge pull request #8001 from george-hopkins/stm32-timer-multiplier
cpu/stm32_common: consider timer multiplier for PWM
2017-11-13 09:34:08 +01:00
George Hopkins
ebd525306a cpu/stm32_common: consider timer multiplier for PWM 2017-11-10 17:25:13 +01:00
Joakim Nohlgård
e3d5a70e0c cpu/cortexm: Remove leftover _estack declarations
These are leftovers from before the Cortex-M common ISR vectors were
split into vectors_cortexm.c
2017-11-10 15:38:14 +01:00
Laurent Navet
9de00af063 cpu/atmega_common: add adc driver 2017-11-10 14:19:08 +01:00
dylad
2f4254b0df cpu/sam0: ensure PD is selected
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-11-10 10:43:40 +01:00
dylad
a06ace7904 cpu/sam0: share GPIO configuration
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-11-10 10:43:08 +01:00
Joakim Nohlgård
33e751e8a8 kinetis: Remove periph driver xxx_NUMOF guards 2017-11-10 10:43:00 +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
19d407a3e9 kinetis: Add script for generating vendor header include lines 2017-11-10 10:42:59 +01:00
Joakim Nohlgård
22c52bd3a8 kinetis: Unify all Kinetis CPUs in one directory 2017-11-10 10:42:59 +01:00
Joakim Nohlgård
cb8e3f19a2 kinetis: Use one ldscript for all CPUs 2017-11-10 10:42:54 +01:00
Joakim Nohlgård
0dabad20b4 kinetis: Extract detailed information from CPU_MODEL 2017-11-10 10:39:53 +01:00
Peter Kietzmann
d689a0c8a6
Merge pull request #7982 from haukepetersen/opt_nrf5x_periphfileguards
cpu/nrf51: remove guards from periph drivers
2017-11-10 09:52:46 +01:00
3e04051981
Merge pull request #7983 from haukepetersen/opt_stm32_periphfileguards
cpu/stm32: removed file guards from periph drivers
2017-11-09 17:34:29 +01:00
Hauke Petersen
5c31d20fe9
Merge pull request #7984 from haukepetersen/opt_sam_periphfileguards
cpu/samX: remove guards from periph drivers
2017-11-09 17:26:14 +01:00
Hauke Petersen
8bf0d18027 cpu/stm32f4: fixed cppcheck issue in i2c driver 2017-11-09 16:27:25 +01:00
Hauke Petersen
1343f9dc3d cpu/stm32f2: fixed cppcheck issue in i2c driver 2017-11-09 16:27:24 +01:00
Hauke Petersen
87200c4803 cpu/stm32: removed file guards from periph drivers 2017-11-09 16:27:24 +01:00
283c207c55
Merge pull request #7864 from Marc-Aurele/i2c_timeout_l0
cpu/stm32l0: implement i2C non blocking mode
2017-11-09 14:50:13 +01:00
Hauke Petersen
ec27204408 cpu/sam0: fixed cppcheck issue in i2c driver 2017-11-09 13:53:15 +01:00
Hauke Petersen
b3962f8d2c cpu/sam0: removed guards form periph drivers 2017-11-09 12:57:02 +01:00
Hauke Petersen
50ad7e523f cpu/sam3: removed guards from periph drivers 2017-11-09 12:54:01 +01:00
Hauke Petersen
399169ddcf cpu/nrf51: remove guards from periph drivers 2017-11-09 12:30:21 +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
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
Martine Lenders
5ce13b3562
Merge pull request #7362 from gebart/pr/kinetis-lpuart
kinetis: Add support for LPUART module in parallel with UART module
2017-11-08 01:06:58 +01:00
Aurelien Fillau
4eee79aade cpu/stm32l0: implement i2C non blocking mode
Timeouts have been added in I2C driver on the stm32l0
family so that any while loop do not stall the
task forever.

Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-11-07 22:24:58 +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
ec9897f9a3 cpu/sam0_commmon/ldscripts: remove all samd/l family linker scripts 2017-11-07 15:06:40 +01:00
kYc0o
4c86d95014 cpu/sam0_common/Makefile.include: add CPU ROM and RAM lengths 2017-11-07 15:06:39 +01:00
kYc0o
d25fd647e7 cpu/cortexm_common/ldscripts: add common linker script for cortexm family 2017-11-07 15:05:43 +01:00
kYc0o
4d681ac862 cpu/cortexm_common/Makefile.include: define linker length vars if set 2017-11-07 15:05:43 +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
268e763d63 make: move mcuboot related stuff to makefiles/mcuboot.mk 2017-11-07 12:28:41 +01:00
Sebastian Meiling
2c19595b7e
Merge pull request #7763 from photonthunder/sam0_common_uart_receive
cpu/sam0_common/periph/uart - don’t setup receive if no pin is selected
2017-11-06 17:33:42 +01:00
3ec8126c84 cpu: cortexm: provide periph_pm for all cortexm 2017-11-06 12:01:19 +01:00
6be2fb1f25 cpu: kinetis_common: rename periph/hwrng_rnga.c -> periph/hwrng.c 2017-11-06 12:01:19 +01:00
9bdde09884 cpu: mips32r2_common: always select periph_timer
(needed for gettimeofday())
2017-11-06 12:01:19 +01:00
f697d0d859 cpu: stm32_common: rename rtt_lptim.c -> rtt.c
This ensures that the rtt code is made available by depending on
periph_rtt.
2017-11-06 12:01:19 +01:00
443c8e39ed cpu: kinetis: make periph_rtc depend on periph_rtt 2017-11-06 12:01:19 +01:00
565eb9cf63 cpu: native: always select periph_uart 2017-11-06 12:01:19 +01:00
5c6c439920 cpu: mips32r2_common: adapt to periph.mk 2017-11-06 12:01:19 +01:00
5cd997fcdc cpu: kinetis_common: adapt to periph.mk 2017-11-06 12:01:19 +01:00
a20745b6c5 cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
Martine Lenders
60d543ab3d
Merge pull request #7862 from roberthartung/atmega_common_fix_periph
atmega_common: renames periph for atmega_common_periph
2017-11-06 11:55:59 +01:00
Robert Hartung
491f420651 cpu/atmega_common: renames periph module 2017-11-06 11:38:26 +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
7c9f6a4763
Merge pull request #7907 from gebart/pr/cortexm-fix-hardfault-print
cortexm_common: Correct offset for hardfault stack
2017-11-02 15:59:36 +01:00
f0a532932c cpu: native: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
9b36364db2 cpu: cc26x0: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
9d4cb7ac7f cpu: cc2538: reorganize Makefile.features 2017-11-02 12:59:46 +01:00
870f0e45ba cpu: sam3: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
d2415eadad cpu: lpc1768: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
bdd286c1e0 cpu: lm4f120: reorganize Makefile.features 2017-11-02 12:59:45 +01:00
7106aa4a59 cpu: ezr32wg: reorganize Makefile.features 2017-11-02 12:59:45 +01:00