Skip to content

Commit faf876c

Browse files
author
Andreas Larsson
committed
Moved ODIN target files into STM32F439xI folder to avoid duplicate code
1 parent 634bfb5 commit faf876c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+9
-12601
lines changed

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/PeripheralNames.h renamed to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/PeripheralNames.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ typedef enum {
4242
ADC_3 = (int)ADC3_BASE
4343
} ADCName;
4444

45+
typedef enum {
46+
DAC_1 = (int)DAC_BASE
47+
} DACName;
4548

4649
typedef enum {
4750
UART_1 = (int)USART1_BASE,

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/system_stm32f4xx.c renamed to targets/TARGET_STM/TARGET_STM32F4/TARGET_STM32F439xI/TARGET_UBLOX_EVK_ODIN_W2/system_stm32f4xx.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -747,11 +747,13 @@ void SystemInit_ExtMemCtl(void)
747747
/* No pull-up, pull-down for PGx pins */
748748
GPIOG->PUPDR = 0x00000000;
749749

750-
/*-- FMC/FSMC Configuration --------------------------------------------------*/
750+
/*-- FMC/FSMC Configuration --------------------------------------------------*/
751751
/* Enable the FMC/FSMC interface clock */
752752
RCC->AHB3ENR |= 0x00000001;
753-
754-
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx)|| defined(STM32F439xx)
753+
754+
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
755+
/* Delay after an RCC peripheral clock enabling */
756+
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
755757
/* Configure and enable Bank1_SRAM2 */
756758
FMC_Bank1->BTCR[2] = 0x00001011;
757759
FMC_Bank1->BTCR[3] = 0x00000201;

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_ARM_MICRO/startup_stm32f439xx.S

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

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_ARM_MICRO/stm32f439xx.sct

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

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_ARM_STD/startup_stm32f439xx.S

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

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_ARM_STD/stm32f439xx.sct

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

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_ARM_STD/sys.cpp

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

targets/TARGET_STM/TARGET_STM32F4/TARGET_UBLOX_EVK_ODIN_W2/device/TOOLCHAIN_GCC_ARM/STM32F439ZI.ld

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

0 commit comments

Comments
 (0)