Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9a063ae

Browse files
authored
Merge pull request#179 from pennam/stm32-upload-fix
Fix Sektch upload on OPTA and GIGA R1 WiFi
2 parentsa612970 +47df7e5 commit9a063ae

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

‎loader/fixups.c‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,17 @@ SYS_INIT(disable_bootloader_mpu, PRE_KERNEL_1, CONFIG_KERNEL_INIT_PRIORITY_DEFAU
3939
SYS_INIT(disable_mpu_rasr_xn,PRE_KERNEL_1,CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
4040
#endif
4141

42+
#if defined(CONFIG_SOC_STM32H747XX_M7)
43+
intenable_bkp_access(void)
44+
{
45+
/* Enable access to the backup domain */
46+
// HAL_PWR_EnableBkUpAccess();
47+
SET_BIT(PWR->CR1,PWR_CR1_DBP);
48+
return0;
49+
}
50+
SYS_INIT(enable_bkp_access,POST_KERNEL,CONFIG_KERNEL_INIT_PRIORITY_DEFAULT);
51+
#endif
52+
4253
#if defined(CONFIG_BOARD_ARDUINO_GIGA_R1)&& defined(CONFIG_VIDEO)
4354
#include<zephyr/kernel.h>
4455
#include<zephyr/device.h>

‎variants/arduino_giga_r1_stm32h747xx_m7/arduino_giga_r1_stm32h747xx_m7.conf‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,5 @@ CONFIG_CYW4343W_MURATA_1DX=y
6464
CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048
6565
CONFIG_BT_RX_STACK_SIZE=4096
6666
CONFIG_BT_HCI_TX_STACK_SIZE=4096
67+
68+
CONFIG_STM32H7_BOOT_M4_AT_INIT=n

‎variants/arduino_opta_stm32h747xx_m7/arduino_opta_stm32h747xx_m7.conf‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,4 @@ CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=7168
9090
CONFIG_MBEDTLS_HASH_ALL_ENABLED=y
9191
CONFIG_MBEDTLS_CMAC=y
9292

93+
CONFIG_STM32H7_BOOT_M4_AT_INIT=n

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp