diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..4cde08f
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/bin
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/Project.uvoptx b/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/Project.uvoptx
deleted file mode 100644
index 6ba90dd..0000000
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/Project.uvoptx
+++ /dev/null
@@ -1,779 +0,0 @@
-
-
-
- 1.0
-
- ### uVision Project, (C) Keil Software
-
-
- *.c
- *.s*; *.src; *.a*
- *.obj; *.o
- *.lib
- *.txt; *.h; *.inc
- *.plm
- *.cpp
- 0
-
-
-
- 0
- 0
-
-
-
- STM32F429VI_HERO-FS
- 0x4
- ARM-ADS
-
- 25000000
-
- 1
- 1
- 0
- 1
- 0
-
-
- 1
- 65535
- 0
- 0
- 0
-
-
- 79
- 66
- 8
-
-
-
- 1
- 1
- 1
- 0
- 1
- 1
- 0
- 1
- 0
- 0
- 0
- 0
-
-
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 0
- 0
-
-
- 1
- 0
- 1
-
- 18
-
- 0
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 1
- 0
- 0
- 1
- 0
- 0
- 6
-
-
-
-
-
-
-
-
-
-
- STLink\ST-LINKIII-KEIL_SWO.dll
-
-
-
- 0
- UL2CM3
- UL2CM3(-S0 -C0 -P0 ) -FN1 -FC1000 -FD20000000 -FF0STM32F4xx_2048 -FL0200000 -FS08000000 -FP0($$Device:STM32F429VITx$CMSIS\Flash\STM32F4xx_2048.FLM)
-
-
- 0
- ST-LINKIII-KEIL_SWO
- -U-O142 -O2254 -SF4000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P2 -N00("ARM CoreSight SW-DP") -D00(2BA01477) -L00(0) -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_2048.FLM -FS08000000 -FL0200000 -FP0($$Device:STM32F429VITx$CMSIS\Flash\STM32F4xx_2048.FLM)
-
-
- 0
- ARMRTXEVENTFLAGS
- -L70 -Z18 -C0 -M0 -T1
-
-
- 0
- DLGTARM
- (1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0)
-
-
- 0
- ARMDBGFLAGS
-
-
-
- 0
- DLGUARM
- (105=-1,-1,-1,-1,0)
-
-
-
-
-
- 0
- 1
- frame
-
-
- 1
- 1
- pclk1,0x0A
-
-
-
- 0
-
-
- 0
- 1
- 1
- 0
- 0
- 0
- 0
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- 0
-
-
-
- 0
- 0
- 0
-
-
-
-
-
-
-
-
-
- 1
- 0
- 2
- 10000000
-
-
-
-
-
- Doc
- 0
- 0
- 0
- 0
-
- 1
- 1
- 5
- 0
- 0
- 0
- ../readme.txt
- readme.txt
- 0
- 0
-
-
-
-
- Application/User
- 1
- 0
- 0
- 0
-
- 2
- 2
- 1
- 0
- 0
- 0
- ../Src/usbd_conf.c
- usbd_conf.c
- 0
- 0
-
-
- 2
- 3
- 1
- 0
- 0
- 0
- ../Src/main.c
- main.c
- 0
- 0
-
-
- 2
- 4
- 1
- 0
- 0
- 0
- ../Src/usbd_desc.c
- usbd_desc.c
- 0
- 0
-
-
- 2
- 5
- 1
- 0
- 0
- 0
- ../Src/stm32f4xx_it.c
- stm32f4xx_it.c
- 0
- 0
-
-
- 2
- 6
- 1
- 0
- 0
- 0
- ..\Src\usbd_gs_can.c
- usbd_gs_can.c
- 0
- 0
-
-
- 2
- 7
- 1
- 0
- 0
- 0
- ..\Src\queue.c
- queue.c
- 0
- 0
-
-
- 2
- 8
- 1
- 0
- 0
- 0
- ..\Src\util.c
- util.c
- 0
- 0
-
-
- 2
- 9
- 1
- 0
- 0
- 0
- ..\Src\timer.c
- timer.c
- 0
- 0
-
-
- 2
- 10
- 1
- 0
- 0
- 0
- ..\Src\can.c
- can.c
- 0
- 0
-
-
- 2
- 11
- 1
- 0
- 0
- 0
- ..\Src\dfu.c
- dfu.c
- 0
- 0
-
-
- 2
- 12
- 1
- 0
- 0
- 0
- ..\Src\led.c
- led.c
- 0
- 0
-
-
-
-
- Middlewares/STM32_USBD_Library/Class/HID
- 1
- 0
- 0
- 0
-
-
-
- Drivers/CMSIS
- 1
- 0
- 0
- 0
-
- 4
- 13
- 1
- 0
- 0
- 0
- ../Src/system_stm32f4xx.c
- system_stm32f4xx.c
- 0
- 0
-
-
-
-
- Application/MDK-ARM
- 0
- 0
- 0
- 0
-
- 5
- 14
- 2
- 0
- 0
- 0
- startup_stm32f429xx.s
- startup_stm32f429xx.s
- 0
- 0
-
-
-
-
- Drivers/STM32F4xx_HAL_Driver
- 0
- 0
- 0
- 0
-
- 6
- 15
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fsmc.c
- stm32f4xx_ll_fsmc.c
- 0
- 0
-
-
- 6
- 16
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c
- stm32f4xx_hal_cortex.c
- 0
- 0
-
-
- 6
- 17
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c
- stm32f4xx_ll_fmc.c
- 0
- 0
-
-
- 6
- 18
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
- stm32f4xx_hal_uart.c
- 0
- 0
-
-
- 6
- 19
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.c
- stm32f4xx_hal_sram.c
- 0
- 0
-
-
- 6
- 20
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c
- stm32f4xx_hal_hcd.c
- 0
- 0
-
-
- 6
- 21
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c
- stm32f4xx_hal_pwr_ex.c
- 0
- 0
-
-
- 6
- 22
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c
- stm32f4xx_hal.c
- 0
- 0
-
-
- 6
- 23
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c
- stm32f4xx_hal_pcd_ex.c
- 0
- 0
-
-
- 6
- 24
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c
- stm32f4xx_hal_pwr.c
- 0
- 0
-
-
- 6
- 25
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c
- stm32f4xx_hal_flash.c
- 0
- 0
-
-
- 6
- 26
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c
- stm32f4xx_hal_i2c.c
- 0
- 0
-
-
- 6
- 27
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c
- stm32f4xx_hal_pcd.c
- 0
- 0
-
-
- 6
- 28
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c
- stm32f4xx_hal_i2c_ex.c
- 0
- 0
-
-
- 6
- 29
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c
- stm32f4xx_hal_rcc.c
- 0
- 0
-
-
- 6
- 30
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sdram.c
- stm32f4xx_hal_sdram.c
- 0
- 0
-
-
- 6
- 31
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c
- stm32f4xx_hal_dma_ex.c
- 0
- 0
-
-
- 6
- 32
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c
- stm32f4xx_hal_rcc_ex.c
- 0
- 0
-
-
- 6
- 33
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c
- stm32f4xx_hal_gpio.c
- 0
- 0
-
-
- 6
- 34
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c
- stm32f4xx_hal_dma.c
- 0
- 0
-
-
- 6
- 35
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
- stm32f4xx_ll_usb.c
- 0
- 0
-
-
- 6
- 36
- 1
- 0
- 0
- 0
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c
- stm32f4xx_hal_flash_ex.c
- 0
- 0
-
-
- 6
- 37
- 1
- 0
- 0
- 0
- ..\..\..\..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
- stm32f4xx_hal_can.c
- 0
- 0
-
-
-
-
- Middlewares/STM32_USBD_Library/Core
- 0
- 0
- 0
- 0
-
- 7
- 38
- 1
- 0
- 0
- 0
- ../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c
- usbd_core.c
- 0
- 0
-
-
- 7
- 39
- 1
- 0
- 0
- 0
- ../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c
- usbd_ioreq.c
- 0
- 0
-
-
- 7
- 40
- 1
- 0
- 0
- 0
- ../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c
- usbd_ctlreq.c
- 0
- 0
-
-
-
-
- Drivers/BSP/STM32F4xx_HERO
- 1
- 0
- 0
- 0
-
- 8
- 41
- 1
- 0
- 0
- 0
- ..\..\..\..\..\..\Drivers\BSP\STM32F4xx_HERO\stm32f4xx_hero.c
- stm32f4xx_hero.c
- 0
- 0
-
-
-
-
- ::CMSIS
- 0
- 0
- 0
- 1
-
-
-
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/startup_stm32f429xx.lst b/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/startup_stm32f429xx.lst
deleted file mode 100644
index 733d234..0000000
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/startup_stm32f429xx.lst
+++ /dev/null
@@ -1,2090 +0,0 @@
-
-
-
-ARM Macro Assembler Page 1
-
-
- 1 00000000 ;******************** (C) COPYRIGHT 2017 STMicroelectron
- ics ********************
- 2 00000000 ;* File Name : startup_stm32f429xx.s
- 3 00000000 ;* Author : MCD Application Team
- 4 00000000 ;* Description : STM32F429x devices vector table
- for MDK-ARM toolchain.
- 5 00000000 ;* This module performs:
- 6 00000000 ;* - Set the initial SP
- 7 00000000 ;* - Set the initial PC == Reset_Ha
- ndler
- 8 00000000 ;* - Set the vector table entries w
- ith the exceptions ISR address
- 9 00000000 ;* - Branches to __main in the C li
- brary (which eventually
- 10 00000000 ;* calls main()).
- 11 00000000 ;* After Reset the CortexM4 process
- or is in Thread mode,
- 12 00000000 ;* priority is Privileged, and the
- Stack is set to Main.
- 13 00000000 ;* <<< Use Configuration Wizard in Context Menu >>>
- 14 00000000 ;*******************************************************
- ************************
- 15 00000000 ;
- 16 00000000 ;* Redistribution and use in source and binary forms, wi
- th or without modification,
- 17 00000000 ;* are permitted provided that the following conditions
- are met:
- 18 00000000 ;* 1. Redistributions of source code must retain the a
- bove copyright notice,
- 19 00000000 ;* this list of conditions and the following discla
- imer.
- 20 00000000 ;* 2. Redistributions in binary form must reproduce th
- e above copyright notice,
- 21 00000000 ;* this list of conditions and the following discla
- imer in the documentation
- 22 00000000 ;* and/or other materials provided with the distrib
- ution.
- 23 00000000 ;* 3. Neither the name of STMicroelectronics nor the n
- ames of its contributors
- 24 00000000 ;* may be used to endorse or promote products deriv
- ed from this software
- 25 00000000 ;* without specific prior written permission.
- 26 00000000 ;*
- 27 00000000 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AN
- D CONTRIBUTORS "AS IS"
- 28 00000000 ;* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT
- NOT LIMITED TO, THE
- 29 00000000 ;* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
- A PARTICULAR PURPOSE ARE
- 30 00000000 ;* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
- CONTRIBUTORS BE LIABLE
- 31 00000000 ;* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPL
- ARY, OR CONSEQUENTIAL
- 32 00000000 ;* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT O
- F SUBSTITUTE GOODS OR
- 33 00000000 ;* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER
- 34 00000000 ;* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CON
- TRACT, STRICT LIABILITY,
-
-
-
-ARM Macro Assembler Page 2
-
-
- 35 00000000 ;* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING I
- N ANY WAY OUT OF THE USE
- 36 00000000 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
- OF SUCH DAMAGE.
- 37 00000000 ;
- 38 00000000 ;*******************************************************
- ************************
- 39 00000000
- 40 00000000 ; Amount of memory (in bytes) allocated for Stack
- 41 00000000 ; Tailor this value to your application needs
- 42 00000000 ; Stack Configuration
- 43 00000000 ; Stack Size (in Bytes) <0x0-0xFFFFFFFF:8>
- 44 00000000 ;
- 45 00000000
- 46 00000000 00000400
- Stack_Size
- EQU 0x400 ;
- 47 00000000
- 48 00000000 AREA STACK, NOINIT, READWRITE, ALIGN
-=3
- 49 00000000 Stack_Mem
- SPACE Stack_Size
- 50 00000400 __initial_sp
- 51 00000400
- 52 00000400
- 53 00000400 ; Heap Configuration
- 54 00000400 ; Heap Size (in Bytes) <0x0-0xFFFFFFFF:8>
- 55 00000400 ;
- 56 00000400
- 57 00000400 00000200
- Heap_Size
- EQU 0x200 ;
- 58 00000400
- 59 00000400 AREA HEAP, NOINIT, READWRITE, ALIGN=
-3
- 60 00000000 __heap_base
- 61 00000000 Heap_Mem
- SPACE Heap_Size
- 62 00000200 __heap_limit
- 63 00000200
- 64 00000200 PRESERVE8
- 65 00000200 THUMB
- 66 00000200
- 67 00000200
- 68 00000200 ; Vector Table Mapped to Address 0 at Reset
- 69 00000200 AREA RESET, DATA, READONLY
- 70 00000000 EXPORT __Vectors
- 71 00000000 EXPORT __Vectors_End
- 72 00000000 EXPORT __Vectors_Size
- 73 00000000
- 74 00000000 00000000
- __Vectors
- DCD __initial_sp ; Top of Stack
- 75 00000004 00000000 DCD Reset_Handler ; Reset Handler
- 76 00000008 00000000 DCD NMI_Handler ; NMI Handler
- 77 0000000C 00000000 DCD HardFault_Handler ; Hard Fault
- Handler
- 78 00000010 00000000 DCD MemManage_Handler
- ; MPU Fault Handler
-
-
-
-ARM Macro Assembler Page 3
-
-
-
- 79 00000014 00000000 DCD BusFault_Handler
- ; Bus Fault Handler
-
- 80 00000018 00000000 DCD UsageFault_Handler ; Usage Faul
- t Handler
- 81 0000001C 00000000 DCD 0 ; Reserved
- 82 00000020 00000000 DCD 0 ; Reserved
- 83 00000024 00000000 DCD 0 ; Reserved
- 84 00000028 00000000 DCD 0 ; Reserved
- 85 0000002C 00000000 DCD SVC_Handler ; SVCall Handler
- 86 00000030 00000000 DCD DebugMon_Handler ; Debug Monito
- r Handler
- 87 00000034 00000000 DCD 0 ; Reserved
- 88 00000038 00000000 DCD PendSV_Handler ; PendSV Handler
-
- 89 0000003C 00000000 DCD SysTick_Handler
- ; SysTick Handler
- 90 00000040
- 91 00000040 ; External Interrupts
- 92 00000040 00000000 DCD WWDG_IRQHandler ; Window WatchD
- og
-
-
- 93 00000044 00000000 DCD PVD_IRQHandler ; PVD through EX
- TI Line detection
-
-
- 94 00000048 00000000 DCD TAMP_STAMP_IRQHandler ; Tamper
- and TimeStamps thro
- ugh the EXTI line
-
- 95 0000004C 00000000 DCD RTC_WKUP_IRQHandler ; RTC Wakeu
- p through the EXTI
- line
-
- 96 00000050 00000000 DCD FLASH_IRQHandler ; FLASH
-
-
- 97 00000054 00000000 DCD RCC_IRQHandler ; RCC
-
-
- 98 00000058 00000000 DCD EXTI0_IRQHandler ; EXTI Line0
-
-
-
- 99 0000005C 00000000 DCD EXTI1_IRQHandler ; EXTI Line1
-
-
-
- 100 00000060 00000000 DCD EXTI2_IRQHandler ; EXTI Line2
-
-
-
- 101 00000064 00000000 DCD EXTI3_IRQHandler ; EXTI Line3
-
-
-
- 102 00000068 00000000 DCD EXTI4_IRQHandler ; EXTI Line4
-
-
-
-ARM Macro Assembler Page 4
-
-
-
-
-
- 103 0000006C 00000000 DCD DMA1_Stream0_IRQHandler ; DMA1
- Stream 0
-
-
- 104 00000070 00000000 DCD DMA1_Stream1_IRQHandler ; DMA1
- Stream 1
-
-
- 105 00000074 00000000 DCD DMA1_Stream2_IRQHandler ; DMA1
- Stream 2
-
-
- 106 00000078 00000000 DCD DMA1_Stream3_IRQHandler ; DMA1
- Stream 3
-
-
- 107 0000007C 00000000 DCD DMA1_Stream4_IRQHandler ; DMA1
- Stream 4
-
-
- 108 00000080 00000000 DCD DMA1_Stream5_IRQHandler ; DMA1
- Stream 5
-
-
- 109 00000084 00000000 DCD DMA1_Stream6_IRQHandler ; DMA1
- Stream 6
-
-
- 110 00000088 00000000 DCD ADC_IRQHandler ; ADC1, ADC2 and
- ADC3s
-
- 111 0000008C 00000000 DCD CAN1_TX_IRQHandler ; CAN1 TX
-
-
-
- 112 00000090 00000000 DCD CAN1_RX0_IRQHandler ; CAN1 RX0
-
-
-
- 113 00000094 00000000 DCD CAN1_RX1_IRQHandler ; CAN1 RX1
-
-
-
- 114 00000098 00000000 DCD CAN1_SCE_IRQHandler ; CAN1 SCE
-
-
-
- 115 0000009C 00000000 DCD EXTI9_5_IRQHandler ; External L
- ine[9:5]s
-
-
- 116 000000A0 00000000 DCD TIM1_BRK_TIM9_IRQHandler ; TIM1
- Break and TIM9
-
- 117 000000A4 00000000 DCD TIM1_UP_TIM10_IRQHandler ; TIM1
- Update and TIM10
-
-
-
-ARM Macro Assembler Page 5
-
-
-
- 118 000000A8 00000000 DCD TIM1_TRG_COM_TIM11_IRQHandler ;
- TIM1 Trigger and C
- ommutation and TIM1
- 1
- 119 000000AC 00000000 DCD TIM1_CC_IRQHandler ; TIM1 Captu
- re Compare
-
-
- 120 000000B0 00000000 DCD TIM2_IRQHandler ; TIM2
-
-
- 121 000000B4 00000000 DCD TIM3_IRQHandler ; TIM3
-
-
- 122 000000B8 00000000 DCD TIM4_IRQHandler ; TIM4
-
-
- 123 000000BC 00000000 DCD I2C1_EV_IRQHandler ; I2C1 Event
-
-
-
- 124 000000C0 00000000 DCD I2C1_ER_IRQHandler ; I2C1 Error
-
-
-
- 125 000000C4 00000000 DCD I2C2_EV_IRQHandler ; I2C2 Event
-
-
-
- 126 000000C8 00000000 DCD I2C2_ER_IRQHandler ; I2C2 Error
-
-
-
- 127 000000CC 00000000 DCD SPI1_IRQHandler ; SPI1
-
-
- 128 000000D0 00000000 DCD SPI2_IRQHandler ; SPI2
-
-
- 129 000000D4 00000000 DCD USART1_IRQHandler ; USART1
-
-
- 130 000000D8 00000000 DCD USART2_IRQHandler ; USART2
-
-
- 131 000000DC 00000000 DCD USART3_IRQHandler ; USART3
-
-
- 132 000000E0 00000000 DCD EXTI15_10_IRQHandler ; External
- Line[15:10]s
-
-
- 133 000000E4 00000000 DCD RTC_Alarm_IRQHandler ; RTC Alar
- m (A and B) through
- EXTI Line
-
- 134 000000E8 00000000 DCD OTG_FS_WKUP_IRQHandler ; USB OT
- G FS Wakeup through
-
-
-
-ARM Macro Assembler Page 6
-
-
- EXTI line
-
- 135 000000EC 00000000 DCD TIM8_BRK_TIM12_IRQHandler ; TIM
- 8 Break and TIM12
-
- 136 000000F0 00000000 DCD TIM8_UP_TIM13_IRQHandler ; TIM8
- Update and TIM13
-
- 137 000000F4 00000000 DCD TIM8_TRG_COM_TIM14_IRQHandler ;
- TIM8 Trigger and C
- ommutation and TIM1
- 4
- 138 000000F8 00000000 DCD TIM8_CC_IRQHandler ; TIM8 Captu
- re Compare
-
-
- 139 000000FC 00000000 DCD DMA1_Stream7_IRQHandler ; DMA1
- Stream7
-
-
- 140 00000100 00000000 DCD FMC_IRQHandler ; FMC
-
-
- 141 00000104 00000000 DCD SDIO_IRQHandler ; SDIO
-
-
- 142 00000108 00000000 DCD TIM5_IRQHandler ; TIM5
-
-
- 143 0000010C 00000000 DCD SPI3_IRQHandler ; SPI3
-
-
- 144 00000110 00000000 DCD UART4_IRQHandler ; UART4
-
-
- 145 00000114 00000000 DCD UART5_IRQHandler ; UART5
-
-
- 146 00000118 00000000 DCD TIM6_DAC_IRQHandler ; TIM6 and
- DAC1&2 underrun err
- ors
-
- 147 0000011C 00000000 DCD TIM7_IRQHandler ; TIM7
-
- 148 00000120 00000000 DCD DMA2_Stream0_IRQHandler ; DMA2
- Stream 0
-
-
- 149 00000124 00000000 DCD DMA2_Stream1_IRQHandler ; DMA2
- Stream 1
-
-
- 150 00000128 00000000 DCD DMA2_Stream2_IRQHandler ; DMA2
- Stream 2
-
-
- 151 0000012C 00000000 DCD DMA2_Stream3_IRQHandler ; DMA2
- Stream 3
-
-
-
-
-ARM Macro Assembler Page 7
-
-
-
- 152 00000130 00000000 DCD DMA2_Stream4_IRQHandler ; DMA2
- Stream 4
-
-
- 153 00000134 00000000 DCD ETH_IRQHandler ; Ethernet
-
-
- 154 00000138 00000000 DCD ETH_WKUP_IRQHandler ; Ethernet
- Wakeup through EXTI
- line
-
- 155 0000013C 00000000 DCD CAN2_TX_IRQHandler ; CAN2 TX
-
-
-
- 156 00000140 00000000 DCD CAN2_RX0_IRQHandler ; CAN2 RX0
-
-
-
- 157 00000144 00000000 DCD CAN2_RX1_IRQHandler ; CAN2 RX1
-
-
-
- 158 00000148 00000000 DCD CAN2_SCE_IRQHandler ; CAN2 SCE
-
-
-
- 159 0000014C 00000000 DCD OTG_FS_IRQHandler ; USB OTG FS
-
-
- 160 00000150 00000000 DCD DMA2_Stream5_IRQHandler ; DMA2
- Stream 5
-
-
- 161 00000154 00000000 DCD DMA2_Stream6_IRQHandler ; DMA2
- Stream 6
-
-
- 162 00000158 00000000 DCD DMA2_Stream7_IRQHandler ; DMA2
- Stream 7
-
-
- 163 0000015C 00000000 DCD USART6_IRQHandler ; USART6
-
-
-
- 164 00000160 00000000 DCD I2C3_EV_IRQHandler ; I2C3 event
-
-
-
- 165 00000164 00000000 DCD I2C3_ER_IRQHandler ; I2C3 error
-
-
-
- 166 00000168 00000000 DCD OTG_HS_EP1_OUT_IRQHandler ; USB
- OTG HS End Point 1
- Out
-
-
-
-
-ARM Macro Assembler Page 8
-
-
- 167 0000016C 00000000 DCD OTG_HS_EP1_IN_IRQHandler ; USB
- OTG HS End Point 1
- In
-
- 168 00000170 00000000 DCD OTG_HS_WKUP_IRQHandler ; USB OT
- G HS Wakeup through
- EXTI
-
- 169 00000174 00000000 DCD OTG_HS_IRQHandler ; USB OTG HS
-
-
- 170 00000178 00000000 DCD DCMI_IRQHandler ; DCMI
- 171 0000017C 00000000 DCD 0 ; Reserved
-
-
- 172 00000180 00000000 DCD HASH_RNG_IRQHandler
- ; Hash and Rng
- 173 00000184 00000000 DCD FPU_IRQHandler ; FPU
- 174 00000188 00000000 DCD UART7_IRQHandler ; UART7
- 175 0000018C 00000000 DCD UART8_IRQHandler ; UART8
- 176 00000190 00000000 DCD SPI4_IRQHandler ; SPI4
- 177 00000194 00000000 DCD SPI5_IRQHandler ; SPI5
- 178 00000198 00000000 DCD SPI6_IRQHandler ; SPI6
- 179 0000019C 00000000 DCD SAI1_IRQHandler ; SAI1
- 180 000001A0 00000000 DCD LTDC_IRQHandler ; LTDC
- 181 000001A4 00000000 DCD LTDC_ER_IRQHandler ; LTDC error
-
- 182 000001A8 00000000 DCD DMA2D_IRQHandler ; DMA2D
- 183 000001AC
- 184 000001AC __Vectors_End
- 185 000001AC
- 186 000001AC 000001AC
- __Vectors_Size
- EQU __Vectors_End - __Vectors
- 187 000001AC
- 188 000001AC AREA |.text|, CODE, READONLY
- 189 00000000
- 190 00000000 ; Reset handler
- 191 00000000 Reset_Handler
- PROC
- 192 00000000 EXPORT Reset_Handler [WEAK
-]
- 193 00000000 IMPORT SystemInit
- 194 00000000 IMPORT __main
- 195 00000000
- 196 00000000 4806 LDR R0, =SystemInit
- 197 00000002 4780 BLX R0
- 198 00000004 4806 LDR R0, =__main
- 199 00000006 4700 BX R0
- 200 00000008 ENDP
- 201 00000008
- 202 00000008 ; Dummy Exception Handlers (infinite loops which can be
- modified)
- 203 00000008
- 204 00000008 NMI_Handler
- PROC
- 205 00000008 EXPORT NMI_Handler [WEA
-K]
- 206 00000008 E7FE B .
-
-
-
-ARM Macro Assembler Page 9
-
-
- 207 0000000A ENDP
- 209 0000000A HardFault_Handler
- PROC
- 210 0000000A EXPORT HardFault_Handler [WEA
-K]
- 211 0000000A E7FE B .
- 212 0000000C ENDP
- 214 0000000C MemManage_Handler
- PROC
- 215 0000000C EXPORT MemManage_Handler [WEA
-K]
- 216 0000000C E7FE B .
- 217 0000000E ENDP
- 219 0000000E BusFault_Handler
- PROC
- 220 0000000E EXPORT BusFault_Handler [WEA
-K]
- 221 0000000E E7FE B .
- 222 00000010 ENDP
- 224 00000010 UsageFault_Handler
- PROC
- 225 00000010 EXPORT UsageFault_Handler [WEA
-K]
- 226 00000010 E7FE B .
- 227 00000012 ENDP
- 228 00000012 SVC_Handler
- PROC
- 229 00000012 EXPORT SVC_Handler [WEA
-K]
- 230 00000012 E7FE B .
- 231 00000014 ENDP
- 233 00000014 DebugMon_Handler
- PROC
- 234 00000014 EXPORT DebugMon_Handler [WEA
-K]
- 235 00000014 E7FE B .
- 236 00000016 ENDP
- 237 00000016 PendSV_Handler
- PROC
- 238 00000016 EXPORT PendSV_Handler [WEA
-K]
- 239 00000016 E7FE B .
- 240 00000018 ENDP
- 241 00000018 SysTick_Handler
- PROC
- 242 00000018 EXPORT SysTick_Handler [WEA
-K]
- 243 00000018 E7FE B .
- 244 0000001A ENDP
- 245 0000001A
- 246 0000001A Default_Handler
- PROC
- 247 0000001A
- 248 0000001A EXPORT WWDG_IRQHandler
- [WEAK]
- 249 0000001A EXPORT PVD_IRQHandler
- [WEAK]
- 250 0000001A EXPORT TAMP_STAMP_IRQHandler
- [WEAK]
-
-
-
-ARM Macro Assembler Page 10
-
-
- 251 0000001A EXPORT RTC_WKUP_IRQHandler
- [WEAK]
- 252 0000001A EXPORT FLASH_IRQHandler
- [WEAK]
- 253 0000001A EXPORT RCC_IRQHandler
- [WEAK]
- 254 0000001A EXPORT EXTI0_IRQHandler
- [WEAK]
- 255 0000001A EXPORT EXTI1_IRQHandler
- [WEAK]
- 256 0000001A EXPORT EXTI2_IRQHandler
- [WEAK]
- 257 0000001A EXPORT EXTI3_IRQHandler
- [WEAK]
- 258 0000001A EXPORT EXTI4_IRQHandler
- [WEAK]
- 259 0000001A EXPORT DMA1_Stream0_IRQHandler
- [WEAK]
- 260 0000001A EXPORT DMA1_Stream1_IRQHandler
- [WEAK]
- 261 0000001A EXPORT DMA1_Stream2_IRQHandler
- [WEAK]
- 262 0000001A EXPORT DMA1_Stream3_IRQHandler
- [WEAK]
- 263 0000001A EXPORT DMA1_Stream4_IRQHandler
- [WEAK]
- 264 0000001A EXPORT DMA1_Stream5_IRQHandler
- [WEAK]
- 265 0000001A EXPORT DMA1_Stream6_IRQHandler
- [WEAK]
- 266 0000001A EXPORT ADC_IRQHandler
- [WEAK]
- 267 0000001A EXPORT CAN1_TX_IRQHandler
- [WEAK]
- 268 0000001A EXPORT CAN1_RX0_IRQHandler
- [WEAK]
- 269 0000001A EXPORT CAN1_RX1_IRQHandler
- [WEAK]
- 270 0000001A EXPORT CAN1_SCE_IRQHandler
- [WEAK]
- 271 0000001A EXPORT EXTI9_5_IRQHandler
- [WEAK]
- 272 0000001A EXPORT TIM1_BRK_TIM9_IRQHandler
- [WEAK]
- 273 0000001A EXPORT TIM1_UP_TIM10_IRQHandler
- [WEAK]
- 274 0000001A EXPORT TIM1_TRG_COM_TIM11_IRQHandler
- [WEAK]
- 275 0000001A EXPORT TIM1_CC_IRQHandler
- [WEAK]
- 276 0000001A EXPORT TIM2_IRQHandler
- [WEAK]
- 277 0000001A EXPORT TIM3_IRQHandler
- [WEAK]
- 278 0000001A EXPORT TIM4_IRQHandler
- [WEAK]
- 279 0000001A EXPORT I2C1_EV_IRQHandler
- [WEAK]
- 280 0000001A EXPORT I2C1_ER_IRQHandler
-
-
-
-ARM Macro Assembler Page 11
-
-
- [WEAK]
- 281 0000001A EXPORT I2C2_EV_IRQHandler
- [WEAK]
- 282 0000001A EXPORT I2C2_ER_IRQHandler
- [WEAK]
- 283 0000001A EXPORT SPI1_IRQHandler
- [WEAK]
- 284 0000001A EXPORT SPI2_IRQHandler
- [WEAK]
- 285 0000001A EXPORT USART1_IRQHandler
- [WEAK]
- 286 0000001A EXPORT USART2_IRQHandler
- [WEAK]
- 287 0000001A EXPORT USART3_IRQHandler
- [WEAK]
- 288 0000001A EXPORT EXTI15_10_IRQHandler
- [WEAK]
- 289 0000001A EXPORT RTC_Alarm_IRQHandler
- [WEAK]
- 290 0000001A EXPORT OTG_FS_WKUP_IRQHandler
- [WEAK]
- 291 0000001A EXPORT TIM8_BRK_TIM12_IRQHandler
- [WEAK]
- 292 0000001A EXPORT TIM8_UP_TIM13_IRQHandler
- [WEAK]
- 293 0000001A EXPORT TIM8_TRG_COM_TIM14_IRQHandler
- [WEAK]
- 294 0000001A EXPORT TIM8_CC_IRQHandler
- [WEAK]
- 295 0000001A EXPORT DMA1_Stream7_IRQHandler
- [WEAK]
- 296 0000001A EXPORT FMC_IRQHandler
- [WEAK]
- 297 0000001A EXPORT SDIO_IRQHandler
- [WEAK]
- 298 0000001A EXPORT TIM5_IRQHandler
- [WEAK]
- 299 0000001A EXPORT SPI3_IRQHandler
- [WEAK]
- 300 0000001A EXPORT UART4_IRQHandler
- [WEAK]
- 301 0000001A EXPORT UART5_IRQHandler
- [WEAK]
- 302 0000001A EXPORT TIM6_DAC_IRQHandler
- [WEAK]
- 303 0000001A EXPORT TIM7_IRQHandler
- [WEAK]
- 304 0000001A EXPORT DMA2_Stream0_IRQHandler
- [WEAK]
- 305 0000001A EXPORT DMA2_Stream1_IRQHandler
- [WEAK]
- 306 0000001A EXPORT DMA2_Stream2_IRQHandler
- [WEAK]
- 307 0000001A EXPORT DMA2_Stream3_IRQHandler
- [WEAK]
- 308 0000001A EXPORT DMA2_Stream4_IRQHandler
- [WEAK]
- 309 0000001A EXPORT ETH_IRQHandler
- [WEAK]
-
-
-
-ARM Macro Assembler Page 12
-
-
- 310 0000001A EXPORT ETH_WKUP_IRQHandler
- [WEAK]
- 311 0000001A EXPORT CAN2_TX_IRQHandler
- [WEAK]
- 312 0000001A EXPORT CAN2_RX0_IRQHandler
- [WEAK]
- 313 0000001A EXPORT CAN2_RX1_IRQHandler
- [WEAK]
- 314 0000001A EXPORT CAN2_SCE_IRQHandler
- [WEAK]
- 315 0000001A EXPORT OTG_FS_IRQHandler
- [WEAK]
- 316 0000001A EXPORT DMA2_Stream5_IRQHandler
- [WEAK]
- 317 0000001A EXPORT DMA2_Stream6_IRQHandler
- [WEAK]
- 318 0000001A EXPORT DMA2_Stream7_IRQHandler
- [WEAK]
- 319 0000001A EXPORT USART6_IRQHandler
- [WEAK]
- 320 0000001A EXPORT I2C3_EV_IRQHandler
- [WEAK]
- 321 0000001A EXPORT I2C3_ER_IRQHandler
- [WEAK]
- 322 0000001A EXPORT OTG_HS_EP1_OUT_IRQHandler
- [WEAK]
- 323 0000001A EXPORT OTG_HS_EP1_IN_IRQHandler
- [WEAK]
- 324 0000001A EXPORT OTG_HS_WKUP_IRQHandler
- [WEAK]
- 325 0000001A EXPORT OTG_HS_IRQHandler
- [WEAK]
- 326 0000001A EXPORT DCMI_IRQHandler
- [WEAK]
- 327 0000001A EXPORT HASH_RNG_IRQHandler
- [WEAK]
- 328 0000001A EXPORT FPU_IRQHandler
- [WEAK]
- 329 0000001A EXPORT UART7_IRQHandler
- [WEAK]
- 330 0000001A EXPORT UART8_IRQHandler
- [WEAK]
- 331 0000001A EXPORT SPI4_IRQHandler
- [WEAK]
- 332 0000001A EXPORT SPI5_IRQHandler
- [WEAK]
- 333 0000001A EXPORT SPI6_IRQHandler
- [WEAK]
- 334 0000001A EXPORT SAI1_IRQHandler
- [WEAK]
- 335 0000001A EXPORT LTDC_IRQHandler
- [WEAK]
- 336 0000001A EXPORT LTDC_ER_IRQHandler
- [WEAK]
- 337 0000001A EXPORT DMA2D_IRQHandler
- [WEAK]
- 338 0000001A
- 339 0000001A WWDG_IRQHandler
- 340 0000001A PVD_IRQHandler
-
-
-
-ARM Macro Assembler Page 13
-
-
- 341 0000001A TAMP_STAMP_IRQHandler
- 342 0000001A RTC_WKUP_IRQHandler
- 343 0000001A FLASH_IRQHandler
- 344 0000001A RCC_IRQHandler
- 345 0000001A EXTI0_IRQHandler
- 346 0000001A EXTI1_IRQHandler
- 347 0000001A EXTI2_IRQHandler
- 348 0000001A EXTI3_IRQHandler
- 349 0000001A EXTI4_IRQHandler
- 350 0000001A DMA1_Stream0_IRQHandler
- 351 0000001A DMA1_Stream1_IRQHandler
- 352 0000001A DMA1_Stream2_IRQHandler
- 353 0000001A DMA1_Stream3_IRQHandler
- 354 0000001A DMA1_Stream4_IRQHandler
- 355 0000001A DMA1_Stream5_IRQHandler
- 356 0000001A DMA1_Stream6_IRQHandler
- 357 0000001A ADC_IRQHandler
- 358 0000001A CAN1_TX_IRQHandler
- 359 0000001A CAN1_RX0_IRQHandler
- 360 0000001A CAN1_RX1_IRQHandler
- 361 0000001A CAN1_SCE_IRQHandler
- 362 0000001A EXTI9_5_IRQHandler
- 363 0000001A TIM1_BRK_TIM9_IRQHandler
- 364 0000001A TIM1_UP_TIM10_IRQHandler
- 365 0000001A TIM1_TRG_COM_TIM11_IRQHandler
- 366 0000001A TIM1_CC_IRQHandler
- 367 0000001A TIM2_IRQHandler
- 368 0000001A TIM3_IRQHandler
- 369 0000001A TIM4_IRQHandler
- 370 0000001A I2C1_EV_IRQHandler
- 371 0000001A I2C1_ER_IRQHandler
- 372 0000001A I2C2_EV_IRQHandler
- 373 0000001A I2C2_ER_IRQHandler
- 374 0000001A SPI1_IRQHandler
- 375 0000001A SPI2_IRQHandler
- 376 0000001A USART1_IRQHandler
- 377 0000001A USART2_IRQHandler
- 378 0000001A USART3_IRQHandler
- 379 0000001A EXTI15_10_IRQHandler
- 380 0000001A RTC_Alarm_IRQHandler
- 381 0000001A OTG_FS_WKUP_IRQHandler
- 382 0000001A TIM8_BRK_TIM12_IRQHandler
- 383 0000001A TIM8_UP_TIM13_IRQHandler
- 384 0000001A TIM8_TRG_COM_TIM14_IRQHandler
- 385 0000001A TIM8_CC_IRQHandler
- 386 0000001A DMA1_Stream7_IRQHandler
- 387 0000001A FMC_IRQHandler
- 388 0000001A SDIO_IRQHandler
- 389 0000001A TIM5_IRQHandler
- 390 0000001A SPI3_IRQHandler
- 391 0000001A UART4_IRQHandler
- 392 0000001A UART5_IRQHandler
- 393 0000001A TIM6_DAC_IRQHandler
- 394 0000001A TIM7_IRQHandler
- 395 0000001A DMA2_Stream0_IRQHandler
- 396 0000001A DMA2_Stream1_IRQHandler
- 397 0000001A DMA2_Stream2_IRQHandler
- 398 0000001A DMA2_Stream3_IRQHandler
- 399 0000001A DMA2_Stream4_IRQHandler
-
-
-
-ARM Macro Assembler Page 14
-
-
- 400 0000001A ETH_IRQHandler
- 401 0000001A ETH_WKUP_IRQHandler
- 402 0000001A CAN2_TX_IRQHandler
- 403 0000001A CAN2_RX0_IRQHandler
- 404 0000001A CAN2_RX1_IRQHandler
- 405 0000001A CAN2_SCE_IRQHandler
- 406 0000001A OTG_FS_IRQHandler
- 407 0000001A DMA2_Stream5_IRQHandler
- 408 0000001A DMA2_Stream6_IRQHandler
- 409 0000001A DMA2_Stream7_IRQHandler
- 410 0000001A USART6_IRQHandler
- 411 0000001A I2C3_EV_IRQHandler
- 412 0000001A I2C3_ER_IRQHandler
- 413 0000001A OTG_HS_EP1_OUT_IRQHandler
- 414 0000001A OTG_HS_EP1_IN_IRQHandler
- 415 0000001A OTG_HS_WKUP_IRQHandler
- 416 0000001A OTG_HS_IRQHandler
- 417 0000001A DCMI_IRQHandler
- 418 0000001A HASH_RNG_IRQHandler
- 419 0000001A FPU_IRQHandler
- 420 0000001A UART7_IRQHandler
- 421 0000001A UART8_IRQHandler
- 422 0000001A SPI4_IRQHandler
- 423 0000001A SPI5_IRQHandler
- 424 0000001A SPI6_IRQHandler
- 425 0000001A SAI1_IRQHandler
- 426 0000001A LTDC_IRQHandler
- 427 0000001A LTDC_ER_IRQHandler
- 428 0000001A DMA2D_IRQHandler
- 429 0000001A E7FE B .
- 430 0000001C
- 431 0000001C ENDP
- 432 0000001C
- 433 0000001C ALIGN
- 434 0000001C
- 435 0000001C ;*******************************************************
- ************************
- 436 0000001C ; User Stack and Heap initialization
- 437 0000001C ;*******************************************************
- ************************
- 438 0000001C IF :DEF:__MICROLIB
- 439 0000001C
- 440 0000001C EXPORT __initial_sp
- 441 0000001C EXPORT __heap_base
- 442 0000001C EXPORT __heap_limit
- 443 0000001C
- 444 0000001C ELSE
- 459 ENDIF
- 460 0000001C
- 461 0000001C END
- 00000000
- 00000000
-Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M4.fp --apcs=int
-erwork --depend=stm32f429vi_hero-fs\startup_stm32f429xx.d -ostm32f42
-9vi_hero_usbd-fs\startup_stm32f429xx.o -I.\RTE\_STM32F429VI_HERO-FS -IC:\
-Users\ozrien\Documents\Keil_v5\ARM\PACK\ARM\CMSIS\5.3.0\CMSIS\Include -IC:\User
-s\ozrien\Documents\Keil_v5\ARM\PACK\Keil\STM32F4xx_DFP\2.13.0\Drivers\CMSIS\Dev
-ice\ST\STM32F4xx\Include --predefine="__EVAL SETA 1" --predefine="__MICROLIB SE
-TA 1" --predefine="__UVISION_VERSION SETA 525" --predefine="_RTE_ SETA 1" --pre
-
-
-
-ARM Macro Assembler Page 15
-
-
-define="STM32F429xx SETA 1" --list=startup_stm32f429xx.lst startup_stm32f429xx.
-s
-
-
-
-ARM Macro Assembler Page 1 Alphabetic symbol ordering
-Relocatable symbols
-
-STACK 00000000
-
-Symbol: STACK
- Definitions
- At line 48 in file startup_stm32f429xx.s
- Uses
- None
-Comment: STACK unused
-Stack_Mem 00000000
-
-Symbol: Stack_Mem
- Definitions
- At line 49 in file startup_stm32f429xx.s
- Uses
- None
-Comment: Stack_Mem unused
-__initial_sp 00000400
-
-Symbol: __initial_sp
- Definitions
- At line 50 in file startup_stm32f429xx.s
- Uses
- At line 74 in file startup_stm32f429xx.s
- At line 440 in file startup_stm32f429xx.s
-
-3 symbols
-
-
-
-ARM Macro Assembler Page 1 Alphabetic symbol ordering
-Relocatable symbols
-
-HEAP 00000000
-
-Symbol: HEAP
- Definitions
- At line 59 in file startup_stm32f429xx.s
- Uses
- None
-Comment: HEAP unused
-Heap_Mem 00000000
-
-Symbol: Heap_Mem
- Definitions
- At line 61 in file startup_stm32f429xx.s
- Uses
- None
-Comment: Heap_Mem unused
-__heap_base 00000000
-
-Symbol: __heap_base
- Definitions
- At line 60 in file startup_stm32f429xx.s
- Uses
- At line 441 in file startup_stm32f429xx.s
-Comment: __heap_base used once
-__heap_limit 00000200
-
-Symbol: __heap_limit
- Definitions
- At line 62 in file startup_stm32f429xx.s
- Uses
- At line 442 in file startup_stm32f429xx.s
-Comment: __heap_limit used once
-4 symbols
-
-
-
-ARM Macro Assembler Page 1 Alphabetic symbol ordering
-Relocatable symbols
-
-RESET 00000000
-
-Symbol: RESET
- Definitions
- At line 69 in file startup_stm32f429xx.s
- Uses
- None
-Comment: RESET unused
-__Vectors 00000000
-
-Symbol: __Vectors
- Definitions
- At line 74 in file startup_stm32f429xx.s
- Uses
- At line 70 in file startup_stm32f429xx.s
- At line 186 in file startup_stm32f429xx.s
-
-__Vectors_End 000001AC
-
-Symbol: __Vectors_End
- Definitions
- At line 184 in file startup_stm32f429xx.s
- Uses
- At line 71 in file startup_stm32f429xx.s
- At line 186 in file startup_stm32f429xx.s
-
-3 symbols
-
-
-
-ARM Macro Assembler Page 1 Alphabetic symbol ordering
-Relocatable symbols
-
-.text 00000000
-
-Symbol: .text
- Definitions
- At line 188 in file startup_stm32f429xx.s
- Uses
- None
-Comment: .text unused
-ADC_IRQHandler 0000001A
-
-Symbol: ADC_IRQHandler
- Definitions
- At line 357 in file startup_stm32f429xx.s
- Uses
- At line 110 in file startup_stm32f429xx.s
- At line 266 in file startup_stm32f429xx.s
-
-BusFault_Handler 0000000E
-
-Symbol: BusFault_Handler
- Definitions
- At line 219 in file startup_stm32f429xx.s
- Uses
- At line 79 in file startup_stm32f429xx.s
- At line 220 in file startup_stm32f429xx.s
-
-CAN1_RX0_IRQHandler 0000001A
-
-Symbol: CAN1_RX0_IRQHandler
- Definitions
- At line 359 in file startup_stm32f429xx.s
- Uses
- At line 112 in file startup_stm32f429xx.s
- At line 268 in file startup_stm32f429xx.s
-
-CAN1_RX1_IRQHandler 0000001A
-
-Symbol: CAN1_RX1_IRQHandler
- Definitions
- At line 360 in file startup_stm32f429xx.s
- Uses
- At line 113 in file startup_stm32f429xx.s
- At line 269 in file startup_stm32f429xx.s
-
-CAN1_SCE_IRQHandler 0000001A
-
-Symbol: CAN1_SCE_IRQHandler
- Definitions
- At line 361 in file startup_stm32f429xx.s
- Uses
- At line 114 in file startup_stm32f429xx.s
- At line 270 in file startup_stm32f429xx.s
-
-CAN1_TX_IRQHandler 0000001A
-
-Symbol: CAN1_TX_IRQHandler
- Definitions
- At line 358 in file startup_stm32f429xx.s
- Uses
-
-
-
-ARM Macro Assembler Page 2 Alphabetic symbol ordering
-Relocatable symbols
-
- At line 111 in file startup_stm32f429xx.s
- At line 267 in file startup_stm32f429xx.s
-
-CAN2_RX0_IRQHandler 0000001A
-
-Symbol: CAN2_RX0_IRQHandler
- Definitions
- At line 403 in file startup_stm32f429xx.s
- Uses
- At line 156 in file startup_stm32f429xx.s
- At line 312 in file startup_stm32f429xx.s
-
-CAN2_RX1_IRQHandler 0000001A
-
-Symbol: CAN2_RX1_IRQHandler
- Definitions
- At line 404 in file startup_stm32f429xx.s
- Uses
- At line 157 in file startup_stm32f429xx.s
- At line 313 in file startup_stm32f429xx.s
-
-CAN2_SCE_IRQHandler 0000001A
-
-Symbol: CAN2_SCE_IRQHandler
- Definitions
- At line 405 in file startup_stm32f429xx.s
- Uses
- At line 158 in file startup_stm32f429xx.s
- At line 314 in file startup_stm32f429xx.s
-
-CAN2_TX_IRQHandler 0000001A
-
-Symbol: CAN2_TX_IRQHandler
- Definitions
- At line 402 in file startup_stm32f429xx.s
- Uses
- At line 155 in file startup_stm32f429xx.s
- At line 311 in file startup_stm32f429xx.s
-
-DCMI_IRQHandler 0000001A
-
-Symbol: DCMI_IRQHandler
- Definitions
- At line 417 in file startup_stm32f429xx.s
- Uses
- At line 170 in file startup_stm32f429xx.s
- At line 326 in file startup_stm32f429xx.s
-
-DMA1_Stream0_IRQHandler 0000001A
-
-Symbol: DMA1_Stream0_IRQHandler
- Definitions
- At line 350 in file startup_stm32f429xx.s
- Uses
- At line 103 in file startup_stm32f429xx.s
- At line 259 in file startup_stm32f429xx.s
-
-DMA1_Stream1_IRQHandler 0000001A
-
-
-
-
-ARM Macro Assembler Page 3 Alphabetic symbol ordering
-Relocatable symbols
-
-Symbol: DMA1_Stream1_IRQHandler
- Definitions
- At line 351 in file startup_stm32f429xx.s
- Uses
- At line 104 in file startup_stm32f429xx.s
- At line 260 in file startup_stm32f429xx.s
-
-DMA1_Stream2_IRQHandler 0000001A
-
-Symbol: DMA1_Stream2_IRQHandler
- Definitions
- At line 352 in file startup_stm32f429xx.s
- Uses
- At line 105 in file startup_stm32f429xx.s
- At line 261 in file startup_stm32f429xx.s
-
-DMA1_Stream3_IRQHandler 0000001A
-
-Symbol: DMA1_Stream3_IRQHandler
- Definitions
- At line 353 in file startup_stm32f429xx.s
- Uses
- At line 106 in file startup_stm32f429xx.s
- At line 262 in file startup_stm32f429xx.s
-
-DMA1_Stream4_IRQHandler 0000001A
-
-Symbol: DMA1_Stream4_IRQHandler
- Definitions
- At line 354 in file startup_stm32f429xx.s
- Uses
- At line 107 in file startup_stm32f429xx.s
- At line 263 in file startup_stm32f429xx.s
-
-DMA1_Stream5_IRQHandler 0000001A
-
-Symbol: DMA1_Stream5_IRQHandler
- Definitions
- At line 355 in file startup_stm32f429xx.s
- Uses
- At line 108 in file startup_stm32f429xx.s
- At line 264 in file startup_stm32f429xx.s
-
-DMA1_Stream6_IRQHandler 0000001A
-
-Symbol: DMA1_Stream6_IRQHandler
- Definitions
- At line 356 in file startup_stm32f429xx.s
- Uses
- At line 109 in file startup_stm32f429xx.s
- At line 265 in file startup_stm32f429xx.s
-
-DMA1_Stream7_IRQHandler 0000001A
-
-Symbol: DMA1_Stream7_IRQHandler
- Definitions
- At line 386 in file startup_stm32f429xx.s
- Uses
- At line 139 in file startup_stm32f429xx.s
-
-
-
-ARM Macro Assembler Page 4 Alphabetic symbol ordering
-Relocatable symbols
-
- At line 295 in file startup_stm32f429xx.s
-
-DMA2D_IRQHandler 0000001A
-
-Symbol: DMA2D_IRQHandler
- Definitions
- At line 428 in file startup_stm32f429xx.s
- Uses
- At line 182 in file startup_stm32f429xx.s
- At line 337 in file startup_stm32f429xx.s
-
-DMA2_Stream0_IRQHandler 0000001A
-
-Symbol: DMA2_Stream0_IRQHandler
- Definitions
- At line 395 in file startup_stm32f429xx.s
- Uses
- At line 148 in file startup_stm32f429xx.s
- At line 304 in file startup_stm32f429xx.s
-
-DMA2_Stream1_IRQHandler 0000001A
-
-Symbol: DMA2_Stream1_IRQHandler
- Definitions
- At line 396 in file startup_stm32f429xx.s
- Uses
- At line 149 in file startup_stm32f429xx.s
- At line 305 in file startup_stm32f429xx.s
-
-DMA2_Stream2_IRQHandler 0000001A
-
-Symbol: DMA2_Stream2_IRQHandler
- Definitions
- At line 397 in file startup_stm32f429xx.s
- Uses
- At line 150 in file startup_stm32f429xx.s
- At line 306 in file startup_stm32f429xx.s
-
-DMA2_Stream3_IRQHandler 0000001A
-
-Symbol: DMA2_Stream3_IRQHandler
- Definitions
- At line 398 in file startup_stm32f429xx.s
- Uses
- At line 151 in file startup_stm32f429xx.s
- At line 307 in file startup_stm32f429xx.s
-
-DMA2_Stream4_IRQHandler 0000001A
-
-Symbol: DMA2_Stream4_IRQHandler
- Definitions
- At line 399 in file startup_stm32f429xx.s
- Uses
- At line 152 in file startup_stm32f429xx.s
- At line 308 in file startup_stm32f429xx.s
-
-DMA2_Stream5_IRQHandler 0000001A
-
-Symbol: DMA2_Stream5_IRQHandler
-
-
-
-ARM Macro Assembler Page 5 Alphabetic symbol ordering
-Relocatable symbols
-
- Definitions
- At line 407 in file startup_stm32f429xx.s
- Uses
- At line 160 in file startup_stm32f429xx.s
- At line 316 in file startup_stm32f429xx.s
-
-DMA2_Stream6_IRQHandler 0000001A
-
-Symbol: DMA2_Stream6_IRQHandler
- Definitions
- At line 408 in file startup_stm32f429xx.s
- Uses
- At line 161 in file startup_stm32f429xx.s
- At line 317 in file startup_stm32f429xx.s
-
-DMA2_Stream7_IRQHandler 0000001A
-
-Symbol: DMA2_Stream7_IRQHandler
- Definitions
- At line 409 in file startup_stm32f429xx.s
- Uses
- At line 162 in file startup_stm32f429xx.s
- At line 318 in file startup_stm32f429xx.s
-
-DebugMon_Handler 00000014
-
-Symbol: DebugMon_Handler
- Definitions
- At line 233 in file startup_stm32f429xx.s
- Uses
- At line 86 in file startup_stm32f429xx.s
- At line 234 in file startup_stm32f429xx.s
-
-Default_Handler 0000001A
-
-Symbol: Default_Handler
- Definitions
- At line 246 in file startup_stm32f429xx.s
- Uses
- None
-Comment: Default_Handler unused
-ETH_IRQHandler 0000001A
-
-Symbol: ETH_IRQHandler
- Definitions
- At line 400 in file startup_stm32f429xx.s
- Uses
- At line 153 in file startup_stm32f429xx.s
- At line 309 in file startup_stm32f429xx.s
-
-ETH_WKUP_IRQHandler 0000001A
-
-Symbol: ETH_WKUP_IRQHandler
- Definitions
- At line 401 in file startup_stm32f429xx.s
- Uses
- At line 154 in file startup_stm32f429xx.s
- At line 310 in file startup_stm32f429xx.s
-
-
-
-
-ARM Macro Assembler Page 6 Alphabetic symbol ordering
-Relocatable symbols
-
-EXTI0_IRQHandler 0000001A
-
-Symbol: EXTI0_IRQHandler
- Definitions
- At line 345 in file startup_stm32f429xx.s
- Uses
- At line 98 in file startup_stm32f429xx.s
- At line 254 in file startup_stm32f429xx.s
-
-EXTI15_10_IRQHandler 0000001A
-
-Symbol: EXTI15_10_IRQHandler
- Definitions
- At line 379 in file startup_stm32f429xx.s
- Uses
- At line 132 in file startup_stm32f429xx.s
- At line 288 in file startup_stm32f429xx.s
-
-EXTI1_IRQHandler 0000001A
-
-Symbol: EXTI1_IRQHandler
- Definitions
- At line 346 in file startup_stm32f429xx.s
- Uses
- At line 99 in file startup_stm32f429xx.s
- At line 255 in file startup_stm32f429xx.s
-
-EXTI2_IRQHandler 0000001A
-
-Symbol: EXTI2_IRQHandler
- Definitions
- At line 347 in file startup_stm32f429xx.s
- Uses
- At line 100 in file startup_stm32f429xx.s
- At line 256 in file startup_stm32f429xx.s
-
-EXTI3_IRQHandler 0000001A
-
-Symbol: EXTI3_IRQHandler
- Definitions
- At line 348 in file startup_stm32f429xx.s
- Uses
- At line 101 in file startup_stm32f429xx.s
- At line 257 in file startup_stm32f429xx.s
-
-EXTI4_IRQHandler 0000001A
-
-Symbol: EXTI4_IRQHandler
- Definitions
- At line 349 in file startup_stm32f429xx.s
- Uses
- At line 102 in file startup_stm32f429xx.s
- At line 258 in file startup_stm32f429xx.s
-
-EXTI9_5_IRQHandler 0000001A
-
-Symbol: EXTI9_5_IRQHandler
- Definitions
- At line 362 in file startup_stm32f429xx.s
-
-
-
-ARM Macro Assembler Page 7 Alphabetic symbol ordering
-Relocatable symbols
-
- Uses
- At line 115 in file startup_stm32f429xx.s
- At line 271 in file startup_stm32f429xx.s
-
-FLASH_IRQHandler 0000001A
-
-Symbol: FLASH_IRQHandler
- Definitions
- At line 343 in file startup_stm32f429xx.s
- Uses
- At line 96 in file startup_stm32f429xx.s
- At line 252 in file startup_stm32f429xx.s
-
-FMC_IRQHandler 0000001A
-
-Symbol: FMC_IRQHandler
- Definitions
- At line 387 in file startup_stm32f429xx.s
- Uses
- At line 140 in file startup_stm32f429xx.s
- At line 296 in file startup_stm32f429xx.s
-
-FPU_IRQHandler 0000001A
-
-Symbol: FPU_IRQHandler
- Definitions
- At line 419 in file startup_stm32f429xx.s
- Uses
- At line 173 in file startup_stm32f429xx.s
- At line 328 in file startup_stm32f429xx.s
-
-HASH_RNG_IRQHandler 0000001A
-
-Symbol: HASH_RNG_IRQHandler
- Definitions
- At line 418 in file startup_stm32f429xx.s
- Uses
- At line 172 in file startup_stm32f429xx.s
- At line 327 in file startup_stm32f429xx.s
-
-HardFault_Handler 0000000A
-
-Symbol: HardFault_Handler
- Definitions
- At line 209 in file startup_stm32f429xx.s
- Uses
- At line 77 in file startup_stm32f429xx.s
- At line 210 in file startup_stm32f429xx.s
-
-I2C1_ER_IRQHandler 0000001A
-
-Symbol: I2C1_ER_IRQHandler
- Definitions
- At line 371 in file startup_stm32f429xx.s
- Uses
- At line 124 in file startup_stm32f429xx.s
- At line 280 in file startup_stm32f429xx.s
-
-I2C1_EV_IRQHandler 0000001A
-
-
-
-ARM Macro Assembler Page 8 Alphabetic symbol ordering
-Relocatable symbols
-
-
-Symbol: I2C1_EV_IRQHandler
- Definitions
- At line 370 in file startup_stm32f429xx.s
- Uses
- At line 123 in file startup_stm32f429xx.s
- At line 279 in file startup_stm32f429xx.s
-
-I2C2_ER_IRQHandler 0000001A
-
-Symbol: I2C2_ER_IRQHandler
- Definitions
- At line 373 in file startup_stm32f429xx.s
- Uses
- At line 126 in file startup_stm32f429xx.s
- At line 282 in file startup_stm32f429xx.s
-
-I2C2_EV_IRQHandler 0000001A
-
-Symbol: I2C2_EV_IRQHandler
- Definitions
- At line 372 in file startup_stm32f429xx.s
- Uses
- At line 125 in file startup_stm32f429xx.s
- At line 281 in file startup_stm32f429xx.s
-
-I2C3_ER_IRQHandler 0000001A
-
-Symbol: I2C3_ER_IRQHandler
- Definitions
- At line 412 in file startup_stm32f429xx.s
- Uses
- At line 165 in file startup_stm32f429xx.s
- At line 321 in file startup_stm32f429xx.s
-
-I2C3_EV_IRQHandler 0000001A
-
-Symbol: I2C3_EV_IRQHandler
- Definitions
- At line 411 in file startup_stm32f429xx.s
- Uses
- At line 164 in file startup_stm32f429xx.s
- At line 320 in file startup_stm32f429xx.s
-
-LTDC_ER_IRQHandler 0000001A
-
-Symbol: LTDC_ER_IRQHandler
- Definitions
- At line 427 in file startup_stm32f429xx.s
- Uses
- At line 181 in file startup_stm32f429xx.s
- At line 336 in file startup_stm32f429xx.s
-
-LTDC_IRQHandler 0000001A
-
-Symbol: LTDC_IRQHandler
- Definitions
- At line 426 in file startup_stm32f429xx.s
- Uses
-
-
-
-ARM Macro Assembler Page 9 Alphabetic symbol ordering
-Relocatable symbols
-
- At line 180 in file startup_stm32f429xx.s
- At line 335 in file startup_stm32f429xx.s
-
-MemManage_Handler 0000000C
-
-Symbol: MemManage_Handler
- Definitions
- At line 214 in file startup_stm32f429xx.s
- Uses
- At line 78 in file startup_stm32f429xx.s
- At line 215 in file startup_stm32f429xx.s
-
-NMI_Handler 00000008
-
-Symbol: NMI_Handler
- Definitions
- At line 204 in file startup_stm32f429xx.s
- Uses
- At line 76 in file startup_stm32f429xx.s
- At line 205 in file startup_stm32f429xx.s
-
-OTG_FS_IRQHandler 0000001A
-
-Symbol: OTG_FS_IRQHandler
- Definitions
- At line 406 in file startup_stm32f429xx.s
- Uses
- At line 159 in file startup_stm32f429xx.s
- At line 315 in file startup_stm32f429xx.s
-
-OTG_FS_WKUP_IRQHandler 0000001A
-
-Symbol: OTG_FS_WKUP_IRQHandler
- Definitions
- At line 381 in file startup_stm32f429xx.s
- Uses
- At line 134 in file startup_stm32f429xx.s
- At line 290 in file startup_stm32f429xx.s
-
-OTG_HS_EP1_IN_IRQHandler 0000001A
-
-Symbol: OTG_HS_EP1_IN_IRQHandler
- Definitions
- At line 414 in file startup_stm32f429xx.s
- Uses
- At line 167 in file startup_stm32f429xx.s
- At line 323 in file startup_stm32f429xx.s
-
-OTG_HS_EP1_OUT_IRQHandler 0000001A
-
-Symbol: OTG_HS_EP1_OUT_IRQHandler
- Definitions
- At line 413 in file startup_stm32f429xx.s
- Uses
- At line 166 in file startup_stm32f429xx.s
- At line 322 in file startup_stm32f429xx.s
-
-OTG_HS_IRQHandler 0000001A
-
-
-
-
-ARM Macro Assembler Page 10 Alphabetic symbol ordering
-Relocatable symbols
-
-Symbol: OTG_HS_IRQHandler
- Definitions
- At line 416 in file startup_stm32f429xx.s
- Uses
- At line 169 in file startup_stm32f429xx.s
- At line 325 in file startup_stm32f429xx.s
-
-OTG_HS_WKUP_IRQHandler 0000001A
-
-Symbol: OTG_HS_WKUP_IRQHandler
- Definitions
- At line 415 in file startup_stm32f429xx.s
- Uses
- At line 168 in file startup_stm32f429xx.s
- At line 324 in file startup_stm32f429xx.s
-
-PVD_IRQHandler 0000001A
-
-Symbol: PVD_IRQHandler
- Definitions
- At line 340 in file startup_stm32f429xx.s
- Uses
- At line 93 in file startup_stm32f429xx.s
- At line 249 in file startup_stm32f429xx.s
-
-PendSV_Handler 00000016
-
-Symbol: PendSV_Handler
- Definitions
- At line 237 in file startup_stm32f429xx.s
- Uses
- At line 88 in file startup_stm32f429xx.s
- At line 238 in file startup_stm32f429xx.s
-
-RCC_IRQHandler 0000001A
-
-Symbol: RCC_IRQHandler
- Definitions
- At line 344 in file startup_stm32f429xx.s
- Uses
- At line 97 in file startup_stm32f429xx.s
- At line 253 in file startup_stm32f429xx.s
-
-RTC_Alarm_IRQHandler 0000001A
-
-Symbol: RTC_Alarm_IRQHandler
- Definitions
- At line 380 in file startup_stm32f429xx.s
- Uses
- At line 133 in file startup_stm32f429xx.s
- At line 289 in file startup_stm32f429xx.s
-
-RTC_WKUP_IRQHandler 0000001A
-
-Symbol: RTC_WKUP_IRQHandler
- Definitions
- At line 342 in file startup_stm32f429xx.s
- Uses
- At line 95 in file startup_stm32f429xx.s
-
-
-
-ARM Macro Assembler Page 11 Alphabetic symbol ordering
-Relocatable symbols
-
- At line 251 in file startup_stm32f429xx.s
-
-Reset_Handler 00000000
-
-Symbol: Reset_Handler
- Definitions
- At line 191 in file startup_stm32f429xx.s
- Uses
- At line 75 in file startup_stm32f429xx.s
- At line 192 in file startup_stm32f429xx.s
-
-SAI1_IRQHandler 0000001A
-
-Symbol: SAI1_IRQHandler
- Definitions
- At line 425 in file startup_stm32f429xx.s
- Uses
- At line 179 in file startup_stm32f429xx.s
- At line 334 in file startup_stm32f429xx.s
-
-SDIO_IRQHandler 0000001A
-
-Symbol: SDIO_IRQHandler
- Definitions
- At line 388 in file startup_stm32f429xx.s
- Uses
- At line 141 in file startup_stm32f429xx.s
- At line 297 in file startup_stm32f429xx.s
-
-SPI1_IRQHandler 0000001A
-
-Symbol: SPI1_IRQHandler
- Definitions
- At line 374 in file startup_stm32f429xx.s
- Uses
- At line 127 in file startup_stm32f429xx.s
- At line 283 in file startup_stm32f429xx.s
-
-SPI2_IRQHandler 0000001A
-
-Symbol: SPI2_IRQHandler
- Definitions
- At line 375 in file startup_stm32f429xx.s
- Uses
- At line 128 in file startup_stm32f429xx.s
- At line 284 in file startup_stm32f429xx.s
-
-SPI3_IRQHandler 0000001A
-
-Symbol: SPI3_IRQHandler
- Definitions
- At line 390 in file startup_stm32f429xx.s
- Uses
- At line 143 in file startup_stm32f429xx.s
- At line 299 in file startup_stm32f429xx.s
-
-SPI4_IRQHandler 0000001A
-
-Symbol: SPI4_IRQHandler
-
-
-
-ARM Macro Assembler Page 12 Alphabetic symbol ordering
-Relocatable symbols
-
- Definitions
- At line 422 in file startup_stm32f429xx.s
- Uses
- At line 176 in file startup_stm32f429xx.s
- At line 331 in file startup_stm32f429xx.s
-
-SPI5_IRQHandler 0000001A
-
-Symbol: SPI5_IRQHandler
- Definitions
- At line 423 in file startup_stm32f429xx.s
- Uses
- At line 177 in file startup_stm32f429xx.s
- At line 332 in file startup_stm32f429xx.s
-
-SPI6_IRQHandler 0000001A
-
-Symbol: SPI6_IRQHandler
- Definitions
- At line 424 in file startup_stm32f429xx.s
- Uses
- At line 178 in file startup_stm32f429xx.s
- At line 333 in file startup_stm32f429xx.s
-
-SVC_Handler 00000012
-
-Symbol: SVC_Handler
- Definitions
- At line 228 in file startup_stm32f429xx.s
- Uses
- At line 85 in file startup_stm32f429xx.s
- At line 229 in file startup_stm32f429xx.s
-
-SysTick_Handler 00000018
-
-Symbol: SysTick_Handler
- Definitions
- At line 241 in file startup_stm32f429xx.s
- Uses
- At line 89 in file startup_stm32f429xx.s
- At line 242 in file startup_stm32f429xx.s
-
-TAMP_STAMP_IRQHandler 0000001A
-
-Symbol: TAMP_STAMP_IRQHandler
- Definitions
- At line 341 in file startup_stm32f429xx.s
- Uses
- At line 94 in file startup_stm32f429xx.s
- At line 250 in file startup_stm32f429xx.s
-
-TIM1_BRK_TIM9_IRQHandler 0000001A
-
-Symbol: TIM1_BRK_TIM9_IRQHandler
- Definitions
- At line 363 in file startup_stm32f429xx.s
- Uses
- At line 116 in file startup_stm32f429xx.s
- At line 272 in file startup_stm32f429xx.s
-
-
-
-ARM Macro Assembler Page 13 Alphabetic symbol ordering
-Relocatable symbols
-
-
-TIM1_CC_IRQHandler 0000001A
-
-Symbol: TIM1_CC_IRQHandler
- Definitions
- At line 366 in file startup_stm32f429xx.s
- Uses
- At line 119 in file startup_stm32f429xx.s
- At line 275 in file startup_stm32f429xx.s
-
-TIM1_TRG_COM_TIM11_IRQHandler 0000001A
-
-Symbol: TIM1_TRG_COM_TIM11_IRQHandler
- Definitions
- At line 365 in file startup_stm32f429xx.s
- Uses
- At line 118 in file startup_stm32f429xx.s
- At line 274 in file startup_stm32f429xx.s
-
-TIM1_UP_TIM10_IRQHandler 0000001A
-
-Symbol: TIM1_UP_TIM10_IRQHandler
- Definitions
- At line 364 in file startup_stm32f429xx.s
- Uses
- At line 117 in file startup_stm32f429xx.s
- At line 273 in file startup_stm32f429xx.s
-
-TIM2_IRQHandler 0000001A
-
-Symbol: TIM2_IRQHandler
- Definitions
- At line 367 in file startup_stm32f429xx.s
- Uses
- At line 120 in file startup_stm32f429xx.s
- At line 276 in file startup_stm32f429xx.s
-
-TIM3_IRQHandler 0000001A
-
-Symbol: TIM3_IRQHandler
- Definitions
- At line 368 in file startup_stm32f429xx.s
- Uses
- At line 121 in file startup_stm32f429xx.s
- At line 277 in file startup_stm32f429xx.s
-
-TIM4_IRQHandler 0000001A
-
-Symbol: TIM4_IRQHandler
- Definitions
- At line 369 in file startup_stm32f429xx.s
- Uses
- At line 122 in file startup_stm32f429xx.s
- At line 278 in file startup_stm32f429xx.s
-
-TIM5_IRQHandler 0000001A
-
-Symbol: TIM5_IRQHandler
- Definitions
-
-
-
-ARM Macro Assembler Page 14 Alphabetic symbol ordering
-Relocatable symbols
-
- At line 389 in file startup_stm32f429xx.s
- Uses
- At line 142 in file startup_stm32f429xx.s
- At line 298 in file startup_stm32f429xx.s
-
-TIM6_DAC_IRQHandler 0000001A
-
-Symbol: TIM6_DAC_IRQHandler
- Definitions
- At line 393 in file startup_stm32f429xx.s
- Uses
- At line 146 in file startup_stm32f429xx.s
- At line 302 in file startup_stm32f429xx.s
-
-TIM7_IRQHandler 0000001A
-
-Symbol: TIM7_IRQHandler
- Definitions
- At line 394 in file startup_stm32f429xx.s
- Uses
- At line 147 in file startup_stm32f429xx.s
- At line 303 in file startup_stm32f429xx.s
-
-TIM8_BRK_TIM12_IRQHandler 0000001A
-
-Symbol: TIM8_BRK_TIM12_IRQHandler
- Definitions
- At line 382 in file startup_stm32f429xx.s
- Uses
- At line 135 in file startup_stm32f429xx.s
- At line 291 in file startup_stm32f429xx.s
-
-TIM8_CC_IRQHandler 0000001A
-
-Symbol: TIM8_CC_IRQHandler
- Definitions
- At line 385 in file startup_stm32f429xx.s
- Uses
- At line 138 in file startup_stm32f429xx.s
- At line 294 in file startup_stm32f429xx.s
-
-TIM8_TRG_COM_TIM14_IRQHandler 0000001A
-
-Symbol: TIM8_TRG_COM_TIM14_IRQHandler
- Definitions
- At line 384 in file startup_stm32f429xx.s
- Uses
- At line 137 in file startup_stm32f429xx.s
- At line 293 in file startup_stm32f429xx.s
-
-TIM8_UP_TIM13_IRQHandler 0000001A
-
-Symbol: TIM8_UP_TIM13_IRQHandler
- Definitions
- At line 383 in file startup_stm32f429xx.s
- Uses
- At line 136 in file startup_stm32f429xx.s
- At line 292 in file startup_stm32f429xx.s
-
-
-
-
-ARM Macro Assembler Page 15 Alphabetic symbol ordering
-Relocatable symbols
-
-UART4_IRQHandler 0000001A
-
-Symbol: UART4_IRQHandler
- Definitions
- At line 391 in file startup_stm32f429xx.s
- Uses
- At line 144 in file startup_stm32f429xx.s
- At line 300 in file startup_stm32f429xx.s
-
-UART5_IRQHandler 0000001A
-
-Symbol: UART5_IRQHandler
- Definitions
- At line 392 in file startup_stm32f429xx.s
- Uses
- At line 145 in file startup_stm32f429xx.s
- At line 301 in file startup_stm32f429xx.s
-
-UART7_IRQHandler 0000001A
-
-Symbol: UART7_IRQHandler
- Definitions
- At line 420 in file startup_stm32f429xx.s
- Uses
- At line 174 in file startup_stm32f429xx.s
- At line 329 in file startup_stm32f429xx.s
-
-UART8_IRQHandler 0000001A
-
-Symbol: UART8_IRQHandler
- Definitions
- At line 421 in file startup_stm32f429xx.s
- Uses
- At line 175 in file startup_stm32f429xx.s
- At line 330 in file startup_stm32f429xx.s
-
-USART1_IRQHandler 0000001A
-
-Symbol: USART1_IRQHandler
- Definitions
- At line 376 in file startup_stm32f429xx.s
- Uses
- At line 129 in file startup_stm32f429xx.s
- At line 285 in file startup_stm32f429xx.s
-
-USART2_IRQHandler 0000001A
-
-Symbol: USART2_IRQHandler
- Definitions
- At line 377 in file startup_stm32f429xx.s
- Uses
- At line 130 in file startup_stm32f429xx.s
- At line 286 in file startup_stm32f429xx.s
-
-USART3_IRQHandler 0000001A
-
-Symbol: USART3_IRQHandler
- Definitions
- At line 378 in file startup_stm32f429xx.s
-
-
-
-ARM Macro Assembler Page 16 Alphabetic symbol ordering
-Relocatable symbols
-
- Uses
- At line 131 in file startup_stm32f429xx.s
- At line 287 in file startup_stm32f429xx.s
-
-USART6_IRQHandler 0000001A
-
-Symbol: USART6_IRQHandler
- Definitions
- At line 410 in file startup_stm32f429xx.s
- Uses
- At line 163 in file startup_stm32f429xx.s
- At line 319 in file startup_stm32f429xx.s
-
-UsageFault_Handler 00000010
-
-Symbol: UsageFault_Handler
- Definitions
- At line 224 in file startup_stm32f429xx.s
- Uses
- At line 80 in file startup_stm32f429xx.s
- At line 225 in file startup_stm32f429xx.s
-
-WWDG_IRQHandler 0000001A
-
-Symbol: WWDG_IRQHandler
- Definitions
- At line 339 in file startup_stm32f429xx.s
- Uses
- At line 92 in file startup_stm32f429xx.s
- At line 248 in file startup_stm32f429xx.s
-
-102 symbols
-
-
-
-ARM Macro Assembler Page 1 Alphabetic symbol ordering
-Absolute symbols
-
-Heap_Size 00000200
-
-Symbol: Heap_Size
- Definitions
- At line 57 in file startup_stm32f429xx.s
- Uses
- At line 61 in file startup_stm32f429xx.s
-Comment: Heap_Size used once
-Stack_Size 00000400
-
-Symbol: Stack_Size
- Definitions
- At line 46 in file startup_stm32f429xx.s
- Uses
- At line 49 in file startup_stm32f429xx.s
-Comment: Stack_Size used once
-__Vectors_Size 000001AC
-
-Symbol: __Vectors_Size
- Definitions
- At line 186 in file startup_stm32f429xx.s
- Uses
- At line 72 in file startup_stm32f429xx.s
-Comment: __Vectors_Size used once
-3 symbols
-
-
-
-ARM Macro Assembler Page 1 Alphabetic symbol ordering
-External symbols
-
-SystemInit 00000000
-
-Symbol: SystemInit
- Definitions
- At line 193 in file startup_stm32f429xx.s
- Uses
- At line 196 in file startup_stm32f429xx.s
-Comment: SystemInit used once
-__main 00000000
-
-Symbol: __main
- Definitions
- At line 194 in file startup_stm32f429xx.s
- Uses
- At line 198 in file startup_stm32f429xx.s
-Comment: __main used once
-2 symbols
-455 symbols in table
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/USBD_HID.ewd b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/USBD_HID.ewd
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/USBD_HID.ewd
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/USBD_HID.ewd
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/USBD_HID.ewp b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/USBD_HID.ewp
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/USBD_HID.ewp
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/USBD_HID.ewp
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/USBD_HID.eww b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/USBD_HID.eww
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/USBD_HID.eww
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/USBD_HID.eww
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/startup_stm32f429xx.s b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/startup_stm32f429xx.s
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/startup_stm32f429xx.s
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/startup_stm32f429xx.s
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/stm32f429xx_flash.icf b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/stm32f429xx_flash.icf
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/EWARM/stm32f429xx_flash.icf
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/EWARM/stm32f429xx_flash.icf
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/can.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/can.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/can.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/can.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/dfu.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/dfu.h
similarity index 97%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/dfu.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/dfu.h
index a018266..6ee6894 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/dfu.h
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/dfu.h
@@ -26,4 +26,4 @@ THE SOFTWARE.
#pragma once
-void dfu_run_bootloader();
+void dfu_run_bootloader(void);
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/gpio.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/gpio.h
similarity index 98%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/gpio.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/gpio.h
index 83a0b64..3112017 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/gpio.h
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/gpio.h
@@ -26,4 +26,4 @@ THE SOFTWARE.
#pragma once
-void gpio_init();
+void gpio_init(void);
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/gs_usb.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/gs_usb.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/gs_usb.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/gs_usb.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/led.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/led.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/led.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/led.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/main.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/main.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/main.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/main.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/queue.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/queue.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/queue.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/queue.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/stm32f4xx_hal_conf.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/stm32f4xx_hal_conf.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/stm32f4xx_hal_conf.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/stm32f4xx_hal_conf.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/stm32f4xx_it.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/stm32f4xx_it.h
similarity index 97%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/stm32f4xx_it.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/stm32f4xx_it.h
index 9253223..d13740a 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/stm32f4xx_it.h
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/stm32f4xx_it.h
@@ -48,7 +48,9 @@ void DebugMon_Handler(void);
void PendSV_Handler(void);
void SysTick_Handler(void);
void OTG_FS_IRQHandler(void);
+void OTG_HS_IRQHandler(void);
void OTG_FS_WKUP_IRQHandler(void);
+void OTG_HS_WKUP_IRQHandler(void);
void EXTI15_10_IRQHandler(void);
#ifdef __cplusplus
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/timer.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/timer.h
similarity index 95%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/timer.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/timer.h
index 000abeb..cfe1e42 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/timer.h
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/timer.h
@@ -28,5 +28,5 @@ THE SOFTWARE.
#include
-void timer_init();
-uint32_t timer_get();
+void timer_init(void);
+uint32_t timer_get(void);
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/usbd_conf.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/usbd_conf.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/usbd_conf.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/usbd_conf.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/usbd_desc.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/usbd_desc.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/usbd_desc.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/usbd_desc.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/usbd_gs_can.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/usbd_gs_can.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/usbd_gs_can.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/usbd_gs_can.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/util.h b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/util.h
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Inc/util.h
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Inc/util.h
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/EventRecorderStub.scvd b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/EventRecorderStub.scvd
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/EventRecorderStub.scvd
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/EventRecorderStub.scvd
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/Project.uvprojx b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/HEROLight.uvprojx
similarity index 50%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/Project.uvprojx
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/HEROLight.uvprojx
index 3fe7692..2a775da 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/Project.uvprojx
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/HEROLight.uvprojx
@@ -7,7 +7,7 @@
- STM32F429VI_HERO-FS
+ HERO_FS_USB_A
0x4
ARM-ADS
5060750::V5.06 update 6 (build 750)::ARMCC
@@ -48,7 +48,7 @@
0
1
- STM32F429VI_HERO_USBD-FS\
+ .\bin\HERO_FS_USB_A\
STM32F429VI_HERO-FS
1
0
@@ -311,7 +311,7 @@
1
- 4
+ 1
0
0
1
@@ -335,7 +335,7 @@
0
--C99
- USE_HAL_DRIVER,STM32F429xx,USE_STM32F4XX_HERO,HSE_VALUE=25000000
+ USE_HAL_DRIVER,STM32F429xx,USE_STM32F4XX_HERO,HSE_VALUE=25000000,USE_USBD_FS
../Inc;../../../../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../../../../../../Drivers/STM32F4xx_HAL_Driver/Inc;../../../../../../Drivers/BSP/STM32F4xx_HERO;../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Inc;../../../../../../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Inc
@@ -529,16 +529,636 @@
1
../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c
+
+ stm32f4xx_hal_pcd.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c
+
stm32f4xx_hal_i2c.c
1
- ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c
+
+
+ stm32f4xx_hal_i2c_ex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c_ex.c
+
+
+ stm32f4xx_hal_rcc.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc.c
+
+
+ stm32f4xx_hal_sdram.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sdram.c
+
+
+ stm32f4xx_hal_dma_ex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma_ex.c
+
+
+ stm32f4xx_hal_rcc_ex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_rcc_ex.c
+
+
+ stm32f4xx_hal_gpio.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_gpio.c
+
+
+ stm32f4xx_hal_dma.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_dma.c
+
+
+ stm32f4xx_ll_usb.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_usb.c
+
+
+ stm32f4xx_hal_flash_ex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash_ex.c
+
+
+ stm32f4xx_hal_can.c
+ 1
+ ..\..\..\..\..\..\Drivers\STM32F4xx_HAL_Driver\Src\stm32f4xx_hal_can.c
+
+
+
+
+ Middlewares/STM32_USBD_Library/Core
+
+
+ usbd_core.c
+ 1
+ ../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_core.c
+
+
+ usbd_ioreq.c
+ 1
+ ../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ioreq.c
+
+
+ usbd_ctlreq.c
+ 1
+ ../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Src/usbd_ctlreq.c
+
+
+
+
+ Drivers/BSP/STM32F4xx_HERO
+
+
+ stm32f4xx_hero.c
+ 1
+ ..\..\..\..\..\..\Drivers\BSP\STM32F4xx_HERO\stm32f4xx_hero.c
+
+
+
+
+ ::CMSIS
+
+
+
+
+ HERO_HS_USB_MINI
+ 0x4
+ ARM-ADS
+ 5060750::V5.06 update 6 (build 750)::ARMCC
+ 0
+
+
+ STM32F429VITx
+ STMicroelectronics
+ Keil.STM32F4xx_DFP.2.13.0
+ http://www.keil.com/pack
+ IRAM(0x20000000,0x00030000) IRAM2(0x10000000,0x00010000) IROM(0x08000000,0x00200000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
+
+
+ UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_2048 -FS08000000 -FL0200000 -FP0($$Device:STM32F429VITx$CMSIS\Flash\STM32F4xx_2048.FLM))
+ 0
+ $$Device:STM32F429VITx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
+
+
+
+
+
+
+
+
+
+ $$Device:STM32F429VITx$CMSIS\SVD\STM32F429x.svd
+ 0
+ 0
+
+
+
+
+
+
+ 0
+ 0
+ 0
+ 0
+ 1
+
+ .\bin\HERO_HS_USB_MINI\
+ STM32F429VI_HERO-FS
+ 1
+ 0
+ 0
+ 1
+ 1
+
+ 1
+ 0
+ 0
+
+ 0
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+ 0
+ 0
+
+
+ 0
+ 0
+ 0
+ 0
+
+ 0
+
+
+
+ 0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 3
+
+
+ 0
+
+
+ SARMCM3.DLL
+ -REMAP -MPU
+ DCM.DLL
+ -pCM4
+ SARMCM3.DLL
+ -MPU
+ TCM.DLL
+ -pCM4
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 16
+
+
+
+
+ 1
+ 0
+ 0
+ 1
+ 1
+ 4107
+
+ 1
+ BIN\UL2CM3.DLL
+
+
+
+
+
+ 0
+
+
+
+ 0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 1
+ 1
+ 0
+ 1
+ 1
+ 0
+ 0
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ "Cortex-M4"
+
+ 0
+ 0
+ 0
+ 1
+ 1
+ 0
+ 0
+ 2
+ 1
+ 0
+ 8
+ 1
+ 0
+ 0
+ 0
+ 3
+ 4
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 1
+ 0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x20000000
+ 0x30000
+
+
+ 1
+ 0x8000000
+ 0x200000
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 1
+ 0x0
+ 0x0
+
+
+ 1
+ 0x0
+ 0x0
+
+
+ 1
+ 0x0
+ 0x0
+
+
+ 1
+ 0x8000000
+ 0x200000
+
+
+ 1
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x0
+ 0x0
+
+
+ 0
+ 0x20000000
+ 0x30000
+
+
+ 0
+ 0x10000000
+ 0x10000
+
+
+
+
+
+ 1
+ 1
+ 0
+ 0
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 2
+ 0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
+
+ --C99
+ USE_HAL_DRIVER,STM32F429xx,USE_STM32F4XX_HERO,HSE_VALUE=25000000,USE_USBD_HS
+
+ ../Inc;../../../../../../Drivers/CMSIS/Device/ST/STM32F4xx/Include;../../../../../../Drivers/STM32F4xx_HAL_Driver/Inc;../../../../../../Drivers/BSP/STM32F4xx_HERO;../../../../../../Middlewares/ST/STM32_USB_Device_Library/Core/Inc;../../../../../../Middlewares/ST/STM32_USB_Device_Library/Class/HID/Inc
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+
+
+
+
+ 1
+ 0
+ 0
+ 0
+ 1
+ 0
+ 0x08000000
+ 0x20000000
+
+
+
+
+ --diag_suppress=L6329
+
+
+
+
+
+
+
+ Doc
+
+
+ readme.txt
+ 5
+ ../readme.txt
+
+
+
+
+ Application/User
+
+
+ usbd_conf.c
+ 1
+ ../Src/usbd_conf.c
+
+
+ main.c
+ 1
+ ../Src/main.c
+
+
+ usbd_desc.c
+ 1
+ ../Src/usbd_desc.c
+
+
+ stm32f4xx_it.c
+ 1
+ ../Src/stm32f4xx_it.c
+
+
+ usbd_gs_can.c
+ 1
+ ..\Src\usbd_gs_can.c
+
+
+ queue.c
+ 1
+ ..\Src\queue.c
+
+
+ util.c
+ 1
+ ..\Src\util.c
+
+
+ timer.c
+ 1
+ ..\Src\timer.c
+
+
+ can.c
+ 1
+ ..\Src\can.c
+
+
+ dfu.c
+ 1
+ ..\Src\dfu.c
+
+
+ led.c
+ 1
+ ..\Src\led.c
+
+
+
+
+ Middlewares/STM32_USBD_Library/Class/HID
+
+
+ Drivers/CMSIS
+
+
+ system_stm32f4xx.c
+ 1
+ ../Src/system_stm32f4xx.c
+
+
+
+
+ Application/MDK-ARM
+
+
+ startup_stm32f429xx.s
+ 2
+ startup_stm32f429xx.s
+
+
+
+
+ Drivers/STM32F4xx_HAL_Driver
+
+
+ stm32f4xx_ll_fsmc.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fsmc.c
+
+
+ stm32f4xx_hal_cortex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_cortex.c
+
+
+ stm32f4xx_ll_fmc.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_fmc.c
+
+
+ stm32f4xx_hal_uart.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_uart.c
+
+
+ stm32f4xx_hal_sram.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_sram.c
+
+
+ stm32f4xx_hal_hcd.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_hcd.c
+
+
+ stm32f4xx_hal_pwr_ex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr_ex.c
+
+
+ stm32f4xx_hal.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal.c
+
+
+ stm32f4xx_hal_pcd_ex.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd_ex.c
+
+
+ stm32f4xx_hal_pwr.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pwr.c
+
+
+ stm32f4xx_hal_flash.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_flash.c
stm32f4xx_hal_pcd.c
1
../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_pcd.c
+
+ stm32f4xx_hal_i2c.c
+ 1
+ ../../../../../../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_hal_i2c.c
+
stm32f4xx_hal_i2c_ex.c
1
@@ -634,7 +1254,8 @@
-
+
+
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/startup_stm32f429xx.s b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/startup_stm32f429xx.s
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/MDK-ARM/startup_stm32f429xx.s
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/MDK-ARM/startup_stm32f429xx.s
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.cproject b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.cproject
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.cproject
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.cproject
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.project b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.project
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.project
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/.project
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/STM32F429ZITx_FLASH.ld b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/STM32F429ZITx_FLASH.ld
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/STM32F429ZITx_FLASH.ld
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/STM32F429ZI_HERO_USBD-FS/STM32F429ZITx_FLASH.ld
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/startup_stm32f429xx.s b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/startup_stm32f429xx.s
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/SW4STM32/startup_stm32f429xx.s
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/SW4STM32/startup_stm32f429xx.s
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/can.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/can.c
similarity index 99%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/can.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/can.c
index 8f50bbe..a42d119 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/can.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/can.c
@@ -28,7 +28,6 @@ THE SOFTWARE.
volatile uint32_t pclk1 ;
void can_init(can_data_t *hcan, CAN_TypeDef *instance)
{
-#if 1
__HAL_RCC_CAN1_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
@@ -47,7 +46,6 @@ void can_init(can_data_t *hcan, CAN_TypeDef *instance)
hcan->phase_seg1 = 7+8;
hcan->phase_seg2 = 5;
hcan->sjw = 4;
-#endif
}
bool can_set_bittiming(can_data_t *hcan, uint16_t brp, uint8_t phase_seg1, uint8_t phase_seg2, uint8_t sjw)
@@ -76,7 +74,6 @@ bool can_set_bittiming(can_data_t *hcan, uint16_t brp, uint8_t phase_seg1, uint8
void can_enable(can_data_t *hcan, bool loop_back, bool listen_only, bool one_shot)
{
-#if 1
CAN_TypeDef *can = hcan->instance;
uint32_t mcr = CAN_MCR_INRQ
@@ -118,7 +115,6 @@ void can_enable(can_data_t *hcan, bool loop_back, bool listen_only, bool one_sho
can->FA1R |= filter_bit; // enable filter
can->FMR &= ~CAN_FMR_FINIT;
-#endif
}
void can_disable(can_data_t *hcan)
@@ -198,7 +194,6 @@ static CAN_TxMailBox_TypeDef *can_find_free_mailbox(can_data_t *hcan)
bool can_send(can_data_t *hcan, struct gs_host_frame *frame)
{
-#if 1
CAN_TxMailBox_TypeDef *mb = can_find_free_mailbox(hcan);
if (mb != 0) {
@@ -234,10 +229,7 @@ bool can_send(can_data_t *hcan, struct gs_host_frame *frame)
mb->TIR |= CAN_TI0R_TXRQ;
return true;
- } else {
- return false;
}
-#endif
return false;
}
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/dfu.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/dfu.c
similarity index 98%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/dfu.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/dfu.c
index 10a9891..009e51f 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/dfu.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/dfu.c
@@ -38,7 +38,7 @@ THE SOFTWARE.
//static void dfu_hack_boot_pin_f042();
//static void dfu_jump_to_bootloader();
-void dfu_run_bootloader()
+void dfu_run_bootloader(void)
{
//dfu_reset_to_bootloader_magic = RESET_TO_BOOTLOADER_MAGIC_CODE;
//NVIC_SystemReset();
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/led.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/led.c
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/led.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/led.c
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/main.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/main.c
similarity index 89%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/main.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/main.c
index 4fc0f6b..75e916d 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/main.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/main.c
@@ -31,7 +31,7 @@ THE SOFTWARE.
#include
//#include "config.h"
-#define CAN_QUEUE_SIZE 16
+#define CAN_QUEUE_SIZE 4
#include "stm32f4xx_hal.h"
#include "usbd_def.h"
@@ -49,7 +49,7 @@ THE SOFTWARE.
void SystemClock_Config(void);
static bool send_to_host_or_enqueue(struct gs_host_frame *frame);
-static void send_to_host();
+static void send_to_host(void);
/**
* @brief This function is executed in case of error occurrence.
@@ -98,37 +98,9 @@ int main(void)
BSP_LED_On(LED3);
-#if 1 /* testing -Ozrien */
can_init(&hCAN, CAN1);
- can_set_bittiming(&hCAN, 2, 7 + 8, 5, 4);
- can_enable(&hCAN, 0, 0, 0);
-#elif 0
- can_init(&hCAN, CAN1);
- //bool can_set_bittiming(can_data_t *hcan, uint16_t brp, uint8_t phase_seg1, uint8_t phase_seg2, uint8_t sjw);
- can_disable(&hCAN);
- can_enable(&hCAN, 0, 0, 0);
- can_disable(&hCAN);
- can_set_bittiming(&hCAN, 2, 7 + 8, 5, 4);
- can_enable(&hCAN, 0, 0, 0);
- can_disable(&hCAN);
- can_set_bittiming(&hCAN, 1, 1, 1, 1);
- can_enable(&hCAN, 0, 0, 0);
- can_disable(&hCAN);
- can_set_bittiming(&hCAN, 1, 1, 1, 1);
- can_enable(&hCAN, 0, 0, 0);
- can_disable(&hCAN);
- can_set_bittiming(&hCAN, 1, 1, 1, 1);
- can_enable(&hCAN, 0, 0, 0);
-#else
can_disable(&hCAN);
-#endif
-
-#if 0
- flash_load();
-
- gpio_init();
-#endif
led_init(&hLED,
LED1_GPIO_PORT, LED1_PIN, false,
LED2_GPIO_PORT, LED2_PIN, false);
@@ -155,15 +127,7 @@ int main(void)
#ifdef CAN_S_GPIO_Port
HAL_GPIO_WritePin(CAN_S_GPIO_Port, CAN_S_Pin, GPIO_PIN_RESET);
#endif
-
-// while (1) {
-// BSP_LED_Toggle(LED1);
-// BSP_LED_Toggle(LED2);
-// BSP_LED_Toggle(LED3);
-// HAL_Delay(100);
-// }
-
-
+
while (1) {
/* additional loop blink */
@@ -173,11 +137,6 @@ int main(void)
if (time_dur < 0 || time_dur > 500e3) {
BSP_LED_Toggle(LED3);
time0_us = time1_us;
- struct gs_host_frame testFrame = {0};
- testFrame.can_id = 0x456;
- testFrame.can_dlc = 8;
- testFrame.data[0] = 0x55;
- can_send(&hCAN, &testFrame);
}
struct gs_host_frame *frame = queue_pop_front(q_from_host);
@@ -207,7 +166,7 @@ int main(void)
frame->channel = 0;
frame->flags = 0;
frame->reserved = 0;
-
+
send_to_host_or_enqueue(frame);
led_indicate_trx(&hLED, led_1);
@@ -323,7 +282,7 @@ bool send_to_host_or_enqueue(struct gs_host_frame *frame)
}
}
-void send_to_host()
+void send_to_host(void)
{
struct gs_host_frame *frame = queue_pop_front(q_to_host);
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/queue.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/queue.c
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/queue.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/queue.c
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/stm32f4xx_it.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/stm32f4xx_it.c
similarity index 81%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/stm32f4xx_it.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/stm32f4xx_it.c
index feda9ac..1e96d6c 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/stm32f4xx_it.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/stm32f4xx_it.c
@@ -33,7 +33,7 @@
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
-extern PCD_HandleTypeDef hpcd_USB_FS;
+extern PCD_HandleTypeDef hpcd_USB;
extern USBD_HandleTypeDef USBD_Device;
/* Private function prototypes -----------------------------------------------*/
@@ -155,7 +155,12 @@ void SysTick_Handler(void)
*/
void OTG_FS_IRQHandler(void)
{
- HAL_PCD_IRQHandler(&hpcd_USB_FS);
+ HAL_PCD_IRQHandler(&hpcd_USB);
+}
+
+void OTG_HS_IRQHandler(void)
+{
+ HAL_PCD_IRQHandler(&hpcd_USB);
}
/**
@@ -166,7 +171,44 @@ void OTG_FS_IRQHandler(void)
void OTG_FS_WKUP_IRQHandler(void)
{
- if((&hpcd_USB_FS)->Init.low_power_enable)
+ if((&hpcd_USB)->Init.low_power_enable)
+ {
+ /* Reset SLEEPDEEP bit of Cortex System Control Register */
+ SCB->SCR &= (uint32_t)~((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk));
+
+
+ /* Configures system clock after wake-up from STOP: enable HSE, PLL and select
+ PLL as system clock source (HSE and PLL are disabled in STOP mode) */
+
+ __HAL_RCC_HSE_CONFIG(RCC_HSE_ON);
+
+ /* Wait till HSE is ready */
+ while(__HAL_RCC_GET_FLAG(RCC_FLAG_HSERDY) == RESET)
+ {}
+
+ /* Enable the main PLL. */
+ __HAL_RCC_PLL_ENABLE();
+
+ /* Wait till PLL is ready */
+ while(__HAL_RCC_GET_FLAG(RCC_FLAG_PLLRDY) == RESET)
+ {}
+
+ /* Select PLL as SYSCLK */
+ MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, RCC_SYSCLKSOURCE_PLLCLK);
+
+ while (__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_CFGR_SWS_PLL)
+ {}
+
+ /* ungate PHY clock */
+ __HAL_PCD_UNGATE_PHYCLOCK((&hpcd_USB));
+ }
+ /* Clear EXTI pending Bit*/
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG();
+}
+
+void OTG_HS_WKUP_IRQHandler(void)
+{
+ if((&hpcd_USB)->Init.low_power_enable)
{
/* Reset SLEEPDEEP bit of Cortex System Control Register */
SCB->SCR &= (uint32_t)~((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk));
@@ -195,7 +237,7 @@ void OTG_FS_WKUP_IRQHandler(void)
{}
/* ungate PHY clock */
- __HAL_PCD_UNGATE_PHYCLOCK((&hpcd_USB_FS));
+ __HAL_PCD_UNGATE_PHYCLOCK((&hpcd_USB));
}
/* Clear EXTI pending Bit*/
__HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG();
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/system_stm32f4xx.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/system_stm32f4xx.c
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/system_stm32f4xx.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/system_stm32f4xx.c
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/timer.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/timer.c
similarity index 96%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/timer.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/timer.c
index 9602e6b..12efff7 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/timer.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/timer.c
@@ -27,7 +27,7 @@ THE SOFTWARE.
#include "timer.h"
#include "stm32f4xx_hal.h"
-void timer_init()
+void timer_init(void)
{
__HAL_RCC_TIM2_CLK_ENABLE();
@@ -44,7 +44,7 @@ void timer_init()
TIM2->EGR = TIM_EGR_UG;
}
-uint32_t timer_get()
+uint32_t timer_get(void)
{
return TIM2->CNT;
}
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_conf.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_conf.c
similarity index 51%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_conf.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_conf.c
index b12782e..c3468fe 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_conf.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_conf.c
@@ -29,80 +29,152 @@ THE SOFTWARE.
#include "usbd_gs_can.h"
//#include "main.h"
-PCD_HandleTypeDef hpcd_USB_FS;
+PCD_HandleTypeDef hpcd_USB;
extern USBD_HandleTypeDef USBD_Device;
-#define USB USB_OTG_FS
void HAL_PCD_MspInit(PCD_HandleTypeDef* hpcd)
{
GPIO_InitTypeDef GPIO_InitStruct;
- /* Configure USB FS GPIOs */
- __HAL_RCC_GPIOA_CLK_ENABLE();
- __HAL_RCC_GPIOB_CLK_ENABLE();
- __HAL_RCC_GPIOC_CLK_ENABLE();
+ if(hpcd->Instance == USB_OTG_FS)
+ {
+ /* Configure USB FS GPIOs */
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ __HAL_RCC_GPIOC_CLK_ENABLE();
+
+ /* Configure DM DP Pins */
+ GPIO_InitStruct.Pin = (GPIO_PIN_11 | GPIO_PIN_12);
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_HIGH;
+ GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* Configure VBUS Pin */
+ GPIO_InitStruct.Pin = GPIO_PIN_13;
+ GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
+
+ /* Configure ID pin */
+ GPIO_InitStruct.Pin = GPIO_PIN_10;
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
+ GPIO_InitStruct.Pull = GPIO_PULLUP;
+ GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
- /* Configure DM DP Pins */
- GPIO_InitStruct.Pin = (GPIO_PIN_11 | GPIO_PIN_12);
- GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- GPIO_InitStruct.Speed = GPIO_SPEED_HIGH;
- GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* Configure VBUS Pin */
- GPIO_InitStruct.Pin = GPIO_PIN_13;
- GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
- GPIO_InitStruct.Pull = GPIO_NOPULL;
- HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
-
- /* Configure ID pin */
- GPIO_InitStruct.Pin = GPIO_PIN_10;
- GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
- GPIO_InitStruct.Pull = GPIO_PULLUP;
- GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
- HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
-
- /* Enable USB FS Clocks */
- __HAL_RCC_USB_OTG_FS_CLK_ENABLE();
-
- /* Set USBFS Interrupt priority */
- HAL_NVIC_SetPriority(OTG_FS_IRQn, 5, 0);
-
- /* Enable USBFS Interrupt */
- HAL_NVIC_EnableIRQ(OTG_FS_IRQn);
-
- if(hpcd->Init.low_power_enable == 1)
- {
- /* Enable EXTI Line 18 for USB wakeup*/
- __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG();
- __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_EDGE();
- __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT();
-
- /* Enable USBFS Interrupt */
- HAL_NVIC_EnableIRQ(OTG_FS_IRQn);
-
- if(hpcd->Init.low_power_enable == 1)
- {
- /* Enable EXTI Line 18 for USB wakeup*/
- __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG();
- __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_EDGE();
- __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT();
-
- /* Set EXTI Wakeup Interrupt priority*/
- HAL_NVIC_SetPriority(OTG_FS_WKUP_IRQn, 0, 0);
-
- /* Enable EXTI Interrupt */
- HAL_NVIC_EnableIRQ(OTG_FS_WKUP_IRQn);
- }
- }
+ /* Enable USB FS Clocks */
+ __HAL_RCC_USB_OTG_FS_CLK_ENABLE();
+
+ /* Set USBFS Interrupt priority */
+ HAL_NVIC_SetPriority(OTG_FS_IRQn, 5, 0);
+
+ /* Enable USBFS Interrupt */
+ HAL_NVIC_EnableIRQ(OTG_FS_IRQn);
+
+ if(hpcd->Init.low_power_enable == 1)
+ {
+ /* Enable EXTI Line 18 for USB wakeup*/
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG();
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_EDGE();
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT();
+
+ /* Enable USBFS Interrupt */
+ HAL_NVIC_EnableIRQ(OTG_FS_IRQn);
+
+ if(hpcd->Init.low_power_enable == 1)
+ {
+ /* Enable EXTI Line 18 for USB wakeup*/
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG();
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_EDGE();
+ __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT();
+
+ /* Set EXTI Wakeup Interrupt priority*/
+ HAL_NVIC_SetPriority(OTG_FS_WKUP_IRQn, 0, 0);
+
+ /* Enable EXTI Interrupt */
+ HAL_NVIC_EnableIRQ(OTG_FS_WKUP_IRQn);
+ }
+ }
+ }
+ else if(hpcd->Instance == USB_OTG_HS)
+ {
+ /* Configure USB HS GPIOs */
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ __HAL_RCC_GPIOC_CLK_ENABLE();
+
+ /* Configure DM DP Pins */
+ GPIO_InitStruct.Pin = (GPIO_PIN_14 | GPIO_PIN_15);
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_HIGH;
+ GPIO_InitStruct.Alternate = GPIO_AF12_OTG_HS_FS;
+ HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+
+ /* Configure VBUS Pin */
+ GPIO_InitStruct.Pin = GPIO_PIN_13;
+ GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
+
+ /* Configure ID pin */
+ GPIO_InitStruct.Pin = GPIO_PIN_10;
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
+ GPIO_InitStruct.Pull = GPIO_PULLUP;
+ GPIO_InitStruct.Alternate = GPIO_AF10_OTG_FS;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* Enable USB HS Clocks */
+ __HAL_RCC_USB_OTG_HS_CLK_ENABLE();
+
+ /* Set USBHS Interrupt priority */
+ HAL_NVIC_SetPriority(OTG_HS_IRQn, 5, 0);
+
+ /* Enable USBHS Interrupt */
+ HAL_NVIC_EnableIRQ(OTG_HS_IRQn);
+
+ if(hpcd->Init.low_power_enable == 1)
+ {
+ /* Enable EXTI Line 18 for USB wakeup*/
+ __HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG();
+ __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_RISING_EDGE();
+ __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT();
+
+ /* Enable USBFS Interrupt */
+ HAL_NVIC_EnableIRQ(OTG_HS_IRQn);
+
+ if(hpcd->Init.low_power_enable == 1)
+ {
+ /* Enable EXTI Line 18 for USB wakeup*/
+ __HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG();
+ __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_RISING_EDGE();
+ __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT();
+
+ /* Set EXTI Wakeup Interrupt priority*/
+ HAL_NVIC_SetPriority(OTG_HS_WKUP_IRQn, 0, 0);
+
+ /* Enable EXTI Interrupt */
+ HAL_NVIC_EnableIRQ(OTG_HS_WKUP_IRQn);
+ }
+ }
+ }
}
void HAL_PCD_MspDeInit(PCD_HandleTypeDef* hpcd)
{
- /* Disable USB FS Clock */
- __HAL_RCC_USB_OTG_FS_CLK_DISABLE();
+ /* Disable USB Clock */
+ if(hpcd->Instance == USB_OTG_FS)
+ {
+ __HAL_RCC_USB_OTG_FS_CLK_DISABLE();
+ }
+ else if(hpcd->Instance == USB_OTG_HS)
+ {
+ __HAL_RCC_USB_OTG_HS_CLK_DISABLE();
+ __HAL_RCC_USB_OTG_HS_ULPI_CLK_DISABLE();
+ }
__HAL_RCC_SYSCFG_CLK_DISABLE();
}
@@ -185,27 +257,43 @@ USBD_StatusTypeDef USBD_LL_Init(USBD_HandleTypeDef *pdev)
{
/* Init USB_IP */
/* Link The driver to the stack */
- hpcd_USB_FS.pData = pdev;
- pdev->pData = &hpcd_USB_FS;
-
- hpcd_USB_FS.Instance = USB;
- hpcd_USB_FS.Init.dev_endpoints = 4;
- hpcd_USB_FS.Init.speed = PCD_SPEED_FULL;
- hpcd_USB_FS.Init.ep0_mps = DEP0CTL_MPS_64;
- hpcd_USB_FS.Init.dma_enable = 0;
- hpcd_USB_FS.Init.use_dedicated_ep1 = 0;
- hpcd_USB_FS.Init.phy_itface = PCD_PHY_EMBEDDED;
- hpcd_USB_FS.Init.low_power_enable = 0;
- hpcd_USB_FS.Init.lpm_enable = 0;
- hpcd_USB_FS.Init.Sof_enable = 1;
- hpcd_USB_FS.Init.vbus_sensing_enable = 0;
- HAL_PCD_Init(&hpcd_USB_FS);
+ hpcd_USB.pData = pdev;
+ pdev->pData = &hpcd_USB;
+#ifdef USE_USBD_FS
+ hpcd_USB.Instance = USB_OTG_FS;
+ hpcd_USB.Init.dev_endpoints = 4;
+ hpcd_USB.Init.speed = PCD_SPEED_FULL;
+ hpcd_USB.Init.ep0_mps = DEP0CTL_MPS_64;
+ hpcd_USB.Init.dma_enable = 0;
+ hpcd_USB.Init.use_dedicated_ep1 = 0;
+ hpcd_USB.Init.phy_itface = PCD_PHY_EMBEDDED;
+ hpcd_USB.Init.low_power_enable = 0;
+ hpcd_USB.Init.lpm_enable = 0;
+ hpcd_USB.Init.Sof_enable = 1;
+ hpcd_USB.Init.vbus_sensing_enable = 0;
+ HAL_PCD_Init(&hpcd_USB);
+#elif USE_USBD_HS
+ hpcd_USB.Instance = USB_OTG_HS;
+ hpcd_USB.Init.dev_endpoints = 4;
+ hpcd_USB.Init.speed = PCD_SPEED_FULL;
+ hpcd_USB.Init.ep0_mps = DEP0CTL_MPS_64;
+ hpcd_USB.Init.dma_enable = 0;
+ hpcd_USB.Init.use_dedicated_ep1 = 0;
+ hpcd_USB.Init.phy_itface = PCD_PHY_EMBEDDED;
+ hpcd_USB.Init.low_power_enable = 0;
+ hpcd_USB.Init.lpm_enable = 0;
+ hpcd_USB.Init.Sof_enable = 1;
+ hpcd_USB.Init.vbus_sensing_enable = 0;
+ HAL_PCD_Init(&hpcd_USB);
+#else
+#error Use FS or HS
+#endif
/* total is what? */
- HAL_PCDEx_SetRxFiFo(&hpcd_USB_FS, 0x80); // all EPs
- HAL_PCDEx_SetTxFiFo(&hpcd_USB_FS, 0, 0x40); // setup
- HAL_PCDEx_SetTxFiFo(&hpcd_USB_FS, 1, 0x40); // GSUSB_ENDPOINT_IN
- HAL_PCDEx_SetTxFiFo(&hpcd_USB_FS, 2, 0x80); // GSUSB_ENDPOINT_OUT
+ HAL_PCDEx_SetRxFiFo(&hpcd_USB, 0x80); // all EPs
+ HAL_PCDEx_SetTxFiFo(&hpcd_USB, 0, 0x40); // setup
+ HAL_PCDEx_SetTxFiFo(&hpcd_USB, 1, 0x40); // GSUSB_ENDPOINT_IN
+ HAL_PCDEx_SetTxFiFo(&hpcd_USB, 2, 0x80); // GSUSB_ENDPOINT_OUT
return USBD_OK;
}
@@ -294,118 +382,6 @@ uint32_t USBD_LL_GetRxDataSize(USBD_HandleTypeDef *pdev, uint8_t ep_addr)
{
return HAL_PCD_EP_GetRxCount((PCD_HandleTypeDef*) pdev->pData, ep_addr);
}
-#if 0
-/**
- * @brief Configures system clock after wakeup from STOP mode.
- * @param None
- * @retval None
- */
-static void SystemClockConfig_STOP(void)
-{
- RCC_ClkInitTypeDef RCC_ClkInitStruct;
- RCC_OscInitTypeDef RCC_OscInitStruct;
-
- /* Enable Power Control clock */
- __HAL_RCC_PWR_CLK_ENABLE();
-
- /* The voltage scaling allows optimizing the power consumption when the device is
- clocked below the maximum system frequency, to update the voltage scaling value
- regarding system frequency refer to product datasheet. */
- __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
-
- /* Enable HSE Oscillator and activate PLL with HSE as source */
- RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSE;
- RCC_OscInitStruct.HSEState = RCC_HSE_BYPASS;
- RCC_OscInitStruct.PLL.PLLState = RCC_PLL_ON;
- RCC_OscInitStruct.PLL.PLLSource = RCC_PLLSOURCE_HSE;
- RCC_OscInitStruct.PLL.PLLM = 8;
- RCC_OscInitStruct.PLL.PLLN = 336;
- RCC_OscInitStruct.PLL.PLLP = RCC_PLLP_DIV2;
- RCC_OscInitStruct.PLL.PLLQ = 7;
- HAL_RCC_OscConfig(&RCC_OscInitStruct);
-
- /* Select PLL as system clock source and configure the HCLK, PCLK1 and PCLK2
- clocks dividers */
- RCC_ClkInitStruct.ClockType = (RCC_CLOCKTYPE_SYSCLK | RCC_CLOCKTYPE_HCLK | RCC_CLOCKTYPE_PCLK1 | RCC_CLOCKTYPE_PCLK2);
- RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_PLLCLK;
- RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
- RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV4;
- RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV2;
- HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_5);
-}
-
-/**
- * @brief GPIO EXTI Callback function
- * Handle remote-wakeup through key button
- * @param GPIO_Pin
- * @retval None
- */
-void HAL_GPIO_EXTI_Callback(uint16_t GPIO_Pin)
-{
- if (GPIO_Pin == USER_BUTTON_PIN)
- {
- if ((((USBD_HandleTypeDef *)hpcd_USB_FS.pData)->dev_remote_wakeup == 1)&&
- (((USBD_HandleTypeDef *)hpcd_USB_FS.pData)->dev_state == USBD_STATE_SUSPENDED))
- {
- if ((&hpcd_USB_FS)->Init.low_power_enable)
- {
- /* Reset SLEEPDEEP bit of Cortex System Control Register */
- SCB->SCR &= (uint32_t)~((uint32_t)(SCB_SCR_SLEEPDEEP_Msk | SCB_SCR_SLEEPONEXIT_Msk));
-
- SystemClockConfig_STOP();
- }
-
- /* Ungate PHY clock */
- __HAL_PCD_UNGATE_PHYCLOCK((&hpcd_USB_FS));
-
- /* Activate Remote wakeup */
- HAL_PCD_ActivateRemoteWakeup((&hpcd_USB_FS));
-
- /* Remote wakeup delay */
- HAL_Delay(10);
-
- /* Disable Remote wakeup */
- HAL_PCD_DeActivateRemoteWakeup((&hpcd_USB_FS));
-
- /* change state to configured */
- ((USBD_HandleTypeDef *)hpcd_USB_FS.pData)->dev_state = USBD_STATE_CONFIGURED;
-
- /* Change remote_wakeup feature to 0*/
- ((USBD_HandleTypeDef *)hpcd_USB_FS.pData)->dev_remote_wakeup=0;
- remotewakeupon = 1;
- }
- else
- {
- GetPointerData(HID_Buffer);
- USBD_HID_SendReport(&USBD_Device, HID_Buffer, 4);
- }
- }
-}
-
-/**
- * @brief Gets Pointer Data.
- * @param pbuf: Pointer to report
- * @retval None
- */
-static void GetPointerData(uint8_t *pbuf)
-{
- static int8_t cnt = 0;
- int8_t x = 0, y = 0 ;
-
- if(cnt++ > 0)
- {
- x = CURSOR_STEP;
- }
- else
- {
- x = -CURSOR_STEP;
- }
- pbuf[0] = 0;
- pbuf[1] = x;
- pbuf[2] = y;
- pbuf[3] = 0;
-}
-#endif
/**
* @brief Delays routine for the USB Device Library.
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_desc.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_desc.c
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_desc.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_desc.c
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_gs_can.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_gs_can.c
similarity index 99%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_gs_can.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_gs_can.c
index f95a4f6..828de00 100644
--- a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/usbd_gs_can.c
+++ b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/usbd_gs_can.c
@@ -384,9 +384,7 @@ static uint8_t USBD_GS_CAN_EP0_RxReady(USBD_HandleTypeDef *pdev) {
} else {
ch = hcan->channels[req->wValue]; // TODO verify wValue input data (implement getChannelData() ?)
int isEnabled = 1;
-#if 0
isEnabled = can_is_enabled(ch);
-#endif
led_set_mode(hcan->leds, isEnabled ? led_mode_normal : led_mode_off);
}
break;
@@ -413,14 +411,12 @@ static uint8_t USBD_GS_CAN_EP0_RxReady(USBD_HandleTypeDef *pdev) {
hcan->timestamps_enabled = (mode->flags & GS_CAN_MODE_HW_TIMESTAMP) != 0;
hcan->pad_pkts_to_max_pkt_size = (mode->flags & GS_CAN_MODE_PAD_PKTS_TO_MAX_PKT_SIZE) != 0;
-#if 0
can_enable(ch,
(mode->flags & GS_CAN_MODE_LOOP_BACK) != 0,
(mode->flags & GS_CAN_MODE_LISTEN_ONLY) != 0,
(mode->flags & GS_CAN_MODE_ONE_SHOT) != 0
// triple sampling not supported on bxCAN
);
-#endif
led_set_mode(hcan->leds, led_mode_normal);
}
}
@@ -429,15 +425,13 @@ static uint8_t USBD_GS_CAN_EP0_RxReady(USBD_HandleTypeDef *pdev) {
case GS_USB_BREQ_BITTIMING:
timing = (struct gs_device_bittiming*)hcan->ep0_buf;
if (req->wValue < NUM_CAN_CHANNEL) {
-#if 0
can_set_bittiming(
hcan->channels[req->wValue],
timing->brp,
timing->prop_seg + timing->phase_seg1,
timing->phase_seg2,
timing->sjw
- );
-#endif
+ );
}
break;
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/util.c b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/util.c
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/Src/util.c
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/Src/util.c
diff --git a/Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/readme.txt b/Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/readme.txt
similarity index 100%
rename from Projects/STM32F429VI-HERO/Applications/USB_Device/CandleLight/readme.txt
rename to Projects/STM32F429VI-HERO/Applications/USB_Device/HEROLight/readme.txt