Gunar Schorcht
6a652513c1
cpu/esp32: new module for ADC controller functions
...
Functions that are used by ADC and DAC peripherals are moved to a new submodule periph_adc_ctrl. This is necessary to compile separate submodules for ADC and DAC.
2019-05-01 09:40:17 +02:00
Gunar Schorcht
3bad3e6199
cpu/esp32: use periph.mk in perpih Makefile
...
Includes now $(RIOTMAKE)/periph.mk instead of $(RIOTBASE)/Makefile.include to control compilation of periph submodules.
2019-04-04 00:48:33 +02:00
Martine Lenders
05d0c6c5b7
Merge pull request #11187 from gschorcht/cpu/esp_common/esp_now/iol_len
...
cpu/esp_common: esp_now doesn't call memcpy if iol_len is 0
2019-04-02 19:08:23 +02:00
Martine Lenders
af65d2da59
Merge pull request #11184 from gschorcht/cpu/esp32/esp_wifi/iol_len
...
cpu/esp32: esp_wifi doesn't call memcpy if iol_len is 0
2019-04-02 19:08:15 +02:00
Martine Lenders
2d906de873
Merge pull request #11186 from gschorcht/cpu/esp32/esp_eth/iol_len
...
cpu/esp32: esp_eth doesn't call memcpy if iol_len is 0
2019-04-02 17:51:26 +02:00
Vincent Dupont
38b9ed1cac
cpu/stm32_common: fix month encoding in RTC driver
2019-04-01 16:50:56 +02:00
Gunar Schorcht
9cc39133e4
cpu/esp_common: check iol_base in esp_now before using it
2019-03-30 15:10:34 +01:00
Sebastian Meiling
e9072b1e28
Merge pull request #10981 from gschorcht/cpu/esp8266/rodata_IROM/pr
...
cpu/esp8266: most .rodata sections are moved from DRAM to IROM (flash)
2019-03-29 20:18:06 +01:00
9efd3c3660
stm32_common/rtc: reset RTC when clock source changed
2019-03-29 11:36:07 +01:00
fafc26819a
Merge pull request #10942 from OTAkeys/fix/stm32_uart_dma
...
cpu/stm32_common: fix DMA releasing in UART driver
2019-03-29 10:06:31 +01:00
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