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

3361 Commits

Author SHA1 Message Date
Joakim Nohlgård
f5edf56be4 kinetis: periph_cpu.h doc fixes 2018-03-02 08:06:46 +01:00
Joakim Nohlgård
a11c66382f kinetis: Add dependency on rtt for LPTMR time base 2018-03-02 07:37:14 +01:00
Bas Stottelaar
bcffbba480
Merge pull request #8718 from cladmi/pr/cpu/efm32/remove_timer_set
cpu/efm32/periph/timer: remove timer_set duplicate
2018-03-01 20:16:01 +01:00
Gaëtan Harter
04e180dd3d
Merge pull request #8719 from gebart/pr/kinetis-lpuart-align
kinetis: Align defines in uart.c
2018-03-01 17:58:37 +01:00
Gaëtan Harter
6f2eeca91b cpu/efm32/periph/timer: remove timer_set duplicate
timer_set is already provided by 'periph_common' so does not need to be
provided by cpu/periph.
2018-03-01 17:31:15 +01:00
Joakim Nohlgård
8f3fb59840 kinetis: Align defines in uart.c 2018-03-01 17:12:54 +01:00
Joakim Nohlgård
d8c80e245a kinetis: Fix shiftTooManyBitsSigned warning in GPIO driver 2018-03-01 14:35:22 +01:00
Sebastian Meiling
f5ef0bd09c
Merge pull request #8345 from danpetry/cc2538_uart
cc2538/include/periph_cpu.h: Changed UART configuration format for cc2538.
2018-03-01 12:02:59 +01:00
c450cdebeb
Merge pull request #8482 from cogip/qdec
drivers: Initial import of low-level QDEC driver interface
2018-02-26 17:44:58 +01:00
MichelRottleuthner
bad08596f6
Merge pull request #8399 from OTAkeys/fix/mtd_native_write
mtd_native: fix overlapping pages write check
2018-02-26 15:38:46 +01:00
Vincent Dupont
f04ecee9f6 mtd_native: fix overlapping pages write check 2018-02-26 15:32:06 +01:00
Gilles DOFFE
bee493ac71 cpu/stm32_common: add qdec implementation
* Add support for the STM32 encoder interface
* The STM32 only supports X2 and X4 modes.
* Enable interrupt handler on counter overflow
* Add simple test code for QDEC based on nucleo-f401 board

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:17:26 +01:00
Gilles DOFFE
07158755ea cpu/native: add qdec implementation
* Add support for the native encoder interface
* Native QDEC is there mostly for simulation
* Calling code will have to simulate QDEC increment/decrement

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2018-02-23 23:16:42 +01:00
Joakim Nohlgård
d4e5bea0a3 efm32: Use different values for each unsupported ADC res 2018-02-23 09:36:57 +01:00
Bas Stottelaar
11638eb1d6 cpu: efm32: fix typo in cpus.txt 2018-02-22 15:38:13 +01:00
Bas Stottelaar
864839cb90 cpu/efm32: efm32lg: add support 2018-02-21 19:16:49 +01:00
Bas Stottelaar
1e3fdce1d7 cpu/efm32: efm32lg: add vendor headers 2018-02-21 19:16:49 +01:00
Sören Tempel
3ce89aeb04 cpu/sam3: fix build failure with TOOLCHAIN=llvm 2018-02-21 15:32:00 +01:00
Peter Kietzmann
e853c7534f
Merge pull request #8555 from kaspar030/stm32f4_fix_adc_res
cpu/stm32f4: fix periph/adc resolution check
2018-02-19 10:05:18 +01:00
Francisco Acosta
25c818bef0 cpu/efm32: fix flashpage_erase 2018-02-16 18:21:49 +01:00
Bas Stottelaar
a68f47eca1 cpu/efm32: efm32gg: add support. 2018-02-16 13:57:17 +01:00
Bas Stottelaar
f9f1b9ebfa cpu/efm32: efm32gg: add vendor headers 2018-02-16 13:57:17 +01:00
Francisco Acosta
879e949967
Merge pull request #8572 from basilfx/bugfix/efm32_peripherals
cpu: efm32: fix ADC and RTC
2018-02-16 13:54:29 +01:00
Bas Stottelaar
2329b84935 cpu: efm32: fix ADC resolution selection
The `res` argument is a combination of resolution and shifting, combined using `(y << 4) | x`. To yield x, `0x0F` should have been used.
2018-02-15 21:14:09 +01:00
Bas Stottelaar
2af38d749c cpu: efm32: fix RTC for Series 0 MCUs.
Without fix:
  Setting alarm to   12627-11-30 15:00:05
   Alarm is set to   12722-01-25 07:13:03

With fix:
  Setting alarm to   2011-12-13 14:15:17
   Alarm is set to   2011-12-13 14:15:17
