be5ae87262
Merge pull request #8829 from ZetaR60/RIOT_xplained
...
cpu/atmega1284p: support and boards/mega-xplained: support
2018-03-27 10:03:15 +02:00
Joakim Nohlgård
dfa342b5f8
cpu/samd21: Avoid clearing interrupt bits unintentionally
...
The INTENSET, INTENCLR, INTFLAG registers are write-1-to-confirm
registers, so writing zeroes will not affect anything, on the other
hand, a compiler generated read-modify-write cycle may unintentionally
affect more bits than the one being set. Avoid by using direct
assignment instead of or-assignment (|=) or bitfield writes (.bit.xxx=).
2018-03-27 07:54:18 +02:00
Matthew Blue
d3dc49e2ab
cpu/atmega_common: Support for ATmega1284P
2018-03-25 14:24:40 -04:00
Matthew Blue
a55921394c
cpu/atmega1284p: Initial ATmega1284P support
2018-03-25 14:24:37 -04:00
Martine Lenders
690c36b3cf
Merge pull request #8652 from cladmi/pr/remove_nativeincludes
...
native: remove non required NATIVEINCLUDES
2018-03-22 15:57:38 +00:00
Joakim Nohlgård
369036760a
cpu/mips32r2_generic: Add PERIPH_TIMER_PROVIDES_SET
...
mips32r2_common already implements timer_set so it should not be provided by
periph_common/timer to avoid multiple definition errors currently hidden by the
linker.
The firmware was using the one from `mips32r2_common` before (binary checked).
So behaviour is identical.
2018-03-22 14:21:24 +01:00
Gaëtan Harter
d6e47461ba
mips32r2_common/periph/timer: fix return values
...
Fix 'timer_set', 'timer_set_absolute' and 'timer_clear' return value to 1 on
success as documented in the API.
2018-03-22 14:21:03 +01:00
2c4b94b236
cpu/stm32l4: add support for stm32l433rc
2018-03-21 17:07:28 +01:00
Gaëtan Harter
93a521c501
native: remove non required NATIVEINCLUDES
...
Some modules used a 'NATIVEINCLUDES' with different include path and no other
included directories.
It was defining basic 'include' in a different order and not using other things
defined in INCLUDES.
After doing some checks with the given include path and possible conflicting
files, there should be no conflict when using the default one.
* No common headers between all the NATIVEINCLUDES directories
* No common headers files between board/native/include, cpu/native/include and
other files in the repository (except other boards/cpus of course).
2018-03-20 17:51:03 +01:00
Martine Lenders
875a5c165d
trace: initial import of a stack backtrace function for native
...
Sometimes the debugger just isn't fast enough to debug that pesky race
conditions. This module provides at least a little help.
2018-03-20 15:12:48 +00:00
Bas Stottelaar
9117fe577a
cpu/efm32: efm32pg1b: add support
2018-03-16 16:26:58 +01:00
Bas Stottelaar
cbca0cc6ae
cpu/efm32: efm32pg1b: add vendor headers
2018-03-16 16:26:58 +01:00
Bas Stottelaar
a05d1b1004
cpu/board: native: use common peripheral initialization
2018-03-15 23:26:01 +01:00
Martine Lenders
295c53ebd4
Merge pull request #8611 from beduino-project/sam3-clang-build-failure
...
cpu/sam3: fix build failure with TOOLCHAIN=llvm
2018-03-15 16:31:24 +01:00
Vincent Dupont
549bf0ef78
cpu/stm32: use const pointer in flashpage
2018-03-14 16:28:33 +01:00
Vincent Dupont
a1f482cbf7
cpu/sam0: use const pointer in flashpage
2018-03-14 16:28:33 +01:00
Vincent Dupont
b40249153d
cpu/nrf5x: use const pointer in flashpage
2018-03-14 16:28:33 +01:00
Vincent Dupont
5a2a4cf1e0
cpu/msp430: use const pointer in flashpage
2018-03-14 16:28:32 +01:00
Vincent Dupont
4f44778a42
cpu/efm32: use const pointer in flashpage
2018-03-14 16:28:32 +01:00
Joakim Nohlgård
078104223a
Merge pull request #8732 from girtsf/cortexm-fix-no-mpu
...
cortexm_common: don't try to set MEMFAULTENA on ARMv6-M
2018-03-13 21:06:21 +01:00
06392bbfd3
cpu/stm32f1: add flashpage_raw support
2018-03-13 16:30:04 +01:00
4f7dc1ae41
cpu/stm32f0: add flashpage_raw support
2018-03-13 16:30:04 +01:00
4e1f2b5d38
cpu/stm32l1: add flashpage support
2018-03-13 16:30:04 +01:00
4972f952d4
cpu/stm32l0: add flashpage support
2018-03-13 16:30:04 +01:00
67190a31ef
cpu/stm32_common: unify flashpage support
2018-03-13 16:30:04 +01:00
Girts Folkmanis
b9744f698f
cortexm_common: don't try to set MEMFAULTENA on ARMv6-M
...
Before this change, if one tried to build a Cortex-M0+ target that had
an MPU, compilation would fail due to missing
'SCB_SHCSR_MEMFAULTENA_Msk' in SCB structure. Cortex-M0+ is a ARMv6-M
arch (unlike most other targets that have MPU support). ARMv6-M has more
limited support for fault conditions, see ARMv6-M Architecture Reference
Manual, D3.6.2.
2018-03-12 19:57:29 -07:00
Aurelien Fillau
0368239a63
cpu/stm32l0: power management updated
...
Now, MCU is able to go in stop mode if necessary when
periph_pm feature is activated.
Regarding LPSDSR bit that deactivates or not regulator in stop
mode, it is up to the user to set/clear this bit. In order
to save power, voltage regulator can be set in low power state
during stop mode but it increases wakeup time.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2018-03-11 11:01:25 +01:00
d025de32ed
Merge pull request #8351 from kaspar030/introduce_iolists
...
net: Introduce iolists
2018-03-07 09:56:13 +01:00
fcb451b2c5
Merge pull request #8743 from dylad/saml21_fix_rtc_define
...
cpu/saml21: fix RTC wrong condition for #if
2018-03-07 07:41:33 +01:00
dylad
20ac4b060d
cpu/saml21: fix RTC wrong condition for #if
2018-03-06 21:36:18 +01:00
Francisco Acosta
c922119fe4
Merge pull request #8744 from Josar/atmega_stackPointer
...
atmega: add last instruction print
2018-03-06 16:16:07 +01:00
7f150d6041
Merge pull request #7787 from OTAkeys/pr/stm32_pm_periph
...
cpu/stm32: add pm support in uart, spi and i2c (f4)
2018-03-06 16:34:44 +02:00
Hauke Petersen
e78b055787
Merge pull request #8556 from kaspar030/stm32_gpio_read
...
cpu: stm32_common: always do gpio_read() from input register
2018-03-06 15:30:01 +01:00
Vincent Dupont
857b44a975
cpu/stm32f4: add pm support in i2c driver
2018-03-06 15:13:02 +01:00
Vincent Dupont
34e8609f2c
cpu/stm32_common: add pm support in spi driver
2018-03-06 15:13:01 +01:00
Vincent Dupont
1aee2f1f14
cpu/stm32_common: add pm support in uart driver
2018-03-06 15:13:00 +01:00
Vincent Dupont
c01e8629ec
cpu/stm32_common: add PM modes
2018-03-06 15:12:58 +01:00
Josarn
d82f1eba4c
atmega: add last instruction print
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
2018-03-06 14:57:18 +01:00
58e172e4df
cpu/stm32_common: always enable PWR module
2018-03-06 14:55:32 +01:00
Hauke Petersen
c14b8081bc
Merge pull request #8735 from kaspar030/stm32_unify_cpu_init
...
cpu/stm32: unify cpu_init()
2018-03-06 14:09:13 +01:00
23b414b732
drivers: net: adapt to iolist-using netdev
2018-03-06 14:00:31 +01:00
ff6b8aa4f1
cpu/native/netdev_tap: adapt to netdev with iolist
2018-03-06 14:00:31 +01:00
Francisco
0fd12487e1
cpu/stm32l4: add support for stm32l452re
2018-03-05 14:34:16 -03:00
3b42fb49b5
cpu/stm32: unify cpu_init()
2018-03-05 12:35:00 +01:00
Hauke Petersen
47a500d0b1
Merge pull request #8447 from haukepetersen/opt_test_periphuartpower
...
tests/periph_uart: included power_on/off() in test
2018-03-05 09:49:20 +01:00
Joakim Nohlgård
68ea6b3316
kinetis: Add support for NXP Kinetis KW41Z SoC
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
2090dd0234
kinetis: Add GPIO ISR for CPUs with combined PORTB+PORTC interrupt
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
8642c8ceb8
kinetis: Support CM0+ devices with 96 bit UID
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
005b4bfbb3
kinetis: Filter out PWM code if no FTM exists
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
11361ec7e1
kinetis: Add support for CPUs with a single IRQ for all PIT channels
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
2b64452c33
kinetis: GPIO workaround for missing open drain support
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
a196bb431d
kinetis: Only configure PWM settings if the FTM device exists
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
ba76402d03
kinetis: Add Bit Manipulation Engine helpers
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
18908667a3
kinetis: Make open drain GPIO availability depend on CPU header
2018-03-02 15:38:39 +01:00
Joakim Nohlgård
a7f06f8c42
Merge pull request #8724 from gebart/pr/kinetis-lpuart-clocking
...
kinetis: Set LPUART clock source during uart_lpuart_init
2018-03-02 15:38:01 +01:00
Peter Kietzmann
215940b058
Merge pull request #8643 from Josar/jiminy_master
...
boards: Jiminy-mega256rfr2: initial support
2018-03-02 15:24:39 +01:00
Joakim Nohlgård
2bdf0bfbf1
kinetis: Align definitions in cpu_conf_kinetis.h
2018-03-02 14:39:00 +01:00
Joakim Nohlgård
82e960b642
kinetis: Set LPUART clock source during uart_lpuart_init
2018-03-02 14:39:00 +01:00
Josarn
3c906c6c3d
cpu/atmega256rfr2: ATmega256rfr2 MCU support
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
Signed-off-by: Steffen Robertz <steffen.robertz@online.de>
2018-03-02 13:33:53 +01:00
Josarn
3bace2bd24
cpu/atmega-common: Adjustments Jiminy-mega256rfr2
...
Signed-off-by: Josua Arndt <josuaarndt@live.de>
Signed-off-by: Steffen Robertz <steffen.robertz@online.de>
2018-03-02 13:33:26 +01:00
Francisco Acosta
2e701bd535
Merge pull request #8725 from gebart/pr/kinetis-errata-func
...
kinetis: Move errata workarounds to separate function
2018-03-02 12:30:16 +01:00
Francisco Acosta
a31940eee4
Merge pull request #8723 from gebart/pr/kinetis-periph-cpu-doc-fix
...
kinetis: periph_cpu.h doc fix
2018-03-02 12:03:06 +01:00
Hauke Petersen
4fd16b0bcc
cpu/native: add empty uart/power_x functions
2018-03-02 10:54:21 +01:00
Hauke Petersen
2fc724db7e
cpu/lpc2487: add empty uart/power_x functions
2018-03-02 10:53:55 +01:00
Hauke Petersen
8ac3465ba7
cpu/kinetis: add empty uart/power_x functions
2018-03-02 10:53:55 +01:00
Hauke Petersen
ce9e6f4eb0
cpu/atmega_common: add empty uart/power_x functions
2018-03-02 10:53:55 +01:00
Joakim Nohlgård
fd76e5ddad
kinetis: Move errata workarounds to separate function
2018-03-02 08:17:00 +01:00
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
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
33adde02d1
cpu: msp430: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
849cc8606a
cpu: nrf5x: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
93246dbedd
cpu: sam0: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
942cc7598b
cpu: arm7: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
358079879f
cpu: kinetis: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
28a2028e1e
cpu: mips: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
bf6269e12b
cpu: stm32: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
1e52f8d292
cpu: atmega: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
b5b970d760
cpu: cortexm: add Makefile.features
2017-11-02 12:59:45 +01:00
smlng
f0ef22232b
bluepill: dfu-util support
2017-11-01 23:32:31 +01:00
Joakim Nohlgård
dea1676ef6
kinetis: Merge all ISR vector tables into one generic mutant
...
The ISR names have been changed to match the name of the IRQ number they
are servicing.
2017-10-31 05:45:13 +01:00
Joakim Nohlgård
222842c951
kinetis_common: Use separate array for padding ISR vector table
2017-10-31 05:45:13 +01:00
Joakim Nohlgård
2945532c3b
k22f: Update to latest vendor headers
2017-10-31 05:45:13 +01:00
Joakim Nohlgård
f98e286d08
k22f: Remove unused MK22F10.h header
...
According to NXP material, there are no 100 MHz K22F parts in 144 pin
packages, which is the reference manual that this header is supposed to
correspond to.
The header was originally included from Keil uVision Kinetis support
packages. It is possible that this header was only used with
engineering samples of the K22F.
2017-10-31 05:45:13 +01:00
Joakim Nohlgård
2f55fdcec4
cortexm_common: Correct offset for hardfault stack
...
The required space for the hardfault handler is defined by
HARDFAULT_HANDLER_REQUIRED_STACK_SPACE, which is given in bytes,
this length is added to &_sram to find a lower limit on the amount of
stack space that the hard fault handler can work with. The _sram
variable, was mistakenly defined as a uint32_t, which makes &_sram into
a uint32_t*, which through pointer addition, made the required space 4
times as big as it was supposed to. By changing the type of _sram to
uint8_t, the required stack space is correctly computed.
The symptom was that the hardfault handler always reported that the
stack pointer had been corrupted and it was impossible to get any useful
information from the crash text.
2017-10-30 07:08:33 +01:00
Sebastian Meiling
2e0917cd81
Merge pull request #7727 from beduino-project/bluepill-rebased
...
boards: add support for bluepill board
2017-10-27 20:33:07 +02:00
Sören Tempel
9b3714b0c4
add support for bluepill board
2017-10-27 16:06:50 +02:00
Hauke Petersen
46cc29722f
Merge pull request #7774 from smlng/cpu/cc26x0/fix_pm
...
cpu, cc26x0: fix pm, don't go into cortexm_sleep(0)
2017-10-24 11:29:40 +02:00
Dan Evans
d6ef4d2d51
cpu/sam0_common/periph/uart - don’t setup receive if no pin is selected
2017-10-23 16:22:58 -07:00
14646fb332
Merge pull request #7776 from kaspar030/fix_cortexm_vectors_lto
...
cpu: cortexm: fix LTO issue for shared vector table
2017-10-21 00:02:48 +02:00
96b1b76ac9
cpu: cortexm: fix LTO issue for shared vector table (see #5774 )
2017-10-20 22:19:44 +02:00
167bd30453
all: fix my email address
2017-10-20 15:02:41 +02:00
smlng
fd89c3cd9c
cpu, cc26x0: fix pm, don't go into cortexm_sleep(0)
2017-10-20 10:51:33 +02:00
Martine Lenders
213f0447a6
Merge pull request #7752 from smlng/cpu/cc2538/fix_pm
...
cpu, cc2538: fix pm, don't go into cortexm_sleep(0)
2017-10-18 16:07:46 +02:00
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
ea1aa38b86
cpu, sam0_common: periph/uart use read-only bit-fields
2017-10-10 18:47:35 +02: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
Aurelien Fillau
860cd70bb7
i2c: add channel 2 & 3
...
Now, I2C driver on stm32l0 family can handle up to 3
channels.
Signed-off-by: Aurelien Fillau <aurelien.fillau@gmail.com>
2017-08-18 08:03:39 +02:00
Sebastian Meiling
2bab65ce03
Merge pull request #7335 from smlng/cpu/cc2650/periph_timer
...
cpu, cc26x0: fixing periph timer
2017-08-17 13:26:38 +02:00
4d54dc43fc
Merge pull request #7359 from photonthunder/samd21_DFLL_fix
...
samd21:DFLL bug
2017-08-16 18:18:26 +02:00
Joakim Nohlgård
b94e91c6f1
kinetis: Adjust RTT alarm trigger time
...
The RTT alarm will trigger when the RTT seconds register is equal to the
set alarm target, instead of triggering at the following second.
2017-08-15 20:28:24 +02:00
03caac8951
Merge pull request #7307 from Hyungsin/forupstream_gpio_fix
...
samd21: gpio support samr21e18a
2017-08-15 19:44:27 +02:00
Hyungsin
e8e06949eb
cpu/samd21: add gpio support for samr21e18a
2017-08-15 09:43:18 -07:00
Vincent Dupont
e2099ebc66
Merge pull request #7454 from MichelRottleuthner/stm32_rtc_sync_fix
...
stm32_common/periph/rtc: fix wrong read order of rtc regs
2017-08-07 17:34:20 +02:00
MichelRottleuthner
0a9383228e
stm32_common/periph/rtc: fix wrong read order of rtc regs, add wait for calender sync to rtc_set_time
2017-08-07 16:35:56 +02:00
Joakim Nohlgård
efa4f985ef
k60: Update to latest vendor headers
2017-08-04 06:32:41 +02:00
Joakim Nohlgård
0ef0f7b855
kw2xd: Update to latest vendor headers
2017-08-03 21:18:09 +02:00