Jeremy LOCHE
8da57d8748
boards: waveshare_open103z: configure serial pins from DT
...
usart1, usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
1f5d8e4b87
boards: stm32l476g_disco: configure serial pins from DT
...
usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
ad0c7f151e
boards: stm32f411e_disco: configure serial pins from DT
...
usart2 pinmuxes are now configured from DT pinctrl
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
8044c548b2
boards: nucleo_l073rz: configure serial pins from DT
...
usart1, usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
a0dd580c83
boards: nucleo_g431rb: configure serial pins from DT
...
usart, lpuart1 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
8af8a300b0
boards: nucleo_f413zh: configure serial pins from dts
...
usart3, usart6 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
da346fbba0
boards: nucleo_f767zi: configure serial pins from DT
...
usart2, usart3, usart6 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
56591d8e72
boards: nucleo_l4r5zi: configure serial pins from DT
...
usart1, usart2, usart3, lpuart1 pinmuxes are now configured
from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
62a5108f68
boards: google_kukui: configure serial pins from DT
...
usart1 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
91b91b1bba
boards: nucleo_f401re: configure serial pins from DT
...
usart1, usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
c2c408e192
boards: 96b_stm32_sensor_mez: configure serial pins from DT
...
usart1, usart2, usart3, uart4 pinmuxes are now configured from
DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
bb711bca32
boards: stm32vl_disco: configure serial pins from DT
...
usart1, usart2, usart3 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
9120e7c2b7
boards: olimexino_stm32: configure serial pins from DT
...
usart1, usart2, usart3 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
7e0c401452
boards: dragino_lsn50: configure serial pins from DT
...
usart1, usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
9409c63f0c
boards: nucleo_f091rc: configure serial pins from DT
...
usart1, usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
e40381afb2
boards: black_f407zg_pro: configure serial pins from DT
...
usart1, usart2 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
6063687127
boards: nucleo_f334r8: configure serial pins from DT
...
usart1, usart2, usart3 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
62e68fdab6
boards: stm32f723e_disco: configure serial pins from DT
...
usart2, usart6 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
9e9b158b75
boards: nucleo_f756zg: configure serial pins from DT
...
usart2, usart3, usart6 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
83b7e1ae3e
boards: stm32f746g_disco: configure serial pins from DT
...
usart1, usart6 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
339402d094
boards: nucleo_l552ze_q: configure serial pins from DT
...
lpuart1 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Jeremy LOCHE
edaab9a6f7
boards: nucleo_f302r8: configure serial pins from DT
...
usart1, usart2, usart3 pinmuxes are now configured from DT pinctrl.
Signed-off-by: Jeremy LOCHE <lochejeremy@gmail.com>
2020-10-08 05:05:20 -05:00
Alexander Kozhinov
bb9ec35b0a
boards: arm: nucleo_h745zi_q: dts
...
add pinctrl include for stm32h743zitx SoC
remove pins definitions for usart3 and uart8 in punmux.c
add pinctrl for usart3 of m7 core dts
add pinctrl for uart8 of m4 core dts
Signed-off-by: Alexander Kozhinov <AlexanderKozhinov@yandex.com>
2020-10-08 05:03:28 -05:00
Vinayak Kariappa Chettimada
e50319e055
Bluetooth: controller: Check for ticker operation failure
...
Add assert check to detect failure to enqueue ticker
operations. This will avoid HCI thread from stalling
forever on k_sem_take.
This assert will trigger on design fault, not defining
enough queued ticker operations count.
Signed-off-by: Vinayak Kariappa Chettimada <vich@nordicsemi.no>
2020-10-08 11:54:42 +02:00
Jennifer Williams
5bda586c64
logging: fix if else if constructs missing final else
...
The logging subsytsem had if else if constructs without final
else statement. This commit adds else {} to comply with
coding guideline 15.7.
Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
2020-10-07 23:05:18 -07:00
Jennifer Williams
4d33007486
kernel: stack: fix stack_push spinlock and return
...
The z_impl_k_stack_push() has a spinlock that is set after
stack member access, which could cause race conditions and
used multiple return statements. This commit
- moves the lock before the CHECKIF
- implements goto for flow of lock, reschedule, and unlock
- uses ret for single return at the end
Signed-off-by: Jennifer Williams <jennifer.m.williams@intel.com>
2020-10-07 17:10:36 -04:00
Peter Bigot
2ffbad4941
drivers: counter: stm32: hide irrelevant options
...
CONFIG_COUNTER_RTC_STM32_BACKUP_DOMAIN_RESET=y was showing up in
configs for non-STM32 boards.
Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-10-07 15:26:03 -05:00
Martí Bolívar
93608adb5a
doc: update west build --pristine
...
This needs to be changed to reflect the change of default to 'auto'
from 'never'.
Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
2020-10-07 15:16:24 -05:00
Kumar Gala
c22f7e5062
uart: Remove deprecated defines
...
The following defines have been deprecated for at least 2 releases so
remove them:
UART_ERROR_BREAK
LINE_CTRL_BAUD_RATE
LINE_CTRL_RTS
LINE_CTRL_DTR
LINE_CTRL_DCD
LINE_CTRL_DSR
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-10-07 15:13:32 -05:00
Fabio Utzig
c261b784c8
doc: fix broken link-roles on west>=0.8
...
Fix broken links generated by link-roles after west was upgrade to
0.8.0. `url` was previously `None` and now returns an empty str.
Signed-off-by: Fabio Utzig <fabio.utzig@nordicsemi.no>
2020-10-07 15:43:19 -04:00
Kumar Gala
11966e599e
dts/bindings: Update gpio-controller to add additionl properties
...
Add gpio-reserved-ranges & gpio-line-names properties.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Co-authored-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
2020-10-07 14:33:27 -05:00
Kumar Gala
6b3529d24e
dts/bindings: Update gpio-controller to clarify ngpios
...
Provide more docs on ngpios and try and clarify the case if there are
holes in the GPIO slot range how ngpios should work.
Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2020-10-07 14:33:27 -05:00
Gerard Marull-Paretas
bedd55ac97
boards: arm: stm32f746g_disco: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on
STM32F746G-DISCOVERY board.
NOTE: DT entry for timers1/pwm1 has been replaced by timers3/pwm3 as it
was the pwm referenced in the pinmux file.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
ef6579b15f
boards: arm: nucleo_l432kc: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-L432KC
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
a4aa951baa
boards: arm: nucleo_wb55rg: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-WB55RG
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
dda6396c65
boards: arm: nucleo_f412zg: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-F412ZG
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
db89bb7ef8
boards: arm: nucleo_f429zi: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-F429ZI
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
162e14b51f
boards: arm: steval_fcu001v1: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on STEVAL-FCU001V1
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
f1f92709c1
boards: arm: mikroe_mini_m4: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on Mikroe mini M4 for
STM32 board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
3e8b30ab62
boards: arm: stm32f3_disco: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on STM32F3-DISCOVERY
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
08af27bbe1
boards: arm: b_l4s5i_iot01a: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on B-L4SI-IOT01A
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
150f1952d1
boards: arm: stm32f4_disco: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on STM32F4DISCOVERY
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
d01ac27306
boards: arm: nucleo_f103rb: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-F103RB
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
2310f04d04
boards: arm: nucleo_g071rb: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-G071RB
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
e6fcd2c18f
boards: arm: disco_l475_iot1: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on
DISCO-L475VG-IOT01A board.
NOTE: pinctrl file pointed to a wrong variant l475r(c-e-g)tx, however,
the SoC in the board corresponds to l475v(c-e-g)tx.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
4fa7a03cc3
boards: arm: blackpill_f411ce: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on Blackpill F411CE
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
a9085a5bdb
boards: arm: nucleo_l476rg: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-L476RG
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
6944984468
boards: arm: nucleo_l452re: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on NUCLEO-L452RE and
NUCLEO-L452RE-P boards.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
6c758e73b6
boards: arm: olimex_stm32_h103: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on Olimex STM32 H103
board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00
Gerard Marull-Paretas
c35bd329c6
boards: arm: stm32_min_dev: use DT for PWM pinmux configuration
...
Use the new DT facilities to configure PWM pinmux on STM32 Minimum
Development board.
Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
2020-10-07 12:27:37 -05:00