Skip to content

Commit 9e7f6c2

Browse files
committed
Fixes after reviewer's comment
- Fix misnamed STM32U585 register - Remove emu-test-apps linker scripts as they are autogenerated
1 parent 9b24a65 commit 9e7f6c2

8 files changed

Lines changed: 5 additions & 424 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,3 +304,6 @@ language.settings.xml
304304

305305
# PolarFire SoC Device Tree Binary
306306
hal/mpfs.dtb
307+
308+
# Emulator test: generated linker scripts
309+
test-app/emu-test-apps/*/target.ld

hal/stm32u5.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ static void periph_unsecure(void)
502502
RCC_AHB2ENR1_CLOCK_ER |= GPIOD_AHB2ENR1_CLOCK_ER;
503503

504504
/* Enable clock for USART3 */
505-
RCC_APB1LENR |= (1u << 18);
505+
RCC_APB1ENR |= (1u << 18);
506506

507507
/* Unsecure USART3 pins (PD8 TX, PD9 RX) */
508508
GPIOD_SECCFGR &= ~(1u << 8);

hal/stm32u5.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@
120120
#define RCC_AHB3ENR (*(volatile uint32_t *)(RCC_BASE + 0x94)) /* RM0456 - Table 108 */
121121
#define RCC_AHB3ENR_GTZC2EN (1 << 12)
122122

123-
#define RCC_APB1LENR (*(volatile uint32_t *)(RCC_BASE + 0x9C)) /* RM0456 - Table 108 */
123+
#define RCC_APB1ENR (*(volatile uint32_t *)(RCC_BASE + 0x9C)) /* RM0456 - Table 108 */
124124
#define RCC_AHB3ENR_PWREN (1 << 2)
125125

126126
#define RCC_ICSCR1 (*(volatile uint32_t *)(RCC_BASE + 0x08))

test-app/emu-test-apps/mcxw71/target.ld

Lines changed: 0 additions & 85 deletions
This file was deleted.

test-app/emu-test-apps/nrf5340/target.ld

Lines changed: 0 additions & 90 deletions
This file was deleted.

test-app/emu-test-apps/stm32h563/target.ld

Lines changed: 0 additions & 83 deletions
This file was deleted.

test-app/emu-test-apps/stm32l552/target.ld

Lines changed: 0 additions & 82 deletions
This file was deleted.

0 commit comments

Comments
 (0)