Skip to content

Commit

Permalink
update bootloader
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaqian12 committed May 6, 2023
1 parent 2b48c13 commit 1e6b8ea
Show file tree
Hide file tree
Showing 18 changed files with 10 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.build
keil
.vscode
*.sh
*.sh
*.py
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@
[submodule "sdk/ST/stm32f0xx_library/cmsis_device_f0"]
path = sdk/ST/stm32f0xx_library/cmsis_device_f0
url = https://github.com/STMicroelectronics/cmsis_device_f0.git
[submodule "sdk/ST/stm32f4xx_library/stm32f4xx_hal_driver"]
path = sdk/ST/stm32f4xx_library/stm32f4xx_hal_driver
url = https://github.com/STMicroelectronics/stm32f4xx_hal_driver.git
[submodule "sdk/ST/stm32f4xx_library/cmsis_device_f4"]
path = sdk/ST/stm32f4xx_library/cmsis_device_f4
url = https://github.com/STMicroelectronics/cmsis_device_f4.git
Binary file modified bootloader/ArteryTek/cherryuf2_at32f403acgt7_hick.bin
Binary file not shown.
Binary file modified bootloader/ArteryTek/cherryuf2_at32f413cbt7.bin
Binary file not shown.
Binary file modified bootloader/ArteryTek/cherryuf2_at32f413cbt7_hick.bin
Binary file not shown.
Binary file modified bootloader/ArteryTek/cherryuf2_at32f415cbt7.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32f072cbt6_hsi.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32f103cbt6.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32f401ccu6.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32f407zgt6.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32f411ceu6.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32g431cbu6_hsi.bin
Binary file not shown.
Binary file modified bootloader/ST/cherryuf2_stm32l433vct6_hsi.bin
Binary file not shown.
Binary file modified bootloader/WCH/cherryuf2_ch32v307rct6.bin
Binary file not shown.
Binary file modified bootloader/WCH/cherryuf2_ch582m.bin
Binary file not shown.
2 changes: 0 additions & 2 deletions ports/ST/stm32f4xx/boards/stm32f407zgt6/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
//--------------------------------------------------------------------+
#define BOARD_FLASH_SIZE (1024 * 1024)

#define BOARD_FLASH_APP_START 0x08008000

//--------------------------------------------------------------------+
// USB UF2
//--------------------------------------------------------------------+
Expand Down
2 changes: 1 addition & 1 deletion ports/WCH/ch32v30x/boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extern "C" {

// Flash Start Address of Application
#ifndef BOARD_FLASH_APP_START
# define BOARD_FLASH_APP_START 0x00005000
# define BOARD_FLASH_APP_START 0x00004000
#endif

// Double Reset tap to enter DFU
Expand Down
2 changes: 1 addition & 1 deletion ports/WCH/ch58x/boards.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ extern "C" {

// Flash Start Address of Application
#ifndef BOARD_FLASH_APP_START
# define BOARD_FLASH_APP_START 0x00005000
# define BOARD_FLASH_APP_START 0x00004000
#endif

#define BOOT_JUMP ((void (*)(void))((uint32_t *)BOARD_FLASH_APP_START))
Expand Down

0 comments on commit 1e6b8ea

Please sign in to comment.