zephyr/boards
Maksim Salau 119f647426 boards: arm: nucleo_f042k6: fix pwm output
Changes:
* Fixed typo in the PWM channel number (32 -> 3)
* Added a prescaler to make the board compatible
  with the blinky_pwm sample

Output of the sample before the fix:

PWM-based blinky
Calibrating for channel 32...
[00:00:00.010,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.016,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.022,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.028,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.034,000] <err> pwm_stm32: Invalid channel (32)
[00:00:00.040,000] <err> pwm_stm32: Invalid channel (32)
Error: PWM device does not support a period at least 31250000

After the fix:

PWM-based blinky
Calibrating for channel 3...
Done calibrating; maximum/minimum periods 1000000000/7812500 nsec

Presence of PWM signal after the fix
has been confirmed using a logic analyzer.

Signed-off-by: Maksim Salau <maksim.salau@gmail.com>
2024-01-19 15:11:13 +00:00
..
arc arch: make CONFIG_EXCEPTION_DEBUG cross arch config 2023-12-14 09:32:27 +01:00
arm boards: arm: nucleo_f042k6: fix pwm output 2024-01-19 15:11:13 +00:00
arm64 board: mimx93_evk_a55: add led and button definitions and alias 2024-01-16 20:50:11 -05:00
common linkserver: nxp: enable linkserver to be the default runner 2024-01-05 14:29:18 +01:00
mips boards: Use unique names for boards in the YAML files 2023-11-24 09:26:28 +01:00
nios2 arch: _PrepC -> z_prep_c 2023-12-11 18:23:52 -05:00
posix boards native_sim: Detect attemtp to configure not existing int 2024-01-19 14:04:29 +01:00
riscv boards/riscv: use the same board name convention for ITE platforms 2024-01-18 06:40:34 -05:00
shields boards: update stm32h747i_disco display 2024-01-17 14:43:20 +01:00
sparc boards/sparc: Ignore tests for net and bluetooth 2023-10-05 18:34:30 +03:00
x86 boards: qemu_x86_64: amend DTS to have 2 CPU nodes 2024-01-17 11:57:20 -05:00
xtensa drivers: gpio: PCF857x: Modify PCF8574 driver 2024-01-16 15:19:14 +00:00
CMakeLists.txt cmake: enable -Wshadow partially for in-tree code 2023-08-22 11:39:58 +02:00
deprecated.cmake boards: deprecated: Remove boards deprecated pre-Zephyr 2.7 2024-01-03 10:19:06 +01:00
index.rst doc: boards: Link to the board porting guide 2023-09-29 16:29:49 +02:00
Kconfig config: qemu: Add QEMU_EXTRA_FLAGS config option 2023-10-20 15:03:55 +02:00