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

3138 Commits

Author SHA1 Message Date
smlng
fc5c432510 cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
fixes #7746
2017-10-18 16:01:38 +02:00
416ac62fbf pm: unify and set safe default pm_blocker 2017-10-16 14:32:27 +02:00
Hauke Petersen
942bfec5fb cpu/mips_pic32: fix doxygen for GPIO_PIN macro 2017-10-16 14:27:35 +02:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
508547d1bd Merge pull request #7385 from OTAkeys/pr/stm32_pm
cpu/stm32_common: fix stm32f1/2/4 pm
2017-10-16 13:52:12 +02:00
Sebastian Meiling
ca154a70d9 Merge pull request #7680 from haukepetersen/opt_stm32f1_isrvectors
cpu/stm32f1: optimized isr vector definitions
2017-10-13 20:36:25 +02:00
Sebastian Meiling
7e388b282d Merge pull request #7725 from aabadie/board/lorawan-explorer
boards/sodaq-explorer: add initial support
2017-10-13 20:32:28 +02:00
Hauke Petersen
05e13cdef8 Merge pull request #7731 from haukepetersen/opt_stm32_cpuid
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:12:41 +02:00
Hauke Petersen
5a35517787 cpu/stm32: optimized definition of CPUID_ADDR 2017-10-13 16:03:32 +02:00
eef753a933 cpu/sam0: adapt support for samd21j18a with bootloader 2017-10-13 14:22:51 +02:00
Martine Lenders
12bf670ac4 Merge pull request #7665 from aabadie/pr/stm32/periph_dox_fix
cpu/stm32_common/periph: fix doxygen parent group
2017-10-13 13:10:49 +02:00
Martine Lenders
6e8fc5cbe1 Merge pull request #7644 from smlng/cpu/sam0/flashpage
cpu, sam0_common: fix flashpage use bitfield
2017-10-13 12:05:44 +02:00
Hauke Petersen
43dc87f9c2 Merge pull request #7684 from haukepetersen/opt_stm32l0_isrvectores
cpu/stm32l0: optimized isr vector definitions
2017-10-13 11:30:53 +02:00
Hauke Petersen
fdc79aebc9 Merge pull request #7724 from aabadie/pr/cpu_samd21_pwm
cpu/samd21: skip pwm if not defined in board config
2017-10-13 10:52:32 +02:00
Sebastian Meiling
ff8c5a1254 Merge pull request #7622 from smlng/cpu/sam3/adapt2common
CPU: adapt SAM3 to sam_common
2017-10-12 22:41:01 +02:00
6be74db22b cpu/samd21: skip pwm if not defined in board config 2017-10-12 12:07:41 +02:00
Tristan Bruns
1b21eac448 cpu/stm32_common: fix clk_conf 2017-10-11 12:39:02 +02:00
Martine Lenders
2c7c3d8ae5 nrfmin: adapt for changes to gnrc_netif2_create() 2017-10-10 21:21:14 +02:00
Lucas Jenß
f6cd5572d5 Merge pull request #6024 from x3ro/cppcheck-suppress-explained
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 20:20:46 +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
Lucas Jenss
6998ffbb14 cppcheck: Provide consistent reason formatting for all cppcheck-suppresses 2017-10-10 10:25:20 -07:00
smlng
732e60bb88 cpu, sam0_common: fix uart TXC check 2017-10-10 18:24:03 +02:00
Vincent Dupont
be588c2f0e cpu/stm32_common: use pseudomodule for UART HW FC 2017-10-10 14:09:05 +02:00
Martine Lenders
4597193da4
nrfmin: port for gnrc_netif2 2017-10-10 11:48:53 +02:00
Francisco Acosta
52efba5b31 Merge pull request #7476 from gebart/pr/kinetis-rtt-alarm
kinetis: Adjust RTT alarm trigger time
2017-10-09 14:34:09 +02:00
Francisco Acosta
6da78131e7 Merge pull request #7675 from kaspar030/fix_sam0_uart
cpu/sam0/periph/uart: ensure uart_init() idempotency
2017-10-09 13:59:20 +02:00
ef1a8c66ac cpu/sam0/periph/uart: ensure uart_init() idempotency 2017-10-09 13:45:46 +02:00
Vincent Dupont
f13207b79b Merge pull request #7679 from haukepetersen/opt_stm32f0_isrvectors
cpu/stm32f0: optimized isr vector definitions
2017-10-09 12:24:36 +02:00
Vincent Dupont
b7b451daf8 Merge pull request #7683 from haukepetersen/opt_stm32f7_isrvectors
cpu/stm32f7: optimized isr vector definitions
2017-10-09 12:18:22 +02:00
Vincent Dupont
802ed40b30 Merge pull request #7678 from haukepetersen/opt_stm32f4_isrvectors
cpu/stm32f4: optimized isr vector definitions
2017-10-09 12:16:23 +02:00
smlng
140076b802 cpu, sam3: adapt to sam_common 2017-10-09 12:06:35 +02:00
Hauke Petersen
a0dae5f595 Merge pull request #7621 from smlng/cpu/sam_common
CPU: add sam_common with CMSIS headers
2017-10-09 10:50:22 +02:00
Hauke Petersen
b75672628a Merge pull request #7632 from smlng/cpu/sam0_common/vendor_header
cpu, sam0_common: update vendor headers
2017-10-09 10:45:36 +02:00
487065da11 cpu/sam0_common/ldscripts: rename samd21g18a_mkr to samd21g18a_bootloader 2017-10-07 23:07:16 +02:00
Vincent Dupont
dd49f22532 cpu/cortexm_common: use irq_disable/irq_restore 2017-10-06 17:40:47 +02:00
Vincent Dupont
2170f47a66 cpu/stm32_common: re-enable PLL when leaving stop 2017-10-06 17:40:47 +02:00
Hauke Petersen
5d3084bbc0 cpu/stm32f0: optimized isr vector definitions 2017-10-06 16:41:05 +02:00
Hauke Petersen
e589b403b2 cpu/stm32f1: optimized isr vector definitions 2017-10-06 16:40:11 +02:00
Hauke Petersen
9d5bb0979a cpu/stm32f2: optimized isr vector definitions 2017-10-06 16:39:12 +02:00
Hauke Petersen
73de5236a4 cpu/stm32f4: optimized isr vector definitions 2017-10-06 16:37:51 +02:00
Hauke Petersen
0360e8b96e cpu/stm32f7: optimized isr vector definitions 2017-10-06 16:36:20 +02:00
Hauke Petersen
ae48882471 cpu/stm32l0: optimized isr vector definitions 2017-10-06 16:33:38 +02:00
Sebastian Meiling
ccca27db8f Merge pull request #7176 from haukepetersen/opt_gpio_donotclearoninit
cpu/gpio: adapt GPIO implementations to #7173
2017-10-05 11:31:51 +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
Hauke Petersen
70e17ee5a3 cpu/cc2538/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
bad9d99159 cpu/cc26x0/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
7342974b17 cpu/ezr32wg/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
be456915e9 cpu/kinetis/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
cf54fbb167 cpu/msp430/gpio: do not clear output pin on init 2017-10-04 12:15:03 +02:00
Hauke Petersen
5711b5d53d cpu/sam0/gpio: do not clear pin on init 2017-10-04 12:12:43 +02:00
Hauke Petersen
b08188efd2 cpu/stm32/gpio: do not clear pin on init 2017-10-04 12:12:16 +02:00
Dan Evans
a59714b02c samd21:add prescaler option for rtt.c 2017-10-02 20:35:07 -07:00
2a1a7395f8 cpu/stm32_common/periph: fix doxygen grouping 2017-10-01 21:55:59 +02:00
Hauke Petersen
938ba0b3c5 Merge pull request #7535 from haukepetersen/opt_cortexm_vectordefs
cpu: use shared Cortex-M base vector table
2017-10-01 21:46:17 +02:00
dylad
1e5262506d cpu/sam0: merge GPIO driver 2017-10-01 14:48:12 +02:00
Martine Lenders
2097f6810f Merge pull request #7647 from LudwigKnuepfer/pr/native-startup-switchcase
cpu/native: add missing breaks in option parser
2017-09-26 10:27:51 +02:00
Ludwig Knüpfer
9f3abcd372 cpu/native: add missing breaks in option parser 2017-09-26 09:41:21 +02:00
Dan Evans
531e6f5008 sam0:usart - wake from sleep on receive line 2017-09-25 12:47:31 -06:00
smlng
48a996bbaa cpu, sam0_common: fix flashpage use bitfield 2017-09-25 09:24:43 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
smlng
700793e1ce cpu, samd21: adapt periph drivers for rtt and timer to updated vendor headers 2017-09-20 17:12:10 +02:00
smlng
c5cbc428b4 cpu, sam0_common: update vendor headers 2017-09-20 17:11:54 +02:00
smlng
9737225d88 cpu, sam_common: add basic common files 2017-09-20 16:58:08 +02:00
smlng
f1087d4e44 cpu, sam_common: add cmsis headers for Atmel sam3x and sam4s MCUs 2017-09-20 16:26:46 +02:00
Joakim Nohlgård
b720c304bb Merge pull request #7502 from kaspar030/stmclk_remove_ifdef
cpu: stm32: convert preprocessor if to compiler if statement
2017-09-20 10:48:15 +02:00
6d18a51769 cpu:_stm32_common: #ifdef -> if 2017-09-19 22:46:53 +02:00
lebrush
c054e38156 Merge pull request #7590 from lebrush/fix/atmega-gpio-misc
GPIO interrupt fixes for atmega328p
2017-09-15 11:59:11 +02:00
dylad
cca9b7a2c4 cpu/sam0: fix sercom gclk selection 2017-09-15 11:32:32 +02:00
Victor Arino
6365466078 cpu/atmega_common: fix GPIO INT filter 2017-09-14 20:40:13 +02:00
Victor Arino
294594908a cpu/atmega_common: support for flank low 2017-09-14 20:40:13 +02:00
Victor Arino
650cf81e8a cpu/atmega_common: fix gpio interrupt for atmega328p 2017-09-14 20:34:11 +02:00
Robert Hartung
914025973d cpu/atmega: use power.h defines instead of direct register access 2017-09-14 14:04:14 +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
neiljay
e1bbf43705 Merge pull request #7388 from francois-berder/pic32-periph-cpuid
clicker, wifire: Add CPUID support
2017-09-08 10:42:07 +01:00
smlng
1ed6f84992 doc: fix whitespaces 2017-09-06 08:49:05 +02:00
162478cd6d spelling: s/initialise/initialize/ 2017-09-05 11:04:25 +02:00
Hauke Petersen
3ede8e9d95 cpu: force size of CPU specific vector table 2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223 cpu: unified cortex-m base interrupt vector 2017-09-04 15:13:32 +02:00
Hauke Petersen
68abdff15a cpu/sam0: optimizations to the shared UART driver 2017-09-04 13:11:05 +02:00
Hauke Petersen
48ef1cd6c9 cpu/sam0_common: added SERCOM clk control functions 2017-09-04 13:08:17 +02:00
b2f40534b1 Merge pull request #7541 from lebrush/fix/atmega_typo
Atmega fix typo and empty space
2017-09-01 20:29:12 +02:00
Joakim Nohlgård
d512967fb6 Merge pull request #7512 from aabadie/cpu_mips_doc
cpu: doxygen cleanup
2017-09-01 11:34:08 +02:00
Vincent Dupont
05c731125c cpu/stm32_common: fix extra PLL enabling 2017-09-01 10:26:04 +02:00
Vincent Dupont
38b2167f55 cpu/stm32_common: add R factors for PLLs 2017-09-01 10:26:04 +02:00
fc63f9956e Merge pull request #7500 from OTAkeys/pr/stmclk_f0_f1
cpu/stm32f[0|1|3] unify stmclk with stm32_common
2017-09-01 10:21:25 +02:00
Vincent Dupont
e005554b48 cpu/stm32_common: update doc 2017-09-01 10:15:26 +02:00
Vincent Dupont
60be58ea6d cpu/stm32_common: unify stmclk for stm32f[0|1|3] with f[2|4|7] 2017-09-01 10:14:18 +02:00
Vincent Dupont
c11544279a cpu/stm32_common: adapt clk_conf for f0, f1 and f3 2017-09-01 10:14:08 +02:00
Sebastian Meiling
7b243bcffd Merge pull request #7229 from dnahm/add_atmega_i2c
cpu/atmega_common: add i2c periph driver
2017-09-01 10:12:56 +02:00
91c1f4d9d6 Merge pull request #7511 from haukepetersen/rm_board_weio
boards/cpu: removed support for weio and lpc11u34
2017-09-01 09:36:08 +02:00
dnahm
b313c02c7c Adapted to comments II 2017-08-31 16:11:34 +02:00
dnahm
fe15574c6b Adapted to comments 2017-08-31 16:11:34 +02:00
dnahm
7bab826c38 cpu/atmega_common: add i2c periph driver 2017-08-31 16:11:34 +02:00
Hauke Petersen
4707ad2f89 cpu/sam0_common: fixed UART for samd21 2017-08-31 09:47:09 +02:00
Victor Arino
3ba2177b0d cpu/atmega_common: fix typo 2017-08-30 20:08:37 +02:00
Victor Arino
7d3fc14c3e cpu/atmega328p: correct port inline 2017-08-30 20:08:35 +02:00
Hauke Petersen
8acaab6ee2 Merge pull request #7260 from dylad/sam0_uart
sam0/uart: merge samd21 & saml21 uart driver
2017-08-29 22:45:43 +02:00
dylad
a3acd1d741 remove dev variable for cppcheck
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-08-29 21:36:21 +02:00
acfa727151 Merge pull request #7477 from OTAkeys/pr/fix_stm32_clk
cpu/stm32f[2|4|7]: unify stmclk and improve PLL configuration
2017-08-29 21:35:06 +02:00
dylad
c81ae98068 boards: update periph_conf of sam0 based board
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-08-29 21:26:42 +02:00
dylad
89c885ea40 sam0/uart: merge samd21 & saml21 uart driver
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-08-29 21:26:42 +02:00
Andreas "Paul" Pauli
a12dcaa299 Merge pull request #7361 from smlng/enh/cc2538/periph_timer
cpu, cc2538: enhance and cleanup periph timer
2017-08-29 20:03:35 +02:00
Thomas Eichinger
f286f2a276 Merge pull request #7492 from Hyungsin/forupstream_samr21_uart 2017-08-29 08:58:08 -07:00
Hauke Petersen
f8e2b46603 Merge pull request #7122 from kaspar030/fix_stm32f4_i2c
cpu: stm32f4: i2c: fix some problems
2017-08-29 17:56:26 +02:00
Hyungsin
5dac8fc263 cpu/samd21: include uart driver only when UART_NUMOF is defined 2017-08-29 08:51:10 -07:00
Hauke Petersen
e51ff56b96 cpu/nrf52: share const CLOCK_CORECLOCK 2017-08-29 17:28:10 +02:00
55c09a7471 Merge pull request #7526 from haukepetersen/opt_nrf51_coreclockdefine
boards/nrf51-based: share CLOCK_CORECLOCK define
2017-08-29 17:24:01 +02:00
Hauke Petersen
4b53044fac Merge pull request #7527 from aabadie/typo_successfully
doxygen: fix typo on word 'successfully'
2017-08-29 15:26:51 +02:00
5dc834a72d doxygen: fix typo on word 'successfully' 2017-08-29 15:12:44 +02:00
Hauke Petersen
7b9d3b32ca boards/nrf51-based: share CLOCK_CORECLOCK define 2017-08-29 14:12:39 +02:00
Hauke Petersen
25f285f1d1 cpu/msp430: added flashpage driver implementation 2017-08-29 12:08:33 +02:00
Hauke Petersen
3ecea173ea cpu/msp430|cc430: removed old flashrom driver 2017-08-29 11:55:27 +02:00
smlng
12868d2416 cpu, cc2538: cleanup periph/timer 2017-08-28 21:43:12 +02:00
f5838ebea9 Merge pull request #7467 from Marc-Aurele/i2c_channel2_l0
cpu/stm32l0: add i2c channel 2 & 3
2017-08-28 17:54:09 +02:00
Vincent Dupont
33e8a419be cpu/stm32_common: add clock config documentation 2017-08-28 17:51:00 +02:00
Vincent Dupont
d2a4acecd9 cpu/stm32_common: unify stmclk for stm32f[2|4|7] and adapt to use clk_conf 2017-08-28 17:51:00 +02:00
Vincent Dupont
400158537f cpu/stm32_common: add a tool to generate clock settings 2017-08-28 17:51:00 +02:00
Hauke Petersen
10d394802d Merge pull request #6932 from dylad/saml21_multiple_exti
saml21/gpio: Allow multiple EXTI at the same time
2017-08-28 17:35:00 +02:00
Hauke Petersen
663be1b810 cpu/sam3: added DAC (DACC) driver implementation 2017-08-28 14:30:57 +02:00
7222f76ac0 cpu/msp430: cleanup doxygen grouping 2017-08-28 14:26:10 +02:00
Hauke Petersen
ac95d429f5 Merge pull request #7485 from aabadie/stm32_cleanup_vectors
cpu/stm32: cleanup interrupt vectors
2017-08-28 13:52:53 +02:00
2b3a9d2e82 cpu/mips: cleanup doxygen documentation 2017-08-28 13:27:58 +02:00
Hauke Petersen
7bc271807c cpu: remove support for lpc11u34
CPU is not maintained and not hardware for testing available to
the community.
2017-08-28 12:11:51 +02:00
Joakim Nohlgård
480f77065b Merge pull request #7514 from gebart/pr/netdev-set-const
netdev: Make set() value parameter const void *
2017-08-26 08:09:15 +02:00
b8070a6f5b cpu/sam0: unify for arduino-mkr1000 and arduino-mkrzero boards 2017-08-25 15:18:44 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
Hauke Petersen
d54c849822 Merge pull request #6573 from gebart/pr/lpc11u34-periph-macro
lpc11u34: Remove short name macros for GPIO modes
2017-08-25 10:57:28 +02:00
Joakim Nohlgård
a905a88b7c Merge pull request #6959 from haukepetersen/fix_lpc11u_adc
cpu/lpc11u34: fixed ADC resolution selection
2017-08-24 18:09:43 +02:00
Martine Lenders
952682b32c Merge pull request #7508 from aabadie/cpu_samd21_doc
cpu: fix missing doxygen group definitions + cleanup
2017-08-24 16:37:02 +02:00
Hauke Petersen
138092f88c Merge pull request #7373 from smlng/cpu/cc2538/gpio_af
cpu, cc2538: add gpio alternative functions
2017-08-24 15:48:13 +02:00
Hauke Petersen
8b150624ed cpu/stm32: reworked the RTC driver implementation 2017-08-24 15:32:27 +02:00
smlng
46facf4ff7 cpu, cc2538: add gpio alternative functions 2017-08-24 15:31:52 +02:00
c07a6af0fd cpu/mips: add missing brief doxygen + cleanup 2017-08-24 14:54:47 +02:00
24a1aacca2 cpu/sam0: add missing doxygen group definition + cleanup 2017-08-24 14:54:47 +02:00
d2938a3a34 cpu/stm32_common: add missing doxygen group definition 2017-08-24 14:54:47 +02:00
a02ba6917f cpu/stm32l4: cleanup interrupt vectors definitions 2017-08-23 22:20:26 +02:00
47e9bfb8e0 cpu/stm32f4: cleanup interrupt vectors definitions 2017-08-23 22:20:26 +02:00
3e342e844d cpu/stm32f3: cleanup interrupt vectors definitions 2017-08-23 22:20:26 +02:00
1bcb13d6ef cpu/stm32f2: cleanup interrupt vectors definitions 2017-08-23 22:20:26 +02:00
de343a4c4f cpu/stm32l1: cleanup interrupt vectors definitions 2017-08-23 22:20:26 +02:00
cde93ffc39 cpu/stm32f1: cleanup interrupt vectors definitions 2017-08-23 22:20:25 +02:00
b2674e5f69 cpu/stm32l0: cleanup interrupt vectors definitions 2017-08-23 22:20:25 +02:00
16253b650f cpu/stm32f0: cleanup interrupt vectors definitions 2017-08-23 18:25:39 +02:00
Hauke Petersen
265173806e cpu/stm32: added model specific LSI clock speeds 2017-08-23 15:39:16 +02:00
Hauke Petersen
82485cf7c6 cpu/stm32: fixed lfclk functions for L0 and L1 2017-08-23 15:39:16 +02:00
Hauke Petersen
7ea8c7f768 Merge pull request #7486 from smlng/enh/docu/cc26x0/timer
docu: enhance timer config docu for cc26x0
2017-08-23 15:21:39 +02:00
Hauke Petersen
5422f0da72 stm32: unified parts of stmclk implementations
- unified dbp, hsi, and lfclk functions
- all of them now work for all STM32 CPUs
- renamed from bdp to dbp as this is the expression used
  in the reference manuals (old naming was a typo...)
2017-08-21 17:40:22 +02:00
smlng
09bc23b41f docu: enhance timer config docu for cc26x0 2017-08-21 10:44:14 +02:00
Hauke Petersen
768459d6c1 Merge pull request #7420 from MichelRottleuthner/rtc_stm32l4
periph/rtc: add support for stm32l4
2017-08-21 10:10:26 +02:00
7682e11763 cpu/stm32f7: add support for stm32f722ze 2017-08-18 13:52:59 +02:00