01b11ab86e
Merge pull request #11297 from OTAkeys/pr/stm32_rtt_reg_fix
...
cpu/stm32_common: fix rtt registers access
2019-03-29 09:32:04 +01:00
Kevin "Bear Puncher" Weiss
2d7c72db7f
Merge pull request #11231 from gschorcht/cpu/esp32/periph/uart_mode
...
cpu/esp32: add the new API function uart_mode to periph/uart
2019-03-28 19:29:38 +01:00
Gunar Schorcht
217ccbe1c4
cpu/esp32: add new uart_mode API function
...
The internal _uart_set_mode function is exposed if module periph_uart_modecfg is enabled.
2019-03-28 16:36:04 +01:00
Gunar Schorcht
ec013f74a7
cpu/esp32: add internal _uart_set_mode function
...
Configuration of UART mode is realized by an internal function which is also used by UART initialization function.
2019-03-28 16:36:04 +01:00
Gunar Schorcht
b9a8b98a9b
cpu/esp32: add config member values for uart_mode
...
Set default values for additional data members of UART device configuration data structure that are needed by uart_mode API function.
2019-03-28 16:36:04 +01:00
Gunar Schorcht
6132c08a90
cpu/esp32: add config members for uart_mode
...
Add data members to the UART device configuration data structure that are needed by uart_mode API function.
2019-03-28 16:36:04 +01:00
Kevin "Bear Puncher" Weiss
15c2a48fdf
Merge pull request #10839 from dylad/pr/sam0/remove_gclk_slow
...
cpu/sam0_common: remove unneeded GCLK_SLOW setup in i2c driver
2019-03-28 14:31:16 +01:00
Dylan Laduranty
ccf12c57a8
Merge pull request #10884 from fedepell/sam_rwee_support
...
sam0 flashpage RWWEE flash support
2019-03-28 11:00:25 +01:00
Vincent Dupont
749b291273
cpu/stm32_common: fix rtt registers access
2019-03-27 16:43:00 +01:00
Kevin "Bear Puncher" Weiss
f7ff74f30d
Merge pull request #11279 from fjmolinas/stm32_common_i2c_DEVELHELP
...
stm32_common/i2c_2: fix unused *i2c when no DEVELHELP
2019-03-27 11:42:48 +01:00
francisco
1a583844b8
stm32_common/i2c_2: fix unused *i2c when no DEVELHELP
2019-03-27 11:28:54 +01:00
Michel Rottleuthner
4b9866b289
cpu/stm32f103: add workaround to make gpio B4 usable as output pin
...
->> by default the pin B4 is used as SWJRST. This remaps the pin when it is initialized with gpio_init.
currently its only enabled for stm32f104rb
2019-03-26 21:43:35 +01:00
Kevin "Bear Puncher" Weiss
14d17b6ec1
Merge pull request #11276 from gschorcht/cpu/esp32/periph/uart/cleanup
...
cpu/esp32: periph uart cleanups
2019-03-26 18:48:43 +01:00
Gunar Schorcht
c0f50104b9
cpu/esp32: GPIO init order for UART RX/TX changed
...
The GPIO for RX has to be initialized as input before the GPIO for TX can be initialized as output. Otherwise it could lead to creash if RX GPIO was used as output before.
2019-03-26 16:16:49 +01:00
1286b18ca9
sam0_common: Fix syntax mistake in usbdev driver
2019-03-26 16:09:03 +01:00
emmanuelsearch
61c793aa4c
cpu/cortexm_common: Add image_baseaddr support for Cortex-M23
2019-03-26 11:46:00 +01:00
d7804823db
sam0_common: Add USB peripheral driver
2019-03-26 10:26:11 +01:00
Gunar Schorcht
b42106e738
cpu/esp32: required uart_set_baudrate changes
...
Function uart_set_baudrate which is only used internally was made static and renamed to _uart_set_baudrate to indicate that it is an internal function. Furthermore, an additional waiting for flushed TX FIFO added. The reconfiguration is now handled as critical section.
2019-03-26 09:57:44 +01:00
Gunar Schorcht
f5da4a1c9f
cpu/esp32: internal uart int handler made static
...
The interrupt handler is only used internally and declared to be static.
2019-03-26 09:57:44 +01:00
Gunar Schorcht
9378888be6
cpu/esp32: some uart_* funcs moved inside the file
...
For consistency reasons, external functions were moved to the section of external functions.
2019-03-26 09:57:44 +01:00
Gunar Schorcht
de64d2e384
cpu/esp32: _uart_config function moved
...
For consistency reasons, internal function _uart_config was moved to the section of internal functions.
2019-03-26 09:57:44 +01:00
Gunar Schorcht
ec44ee7fb8
cpu/esp32: additional _ removed from __uart_*
...
An additional _ for static symbols has been added by mistake and should be removed. This will make future merging with the reimplementation of ESP8266 easier.
2019-03-26 08:14:00 +01:00
Kevin "Bear Puncher" Weiss
d660888150
Merge pull request #11082 from OTAkeys/pr/stm32_i2c_2_restart_error
...
cpu/stm32_common/i2c_2: reset i2c when timeout during start condition
2019-03-25 13:20:11 +01:00
Vincent Dupont
dc5f58dcc8
cpu/stm32_common/i2c_2: reset i2c when timeout during start condition
2019-03-25 12:48:06 +01:00
MrKevinWeiss
2e37add109
cpu/stm32_common: Fix i2c_2 NACK stopping twice
...
There is an error when the start byte NACKs
The nack sets the stop bit twice which keeps the stop bit high the next time
When the stop bit is high it creates a timeout when trying to use
This commit fixes so when a NACK occures on the address it doesn't stop twice
2019-03-25 12:19:31 +01:00
Semjon Kerner
253cf0f9fc
Merge pull request #11176 from bergzand/pr/nrf802154/undef_memcpy
...
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-25 08:09:59 +01:00
Emmanuel Baccelli
1859d03a5a
Merge pull request #11249 from dylad/pr/saml1x_waitstate
...
cpu/saml1x: set wait state according to datasheet
2019-03-24 23:40:51 +01:00
1f937cedb7
Merge pull request #11141 from fjmolinas/stm32l0_bootloader
...
stm32l0: add riotboot support
2019-03-24 10:48:48 +01:00
dylad
82aa6c0280
cpu/saml1x: set wait state according to datasheet
2019-03-24 10:43:40 +01:00
10b783d82c
Merge pull request #11211 from aabadie/cpu_stm32f3_cpu
...
cpu/stm32: add STOP and STANDBY low-power for stm32f3, unify for all stm32
2019-03-23 20:59:22 +01:00
e089b1eb02
cpu/kinetis: define ROM_LEN with a non arithmetic value
...
It must be evaluated in `cortexm_common` without a shell context.
The `K` is correctly handled by both the linker and `cortexm_common`.
Co-authored-by: Gaëtan Harter <gaetan.harter@fu-berlin.de>
2019-03-23 12:14:21 +01:00
b4bb144006
nrf802154: don't call memcpy if iolist->iol_len==0
2019-03-22 19:00:53 +01:00
d6fb676814
stm32l0/pm: clear wakeup flags when setting STOP mode.
2019-03-21 19:42:08 +01:00
2e0a818502
cpu/stm32: all stm32 families now provide pm support
2019-03-21 19:39:16 +01:00
738af9da51
cpu/stm32_common: add low-power modes for stm32f3
2019-03-21 19:39:16 +01:00
3fc8a13ddd
cpu/stm32f7: use pm_layered module
2019-03-21 19:39:16 +01:00
84f9f63ab8
cpu/stm32_common: implement low-power modes for F7
2019-03-21 19:39:16 +01:00
d5c1d2fdc4
cpu/stm32l4: use pm_layered module
2019-03-21 19:39:15 +01:00
679fee7f9c
cpu/stm32_common: implement low-power modes for L4
2019-03-21 19:39:15 +01:00
Marian Buschsieweke
569427b741
cpu/msp430fxyz: Add missing #include
2019-03-21 16:49:03 +01:00
francisco
57d0787311
cpu/stm32l0: define CPU_FLASH_BASE
2019-03-21 15:07:08 +01:00
Juan I Carrano
c391ed4109
Merge pull request #10943 from gschorcht/cpu/mps430_common_heap
...
cpu/msp430_common: set top of heap for sbrk
2019-03-21 11:44:35 +01:00
Federico Pellegrin
5faafac092
sam0 flashpage RWWEE flash support
2019-03-21 04:27:41 +01:00
Martine Lenders
4ee4625f39
Merge pull request #10357 from jcarrano/posix_headers-module
...
sys/posix: make posix module provide only headers.
2019-03-20 14:07:12 +01:00
Juan Carrano
6b766c3cd3
sys/posix: make posix module provide only headers.
...
The build system contains several instances of
INCLUDES += -I$(RIOTBASE)/sys/posix/include
This is bypassing the module management system, by directly accesing
headers without depending on a module. The module is the posix module.
That line is also added when one of the posix_* modules is requested.
According to the docs, the posix module provides headers only, but in
reality there is also inet.c.
This patch:
- Moves `inet.c` into `posix_inet`, leaving `posix` as a headers-only
module.
- Rename `posix` as `posix_headers` to make it clear the module only
includes headers.
- Makes `posix_*` modules depend on `posix_headers`, thus removing the
explicit `INCLUDES+=...` in `sys/Makefile.include`.
- Ocurrences of `INCLUDES+=...` are replaced by an explicit dependency
on `posix_headers`.
2019-03-20 12:57:13 +01:00
d7b3091abc
Merge pull request #9521 from OTAkeys/pr/stm32f0_pm
...
cpu/stm32f0: add periph_pm support
2019-03-19 18:26:00 +01:00
Vincent Dupont
7590d528b8
cpu/stm32f0: add pm_layered support
2019-03-19 17:53:12 +01:00
Vincent Dupont
e83f27140a
cpu/stm32_common: refactor pm implementation
2019-03-19 17:51:19 +01:00
Kevin "Bear Puncher" Weiss
005275a1e9
Merge pull request #11205 from yegorich/pr/uart/stm32/fix-data-bits
...
cpu/stm32_common: use correct data bits macro
2019-03-19 10:17:56 +01:00
ca5b5a6d0f
samd21: Expose numerical PM states
2019-03-18 13:44:26 +01:00