Hauke Petersen
63599e25b4
cpu/msp430_common: fixed doxygen for msp430_types.h
2017-01-16 12:22:23 +01:00
Joakim Nohlgård
45c8bc47e8
kinetis_common: Fix -Wsign-compare in gpio.c
2017-01-16 08:55:08 +01:00
Joakim Nohlgård
8c82d9952b
cortexm_common: Fix -Wsign-compare warning in cortexm_init
2017-01-16 08:55:08 +01:00
Joakim Nohlgård
2c5e1065c5
cortexm_common: Fix unused parameter warnings in mpu_configure
2017-01-16 08:55:08 +01:00
Oleg Hahm
bfc439aa04
doc: native: do not parse internal functions
2017-01-15 13:06:43 +01:00
Oleg Hahm
d0316fa7ae
periph timer: remove timer_irq_(en|dis)able
2017-01-14 15:34:53 +01:00
Hauke Petersen
f8eaff4bbe
cpu: moved msp430-common to msp430_common
2017-01-13 13:33:32 +01:00
Hauke Petersen
ed5d7ac0fd
cpu/cortexm: added shared cortexm_sleep() function
2017-01-13 12:26:42 +01:00
5da88f794a
Merge pull request #6335 from kaspar030/fix_saml21_pm_init
...
cpu: saml21: re-add periph/pm initialization
2017-01-13 10:21:57 +01:00
Martine Lenders
e9d13d73bc
native: prettify argument parsing
2017-01-12 23:40:17 +01:00
Martine Lenders
72a3e7e6e1
Merge pull request #6174 from cgundogan/pr/netdev2_tap/assert_to_if
...
netdev2_tap: assert address len >= ETHERNET_ADDR_LEN
2017-01-12 22:28:56 +01:00
Cenk Gündoğan
aaf012ad83
netdev2_tap: assert address len >= ETHERNET_ADDR_LEN
2017-01-12 18:14:14 +01:00
389870e181
cpu: saml21: re-add periph/pm initialization
2017-01-12 17:48:11 +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
3faf8f6799
Merge pull request #6242 from ant9000/saml21_update_to_xdk3.33
...
SAM L21 update to ASF xdk 3.33
2017-01-12 17:07:10 +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
9d1c5f02d7
cpu: stm32_common: periph_cpu_common.h doxygen fix
2017-01-12 16:26:03 +01:00
5798beca64
cpu: stm32f1/2/4: unify periph/pm support
2017-01-12 16:26:02 +01:00
a8c5fcc5eb
cpu: saml21: add periph/pm support
2017-01-12 16:26:02 +01:00
c2b48ca230
cpu: nrf51: initial periph/pm support
2017-01-12 16:26:02 +01:00
f0cf52f622
cpu: nrf52: initial periph/pm support
2017-01-12 16:26:02 +01:00
662bec002a
cpu: k60: add periph/pm support
2017-01-12 16:26:02 +01:00
db823679aa
board: samr21-xpro: move periph_pm to cpu/samd21/Makefile.features
2017-01-12 16:26:02 +01:00
066332d6dc
cpu: stm32f1: add periph/pm support
2017-01-12 16:26:02 +01:00
0fb66a0fd1
cpu: cortexm: always use periph_common module
2017-01-12 16:26:02 +01:00
fa9fbabd97
cpu: x86: add stub periph_cpu.h
2017-01-12 16:26:02 +01:00
062b90788a
cpu: arm7_common: adapt to periph/pm
2017-01-12 16:26:02 +01:00
8c8ce5a092
cpu: x86: adapt to periph/pm
2017-01-12 16:26:02 +01:00
fb46d57705
cpu: msp430-common: adapt reboot to periph/pm
2017-01-12 16:26:01 +01:00
52d53a92ab
cpu: lpc1768: adapt to periph/pm
2017-01-12 16:26:01 +01:00
040c6e9967
cpu: lpc11u34: remove obsolete reboot implementation
2017-01-12 16:26:01 +01:00
3e365b89fa
cpu: atmega_common: adapt to periph/pm
2017-01-12 16:26:01 +01:00
f42e5381ee
cpu: samd21: add periph/pm support
2017-01-12 16:26:01 +01:00
807a190e20
cpu: cortexm: adapt to periph/pm
2017-01-12 16:26:01 +01:00
ca7bf15ac4
core: panic: adapt to pariph/pm
2017-01-12 16:26:01 +01:00
4291c1f839
native: support add periph/pm support
2017-01-12 11:24:15 +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
Hauke Petersen
8feeea9a12
cpu/cc2538: reworked GPIO driver
2017-01-11 10:19:06 +01:00
Oleg Hahm
e59f159664
doc: correct doxygen group for nrfmin
2017-01-10 20:04:09 +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
a05233633f
cpu/nrf5x: moved nrfmin driver to nrf5x_common
2017-01-10 11:54:49 +01:00
Hauke Petersen
36317c56f3
cpu/nrf51: ported nrmin radio driver to netdev2
2017-01-10 11:54:16 +01:00
Hauke Petersen
ee56f37809
cpu/nrf51: added I2C driver implementation
2017-01-10 11:52:36 +01:00
Hauke Petersen
8d48239f9b
cpu/nrf5: restructured periph_cpu.h files
...
- inserted one specific for each family (nrf51 and nrf52)
- renamed the common one to periph_cpu_common.h
2017-01-10 11:52:36 +01:00
Vincent Dupont
83b8495259
cpu/stm32f0: add support for stm32f042x6 mcu
2017-01-10 10:34:18 +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
Antonio Galea
ff8ed15aca
updated list of saml21 variants as defined in Atmel ASF v3.33.0
2017-01-09 18:29:32 +01:00
Antonio Galea
610767cb54
remove blank line at EOF
2017-01-09 17:32:50 +01:00
Antonio Galea
fa1e8fcfc9
saml21 cmsis includes: fix whitespace
2017-01-09 16:13:17 +01:00
Oleg Hahm
3485026a48
cpu: stm32: use unsigned as loop counter
2017-01-09 10:15:20 +01:00
Francisco Acosta
7b2dc4ff5d
Merge pull request #6252 from jthacker/avr_reboot_disable_interrupts
...
atmega_common: disable interrupts prior to rebooting
2017-01-06 15:29:36 +01:00
Hauke Petersen
ade8bd2a17
Merge pull request #6187 from haukepetersen/opt_stm32_uart
...
cpu/stm32x: unified UART driver implementations
2017-01-06 10:18:29 +01:00
Hauke Petersen
21300cb40f
cpu/stm32: fix timer speed for STM32F1 and F2
2017-01-05 14:47:38 +01:00
Hauke Petersen
c062bf71b9
Merge pull request #6177 from gebart/pr/kinetis-adc-clock-scaler-fix
...
kinetis: Fix ADC clock computation
2017-01-05 14:08:00 +01:00
Hauke Petersen
625d804fcb
cpu/stm32_common: unified UART driver
2017-01-05 11:00:18 +01:00
Hauke Petersen
5afb191027
cpu/stm32x: unified gpio_init_af() function
2017-01-05 10:58:54 +01:00
Hauke Petersen
d1db190f83
cpu/kinetis_common: reworked PWM driver
2017-01-05 10:55:15 +01:00
Oleg Hahm
84b2910657
Merge pull request #6253 from gebart/pr/newlib-nano-include-dir-fix
...
LLVM+newlib include path search fixes
2017-01-04 11:19:54 +01:00
Joakim Nohlgård
c2ccc1bfa0
kinetis: Fix ADC clock computation
...
The ADC prescaler computation was broken and gave too high ADC clock for
module clocks slower than 32 MHz (the >32 MHz case is already handled
separately)
2016-12-27 17:10:25 +01:00
Oleg Hahm
ea83b8c14f
Merge pull request #5856 from OTAkeys/pr/stm32f2_pll_i2s
...
stm32f2: add initialization of PLL I2S for MCO2
2016-12-23 10:47:29 +01:00
f44763f346
make: adapt Makefiles to AD -> Q rename
2016-12-22 12:12:38 +01:00
924fff7513
Merge pull request #6171 from haukepetersen/opt_cortex_isrend
...
cpu/cortexm: added and use central yield_from_isr() function
2016-12-22 09:32:25 +01:00
Joakim Nohlgård
e9f8608307
llvm: Only add -target to CFLAGS if TARGET_ARCH is set
2016-12-21 13:54:35 +01:00
Joakim Nohlgård
2001b36284
llvm: Refactor include path search
...
The patterns in GCC_CXX_INCLUDE_PATTERNS are tested in order from first
to last and the first matching pattern is used instead of the last.
The latest version within each pattern will be selected, like before, to
get the most recent tool chain version.
2016-12-21 13:08:48 +01:00
Joakim Nohlgård
9021001200
llvm: Add support for >=GCC-6 C++ headers on Gentoo
2016-12-21 13:08:00 +01:00
Hauke Petersen
adfd201a20
cpu/sam3: reworked PWM driver implementation
2016-12-21 13:06:27 +01:00
Hauke Petersen
38c7d11f8c
cpu/sam3: add gpio_init_mux() function
2016-12-21 13:05:59 +01:00
Hauke Petersen
3a00fe8e49
cpus: make use of cortexm_isr_end()
2016-12-21 11:28:46 +01:00
Hauke Petersen
04b246cb01
cpu/cortexm_common: added cortexm_isr_end() function
2016-12-21 11:27:46 +01:00
Jon Thacker
c62803d243
atmega_common: disable interrupts prior to rebooting
...
If the watchdog is being reset in another thread, then
the reboot will never take place. This commit disables interrupts prior
to setting the watchdog timer to 250ms. This functionallity was common
to all Atmega CPUs, so it was moved to atmega_common.
2016-12-20 17:22:39 -06:00
smlng
35adde55d2
cppcheck: cpu/cc2538 reduce scope of variables
2016-12-20 15:48:54 +01:00
Antonio Galea
9421152cb8
SAML21: updated periph driver to match ASF-3.33 includes
2016-12-19 18:27:47 +01:00
Antonio Galea
e936177646
SAML21: typo in README
2016-12-19 15:20:39 +01:00
Antonio Galea
eb1d267975
SAML21: updated CMSIS files to ASF XDK 3.33.0
2016-12-19 13:48:43 +01:00
Antonio Galea
11b6f47502
saml21: add README stating origin for SAML21 CMSIS includes
2016-12-19 13:30:01 +01:00
Ludwig Knüpfer
0d628b6dc3
Merge pull request #6110 from lebrush/stm32f1-no-pll
...
cpu/stm32f1: implement lpm + run without PLL
2016-12-18 19:33:04 +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
310e193494
Merge pull request #6224 from haukepetersen/rm_saml21_saml21periphh
...
cpu/saml21: removed unused saml21_periph.h
2016-12-16 21:07:27 +01:00
Pieter Willemsen
a0835ccb1d
stm32: use periph_clk_en/dis functions for clock changes
2016-12-16 15:01:56 +01:00
Pieter Willemsen
2b37d369a0
stm32_common: add delay when turn on peripheral clock
...
Implements workaround 1 (use __DSB()) proposed in the stm32 errata
It was possible to lose data when you configure a peripheral
right after enabling its clock
2016-12-16 14:51:35 +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
596f8c516b
Merge pull request #6189 from bergzand/stm32f401-i2c
...
cpu/stm32f4: Add I2C low speed support to the stm32f4
2016-12-16 14:30:44 +01:00
3ec401da61
cpu/stm32f4: add i2c low speed mode support
2016-12-15 20:56:10 +01:00
Hauke Petersen
4d09d09ee4
cpu/stm32x: unified PWM driver
2016-12-15 12:18:39 +01:00
Hauke Petersen
74bba2a183
cpu/saml21: removed unused saml21_periph.h
2016-12-15 11:59:54 +01:00
Hauke Petersen
fcb1e68732
cpu/sam0: renamed sam21_common to sam0_common
2016-12-15 11:47:03 +01:00
Hauke Petersen
bfb52afde9
cpu/sam21: unified structure for sam[drl]21 CPUs
2016-12-15 11:39:19 +01:00
Cenk Gündoğan
0b85959efc
Revert "netdev2_tap: return actual byte number on read request"
...
This reverts commit 613bceeae3
.
FIONREAD seems to be unsupported for tun/tap interfaces in Linux.
2016-12-14 14:17:14 +01:00
Vincent Dupont
283f0c3b29
stm32f2: improve MCO2 clock output support
...
MCO2 output prescaler can be set by using:
Valid values are in range 1 - 5
2016-12-14 10:56:46 +01:00
Toon Stegen
5f6b182a8d
stm32f2: add initialization of PLL I2S for MCO2
...
To use it, add the following defines to your periph_conf.h:
/* prescaler for 8MHz I2S clock */
#define ENABLE_PLLI2S_MCO2 1
#define CLOCK_PLL_I2S_R (6U)
#define CLOCK_PLL_I2S_N (240U)
2016-12-14 10:56:46 +01:00
Hauke Petersen
ad3ed80f05
cpu/arm7_common: s/u_long/unsigned long/
2016-12-13 13:26:37 +01:00
Hauke Petersen
2a62ec5f6b
cpu/stm32f[3|4] adapted PWM driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
0aa70faa3d
cpu/stm32f2: temporarily removed PWM driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
47b379e45d
cpu/stm32x: unified timer driver
2016-12-09 12:20:03 +01:00
Hauke Petersen
e50479f84f
cpu/stm32: changed TIM->CCR def in vendor headers
2016-12-09 12:20:03 +01:00
Hauke Petersen
7979c3ac5c
cpu/stm32_common: added periph_apb_clk() function
2016-12-09 12:20:02 +01:00