Skip to content

Commit 226af54

Browse files
authored
Merge pull request #4510 from kegilbert/rearrange-odin-target-rebase
u-blox rearrange ODIN target
2 parents f16ca56 + 6a270fb commit 226af54

Some content is hidden

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

57 files changed

+9
-20699
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
@@ -734,11 +734,13 @@ void SystemInit_ExtMemCtl(void)
734734
/* No pull-up, pull-down for PGx pins */
735735
GPIOG->PUPDR = 0x00000000;
736736

737-
/*-- FMC/FSMC Configuration --------------------------------------------------*/
737+
/*-- FMC/FSMC Configuration --------------------------------------------------*/
738738
/* Enable the FMC/FSMC interface clock */
739739
RCC->AHB3ENR |= 0x00000001;
740-
741-
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx)|| defined(STM32F439xx)
740+
741+
#if defined(STM32F427xx) || defined(STM32F437xx) || defined(STM32F429xx) || defined(STM32F439xx)
742+
/* Delay after an RCC peripheral clock enabling */
743+
tmp = READ_BIT(RCC->AHB3ENR, RCC_AHB3ENR_FMCEN);
742744
/* Configure and enable Bank1_SRAM2 */
743745
FMC_Bank1->BTCR[2] = 0x00001011;
744746
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)