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

2652 Commits

Author SHA1 Message Date
Bas Stottelaar
3b14a584b8 boards: *: remove SPI_*_EN now rework is merged 2017-01-31 19:38:41 +01:00
Hauke Petersen
c560e28eb6 cpu/lpc2387: remove deprecatd I2C driver 2017-01-30 16:14:19 +01:00
Peter Kietzmann
40a6664831 Merge pull request #6499 from haukepetersen/fix_stm32l1_hardfaultonisr
cpu/cortexm: disable interrupts before sleeping
2017-01-27 16:21:19 +01:00
Hauke Petersen
3da9ceb705 cpu/cortexm: fixed cortexm_sleep() 2017-01-27 13:00:24 +01:00
Hauke Petersen
0ffd4e1411 cpu/stm32_common: fixed timer speed 2017-01-27 09:31:07 +01:00
ac82506d7d cpu: stm32: remove SPI rework leftovers 2017-01-26 11:16:31 +01:00
Peter Kietzmann
513b20ffd3 Merge pull request #4780 from haukepetersen/opt_periph_spi2
drivers/spi: reworked SPI driver interface
2017-01-25 22:07:36 +01:00
Oleg Hahm
c5abb08316 Merge pull request #4058 from daniel-k/pr/gdb_threads_openocd
cortex_m: Add debug symbols for OpenOCD/GDB thread support
2017-01-25 17:49:42 +01:00
Hauke Petersen
5bdb3bfa61 misc: aggregated doxygen fixes 2017-01-25 16:46:46 +01:00
Hauke Petersen
4bfce892d3 drivers/periph&cpu: add and use common periph_init() 2017-01-25 16:46:46 +01:00
Hauke Petersen
ed4cb561bb boards/remote: fixed includes 2017-01-25 16:46:46 +01:00
PeterKietzmann
3fa8a5e87c cpu/cc2538: fix spi_transfer_bytes 2017-01-25 16:46:46 +01:00
Hauke Petersen
0edef2a0e1 cpu/stm32*+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
849ce20f5c cpu/sam3+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
ea07a6817c cpu/sam0+boards: adapted to new SPI API
- adapted the SPI driver
- merged SPI driver for samr21 and saml21
- adapted all boards using the CPU
2017-01-25 16:46:45 +01:00
Hauke Petersen
10b0013315 cpu/lpc2387+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b097e0840b cpu/nrf5x+boards: adapted to new SPI API
- adapted the SPI driver
- merged SPI drivers from nrf51 and nrf52
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
d5e00e594a cpu/msp430fxyz+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
c97a88ecb8 cpu/lpc11u34+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
5880d0edda cpu/kinetis+boards: adapted to new SPI API
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
ca5f1befb3 cpu/cc2538+boards: adapted to SPI API changes
- adapted the SPI driver
- adapted all boards using the CPU
2017-01-25 16:46:05 +01:00
Hauke Petersen
b7109bd564 cpu/kinetis_common: added SPI scaler calc tool 2017-01-25 16:46:05 +01:00
Hauke Petersen
e38fc727af cpu/stm32_common: added SPI div calc tool 2017-01-25 16:46:05 +01:00
Hauke Petersen
f5595693f6 cpu/atmega_common: adapted SPI driver 2017-01-25 16:46:05 +01:00
be7771e0b9 cpu: cortexm_common: add define for number of non-isr exceptions 2017-01-25 10:22:03 +01:00
865008ea7e cpu: samd21: make isr vector table -pedantic safe 2017-01-25 10:22:02 +01:00
9ec39de1d0 cpu: samd21: misc Wextra fixes 2017-01-25 10:10:47 +01:00
d8f0eaf127 cpu: cortexm: fix signed<->unsigned compare 2017-01-25 10:10:47 +01:00
46d2f26c37 Merge pull request #6448 from OTAkeys/pr/stm32_rtc
stm32_common: unified RTC driver
2017-01-24 18:32:59 +01:00
Vincent Dupont
54dc75d63c cpu/stm32f1: fix flashpage driver HSI disabling 2017-01-24 18:11:06 +01:00
Vincent Dupont
e5a1c7835f cpu/stm32f0: add flashpage config in cpu_conf.h 2017-01-24 18:11:06 +01:00
Vincent Dupont
455881ee58 cpu/stm32f0: add periph/flashpage driver 2017-01-24 18:11:06 +01:00
Martine Lenders
4fb9249fa8 Merge pull request #6429 from smlng/pr/fix_doc
doc: correct typos
2017-01-24 15:28:44 +01:00
Vincent Dupont
05475f9600 cpu/stm32_common: unified RTC driver 2017-01-24 15:16:47 +01:00
Francisco Acosta
e44236d379 Merge pull request #6170 from haukepetersen/add_periph_romaddrtopage
drivers/flashrom: added addr-to-page function
2017-01-24 14:18:41 +01:00
d1db946188 Merge pull request #6344 from haukepetersen/opt_pm_misc
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Hauke Petersen
0c8b4e9755 cpu/lpc11u34: define CPU_FLASH_BASE value 2017-01-24 09:41:56 +01:00
Paul RATHGEB
750fb9ac61
cpu/lpc11u34 - Fixed GPIO_PIN macro
This macro is not coherent with the PORT_SHIFT def in gpio.c. This commit fixes the consistency.

Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-22 19:02:17 +01:00
Martine Lenders
5b1c00ad8b Merge pull request #6388 from astralien3000/opencm9-04
boards/opencm9-04 : initial support
2017-01-21 14:37:50 +01:00
Peter Kietzmann
5880047d76 Merge pull request #6423 from haukepetersen/opt_lpc11_pwm
cpu/lpc11u34: remodeled PWM driver
2017-01-20 18:11:31 +01:00
Loïc Dauphin
480e966737 cpu/stm32f1: add opencm9-04 specific linker script 2017-01-20 18:10:42 +01:00
Peter Kietzmann
5f26171e83 Merge pull request #6435 from ks156/master
cpu/lpc11u34: Bug with toggle function
2017-01-20 13:52:52 +01:00
smlng
34b96603fc cpu: doc typos 2017-01-20 13:36:26 +01:00
3e49d0c8c6 Merge pull request #6434 from aabadie/petersen_typo
cpu: fix typo in author email
2017-01-20 10:43:24 +01:00
Paul RATHGEB
9317c1a212
Toggle function is LPC_GPIO->NOT and not LPC_GPIO->CLR
Signed-off-by: Paul RATHGEB <paul.rathgeb@skynet.be>
2017-01-19 22:54:59 +01:00
245f60edfa cpu: fix typo in author email 2017-01-19 21:45:23 +01:00
Oleg Hahm
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
693636690c Merge pull request #6399 from OlegHahm/timex_constants
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Francisco Acosta
70fbcbf7ed Merge pull request #6311 from miri64/native/enh/multi-tap
cpu/native: allow for multiple netdev2_tap devices
2017-01-19 14:56:55 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Hauke Petersen
ce29ac305d cpu/lpc11u34: remodeled PWM driver 2017-01-19 12:49:28 +01:00
Martine Lenders
1f6f02e196 cpu/native: adapt start-up and auto-init for multiple netdev2_tap 2017-01-19 12:07:10 +01:00
Hauke Petersen
a37ba98bfd cpu/msp430-common: moved pm_reboot to periph/pm.c 2017-01-19 11:07:59 +01:00
261965d936 cpu/stm32f3: add support for stm32f303k8 2017-01-19 11:06:58 +01:00
Hauke Petersen
61045d127c cpu/lpc1768: unuse module periph_common 2017-01-19 11:05:44 +01:00
Hauke Petersen
801eeceb59 cpu/cortexm: removed unused pm include in panic.c 2017-01-19 11:05:44 +01:00
Hauke Petersen
409516c4d2 cpu/cortexm: moved pm.c to periph/pm.c 2017-01-19 11:05:44 +01:00
Hauke Petersen
cd53fe92e6 cpu/arm7: moved pm_reboot to periph/pm.c 2017-01-19 11:05:44 +01:00
Hauke Petersen
efa0aa1fa9 cpu/cc430|chronos: moved periph_common dep to CPU 2017-01-19 11:05:44 +01:00
Peter Kietzmann
224e4f50a7 Merge pull request #5927 from keestux/sam21_i2c_wait_for_response
sam21_common:i2c refactor a function to wait for response
2017-01-19 09:23:03 +01:00
Toon Stegen
37c4810fba cpu/native: allow multiple netdev2 tap devices
With arg added to async_read callback in 7020b7c0, we don't need to keep
track of netdev2_tap locally. As a result we can use multiple
netdev2_tap instances.
2017-01-18 23:03:44 +01:00
Hauke Petersen
a35709b4f8 Merge pull request #6360 from OlegHahm/periph_timer_remove_irq
periph timer: remove timer_irq_(en|dis)able
2017-01-18 22:58:21 +01:00
Oleg Hahm
7c04f05d29 Merge pull request #6337 from miri64/native/enh/pretty-startup
native: prettify argument parsing
2017-01-18 22:56:12 +01:00
Kees Bakker
2cbd3c4819 cpu/sam21:i2c: function _start was declared inline, but definition not 2017-01-18 21:30:13 +01:00
Kees Bakker
d509221e77 cpu/samd21:i2c: increase timeout in _start to facilitate SHT2x hold 2017-01-18 21:30:13 +01:00
Kees Bakker
bf4741d0d7 cpu/sam21_common:i2c: refactor a function to wait for response 2017-01-18 21:30:13 +01:00
Kees Bakker
8ca8640060 cpu/sam21_common:i2c: uncrustify 2017-01-18 21:30:13 +01:00
Peter Kietzmann
06da507c2f Merge pull request #6348 from haukepetersen/opt_pm_nrf
cpu/nrf5x: unified pm.c
2017-01-18 20:54:50 +01:00
Hauke Petersen
b5920a38b9 cpu/nrf5x: unified pm.c 2017-01-18 14:54:56 +01:00
Hauke Petersen
2c5a9a5cbf cpu/kinetis: unified PM implementation 2017-01-18 14:54:16 +01:00
079a6ec5f4 Merge pull request #6346 from haukepetersen/opt_pm_cortexmsleep
cpu/cortexm: added shared cortexm_sleep() function
2017-01-18 10:55:04 +01:00
20089be486 Merge pull request #6393 from haukepetersen/opt_stm32_pwmchanconf
cpu/stm32/pwm: made channel config more flexible
2017-01-18 09:02:47 +01:00
47f6ff3056 Merge pull request #6237 from kaspar030/rename_AD_to_Q
make: rename AD to Q
2017-01-17 16:16:02 +01:00
Hauke Petersen
346b51d9fa cpu/stm32/pwm: made channel config more flexible 2017-01-17 14:08:13 +01:00
Hauke Petersen
7b5d26340a cpu/lpc2387: cleanup for the PWM driver 2017-01-17 10:50:02 +01:00
a98c4c6bdd Merge pull request #6381 from cgundogan/pr/jenkins_ccache_optimizations
jenkins: ccache optimizations
2017-01-17 08:35:24 +01:00
Martine Lenders
9f5f51b2f0 Merge pull request #6368 from OlegHahm/doc_native_internal
doc: native: do not parse internal functions
2017-01-17 08:30:41 +01:00
Peter Kietzmann
274d77e6a5 Merge pull request #6378 from haukepetersen/fix_stm32f4_hwrngtypo
cpu/stm32f4: fixed minor typo in the hwrng driver
2017-01-16 22:30:25 +01:00
daniel-k
9d403d95ce cortex_m: Add debug symbols for OpenOCD/GDB thread support 2017-01-16 20:50:35 +01:00
Martine Lenders
456ae68fbe Merge pull request #6340 from gebart/pr/warn-fixes
sys+cpu: Some warning fixes
2017-01-16 17:18:29 +01:00
Cenk Gündoğan
d853dd63c1 cpu: make CFLAGS_DBG configurable 2017-01-16 15:54:59 +01:00
Hauke Petersen
65f27f073f cpu/stm32f4: fixed minor typo in the hwrng driver 2017-01-16 14:37:08 +01:00
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