2018-02-15 21:12:40 +01:00
Joakim Nohlgård
b61eeb9fe0 kinetis: Allow per-board config of ADC ref
ADC reference can be external pin or internal VREF module on most
Kinetis CPUs.
2018-02-14 15:16:41 +01:00
Bas Stottelaar
76ca2c9bb3 cpu: efm32: use static mutex initialization. 2018-02-14 09:30:08 +01:00
83bff5c643 cpu: stm32_common: always do gpio_read() from input register 2018-02-13 21:51:45 +01:00
41dab11a8f cpu/stm32f4: fix periph/adc resolution check 2018-02-13 21:45:02 +01:00
Francisco Acosta
1b2ce2d559
Merge pull request #8544 from smlng/osx/cflags
cpu/native: reduce scope of CFLAGS for OSX compatibility
2018-02-13 14:29:54 +01:00
Francisco Acosta
ac9328381c cpu/cortexm_common: add NOP after WFI to avoid hardfault on stm32l152 2018-02-12 15:10:34 +01:00
smlng
15a7e6bb98 cpu/native: reduce scope of CFLAGS for OSX compatibility 2018-02-09 17:44:41 +01:00
Vincent Dupont
972eeefe6e stm32_common/rtt: add support for stm32f4 2018-02-08 17:39:39 +01:00
danpetry
cd449e388b cpu/cc2538: Adapted UART driver incl. board config
Changed the style of the UART configuration for different boards,
from a define based configuration to one based on an array of
structs, one struct for each UART, with the format of the struct defined
in cc2538/include/periph_cpu.h.

  - Defined the fields of the struct in periph_cpu.h
  - Removed the compilation includes that were in uart.c for each UART
  - Implemented a generic ISR subroutine for clarity
  - combined uart_base and uart_init in uart.c
  - used bitmask for the interrupt setup
  - took the uart Rx, Tx, and IRQ numbers out of the config
  (as this has to match the .dev field). Replaced with
  macros from the uart number
  - took out some unused code
  - implemented power on/off commands
  - removed reset function - now bytes are just discarded on error
  - Rx now not initialised if Rx callback = NULL, as per
  drivers/periph/uart.h
  - device is now enabled after callbacks are set, not before
  - asserts raised if rts and cts are enabled for UART0
  - BIT macro removed
2018-02-08 14:36:51 +01:00
Francisco Acosta
bba457290e
Merge pull request #8525 from kaspar030/namespace_mcuboot
make: mcuboot: add MCUBOOT_ namespacing
2018-02-07 17:57:24 +01:00
7847a91e12 cpu: instead of cpp-style, use C-style comments 2018-02-06 16:59:58 +01:00
3bfe4b6986 make: mcuboot: add MCUBOOT_ namespacing 2018-02-06 16:41:48 +01:00
dylad
391164a788 pkg: fix broken nordic softdevice package
Prevent CPU from using cortexm_init() when softdevice is used for NRF52 devices
as the softdevice already do some obscur inits
Also ensure the softdevice pkg will be used by hacking Makefile due to RIOT's
build system limitations (will be fix later with the new build system)
2018-02-05 17:04:13 +01:00
Bas Stottelaar
6a112bdf51
Merge pull request #8474 from basilfx/feature/efm32_pwm_mode
cpu: efm32: implement pwm modes.
2018-02-05 12:56:02 +01:00
Hauke Petersen
b1efc39348 cpu/nrf52: optimized i2c driver implementation 2018-02-02 11:34:40 +01:00
Hauke Petersen
787d69c676 cpu/nrf52: add CPU specific sleep function
This function is supposed to be used for putting the CPU into
sleep mode for short amounts of time (e.g. in typical polling
loops used in periph drivers).
2018-02-02 11:33:18 +01:00
Hauke Petersen
959e838836 cpu/nrf52: updated vendor header 2018-02-02 11:33:18 +01:00
Peter Kietzmann
047219aff3
Merge pull request #8486 from haukepetersen/fix_nrf52_i2c-mutexinit
cpu/nrf52/i2c: use static mutex initializtion
2018-02-02 10:53:50 +01:00
Martine Lenders
c982cc81ed
Merge pull request #8278 from smlng/cpu/native/replace_timex
cpu, native: replace timex_t in syscalls
2018-02-01 12:55:29 +01:00
Bas Stottelaar
e4d699ad46
Merge pull request #8471 from cladmi/pr/fix_tradfri_module_name_conflict
cpu/efm32: fix 'cpu' module name conflict
2018-02-01 08:41:03 +01:00
Bas Stottelaar
91b2627539 cpu: efm32: implement pwm modes. 2018-01-31 23:39:42 +01:00
Hauke Petersen
503e60ef25 cpu/nrf52/i2c: use static mutex initializtion 2018-01-30 19:07:26 +01:00
Martine Lenders
c0dcff6dd0
Merge pull request #8421 from aabadie/pr/zep_doxygen_bis
sys/net/zep: add missing doxygen brief description
2018-01-30 17:34:09 +01:00
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