You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by je...@apache.org on 2026/05/12 19:35:32 UTC
(mynewt-core) branch master updated (2ba18b2f3 -> 3ae48bc28)
This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
from 2ba18b2f3 stm32/hash: Fix stm32_hash_finish
new b4fb40dc6 bsp/nucleo-f439zi: Add LEDs pins
new 592b6f7ac bsp/nucleo-f439zi: Add PWM support
new 3ae48bc28 test/mtest: Add nucleo-f439zi
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
hw/bsp/nucleo-f439zi/include/bsp/bsp.h | 5 ++++-
hw/bsp/nucleo-f439zi/src/hal_bsp.c | 12 ++++++++++++
test/mtest/mtest_pwm/syscfg.yml | 5 +++++
3 files changed, 21 insertions(+), 1 deletion(-)
(mynewt-core) 03/03: test/mtest: Add nucleo-f439zi
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 3ae48bc28f4c82853a207b5af59e3f308b740cee
Author: Wiktor Kwiatkowski <wi...@codecoup.pl>
AuthorDate: Fri May 8 13:04:45 2026 +0200
test/mtest: Add nucleo-f439zi
This adds the mtest_pwm configuration for the nucleo-f439zi
board in syscfg.yml
---
test/mtest/mtest_pwm/syscfg.yml | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/test/mtest/mtest_pwm/syscfg.yml b/test/mtest/mtest_pwm/syscfg.yml
index 72a44d9e1..34a17db01 100644
--- a/test/mtest/mtest_pwm/syscfg.yml
+++ b/test/mtest/mtest_pwm/syscfg.yml
@@ -90,6 +90,11 @@ syscfg.vals.BSP_nucleo_u575zi_q:
PWM_TEST_CHANNEL: 1
PWM_TEST_READ_PIN: ARDUINO_PIN_D7
+syscfg.vals.BSP_nucleo_f439zi:
+ BSP_IS_NUCLEO: 1
+ PWM_TEST_OUT_PIN_AF: 2
+ PWM_TEST_CHANNEL: 2
+
syscfg.vals.BSP_dialog_da1469x_dk_pro:
TIMER_0: 0
TIMER_1: 1
(mynewt-core) 02/03: bsp/nucleo-f439zi: Add PWM support
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit 592b6f7ac47a829d6761180ce2c91d8c566fd8fd
Author: Wiktor Kwiatkowski <wi...@codecoup.pl>
AuthorDate: Fri May 8 12:58:24 2026 +0200
bsp/nucleo-f439zi: Add PWM support
This adds PWM device configurations. It defines structures for
PWM_0, PWM_1, and PWM_2 mapping them to the hardware timers.
---
hw/bsp/nucleo-f439zi/src/hal_bsp.c | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/hw/bsp/nucleo-f439zi/src/hal_bsp.c b/hw/bsp/nucleo-f439zi/src/hal_bsp.c
index 16e791dbb..f88ae0896 100644
--- a/hw/bsp/nucleo-f439zi/src/hal_bsp.c
+++ b/hw/bsp/nucleo-f439zi/src/hal_bsp.c
@@ -38,6 +38,18 @@
#include <pwm_stm32/pwm_stm32.h>
#endif
+#if MYNEWT_VAL(PWM_0)
+struct stm32_pwm_conf os_bsp_pwm0_cfg = { .tim = TIM3, .irq = TIM3_IRQn };
+#endif
+
+#if MYNEWT_VAL(PWM_1)
+struct stm32_pwm_conf os_bsp_pwm1_cfg = { .tim = TIM4, .irq = TIM4_IRQn };
+#endif
+
+#if MYNEWT_VAL(PWM_2)
+struct stm32_pwm_conf os_bsp_pwm2_cfg = { .tim = TIM2, .irq = TIM2_IRQn };
+#endif
+
const uint32_t stm32_flash_sectors[] = {
/* Bank 1 */
0x08000000, /* 16kB */
(mynewt-core) 01/03: bsp/nucleo-f439zi: Add LEDs pins
Posted by je...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
kasjer pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-core.git
commit b4fb40dc6cb63a8977d196ad4c3e8d06b9ce0053
Author: Wiktor Kwiatkowski <wi...@codecoup.pl>
AuthorDate: Fri May 8 12:51:07 2026 +0200
bsp/nucleo-f439zi: Add LEDs pins
This adds two missing LEDs (LED_1 on PB0 and LED_3 on PB14)
---
hw/bsp/nucleo-f439zi/include/bsp/bsp.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/hw/bsp/nucleo-f439zi/include/bsp/bsp.h b/hw/bsp/nucleo-f439zi/include/bsp/bsp.h
index b04555fed..d30e069f5 100644
--- a/hw/bsp/nucleo-f439zi/include/bsp/bsp.h
+++ b/hw/bsp/nucleo-f439zi/include/bsp/bsp.h
@@ -41,7 +41,10 @@ extern uint8_t _ccram_start;
#define CCRAM_SIZE (64 * 1024)
/* LED pins */
-#define LED_BLINK_PIN MCU_GPIO_PORTB(7)
+#define LED_1 MCU_GPIO_PORTB(0)
+#define LED_2 MCU_GPIO_PORTB(7)
+#define LED_3 MCU_GPIO_PORTB(14)
+#define LED_BLINK_PIN LED_1
/* Button pin */
#define BUTTON_1 MCU_GPIO_PORTC(13)