diff --git a/.gitignore b/.gitignore index b70d098..70fab12 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ .build keil .vscode -*.sh \ No newline at end of file +*.sh +*.py \ No newline at end of file diff --git a/.gitmodules b/.gitmodules index 198b26a..ad524e2 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/bootloader/ArteryTek/cherryuf2_at32f403acgt7_hick.bin b/bootloader/ArteryTek/cherryuf2_at32f403acgt7_hick.bin index 18f7ebd..278233d 100644 Binary files a/bootloader/ArteryTek/cherryuf2_at32f403acgt7_hick.bin and b/bootloader/ArteryTek/cherryuf2_at32f403acgt7_hick.bin differ diff --git a/bootloader/ArteryTek/cherryuf2_at32f413cbt7.bin b/bootloader/ArteryTek/cherryuf2_at32f413cbt7.bin index ca917f4..328076a 100644 Binary files a/bootloader/ArteryTek/cherryuf2_at32f413cbt7.bin and b/bootloader/ArteryTek/cherryuf2_at32f413cbt7.bin differ diff --git a/bootloader/ArteryTek/cherryuf2_at32f413cbt7_hick.bin b/bootloader/ArteryTek/cherryuf2_at32f413cbt7_hick.bin index ee34c88..7ecbc31 100644 Binary files a/bootloader/ArteryTek/cherryuf2_at32f413cbt7_hick.bin and b/bootloader/ArteryTek/cherryuf2_at32f413cbt7_hick.bin differ diff --git a/bootloader/ArteryTek/cherryuf2_at32f415cbt7.bin b/bootloader/ArteryTek/cherryuf2_at32f415cbt7.bin index f1e282b..1575efe 100644 Binary files a/bootloader/ArteryTek/cherryuf2_at32f415cbt7.bin and b/bootloader/ArteryTek/cherryuf2_at32f415cbt7.bin differ diff --git a/bootloader/ST/cherryuf2_stm32f072cbt6_hsi.bin b/bootloader/ST/cherryuf2_stm32f072cbt6_hsi.bin index 057139d..b92c65e 100644 Binary files a/bootloader/ST/cherryuf2_stm32f072cbt6_hsi.bin and b/bootloader/ST/cherryuf2_stm32f072cbt6_hsi.bin differ diff --git a/bootloader/ST/cherryuf2_stm32f103cbt6.bin b/bootloader/ST/cherryuf2_stm32f103cbt6.bin index 760cb59..1042a7f 100644 Binary files a/bootloader/ST/cherryuf2_stm32f103cbt6.bin and b/bootloader/ST/cherryuf2_stm32f103cbt6.bin differ diff --git a/bootloader/ST/cherryuf2_stm32f401ccu6.bin b/bootloader/ST/cherryuf2_stm32f401ccu6.bin index 806bcb8..815bb23 100644 Binary files a/bootloader/ST/cherryuf2_stm32f401ccu6.bin and b/bootloader/ST/cherryuf2_stm32f401ccu6.bin differ diff --git a/bootloader/ST/cherryuf2_stm32f407zgt6.bin b/bootloader/ST/cherryuf2_stm32f407zgt6.bin index b650824..bebff49 100644 Binary files a/bootloader/ST/cherryuf2_stm32f407zgt6.bin and b/bootloader/ST/cherryuf2_stm32f407zgt6.bin differ diff --git a/bootloader/ST/cherryuf2_stm32f411ceu6.bin b/bootloader/ST/cherryuf2_stm32f411ceu6.bin index 6d18b8c..9bab3a2 100644 Binary files a/bootloader/ST/cherryuf2_stm32f411ceu6.bin and b/bootloader/ST/cherryuf2_stm32f411ceu6.bin differ diff --git a/bootloader/ST/cherryuf2_stm32g431cbu6_hsi.bin b/bootloader/ST/cherryuf2_stm32g431cbu6_hsi.bin index 2415103..9fc0d34 100644 Binary files a/bootloader/ST/cherryuf2_stm32g431cbu6_hsi.bin and b/bootloader/ST/cherryuf2_stm32g431cbu6_hsi.bin differ diff --git a/bootloader/ST/cherryuf2_stm32l433vct6_hsi.bin b/bootloader/ST/cherryuf2_stm32l433vct6_hsi.bin index 1a616ca..2d07e66 100644 Binary files a/bootloader/ST/cherryuf2_stm32l433vct6_hsi.bin and b/bootloader/ST/cherryuf2_stm32l433vct6_hsi.bin differ diff --git a/bootloader/WCH/cherryuf2_ch32v307rct6.bin b/bootloader/WCH/cherryuf2_ch32v307rct6.bin index 31d37d3..29b56b0 100644 Binary files a/bootloader/WCH/cherryuf2_ch32v307rct6.bin and b/bootloader/WCH/cherryuf2_ch32v307rct6.bin differ diff --git a/bootloader/WCH/cherryuf2_ch582m.bin b/bootloader/WCH/cherryuf2_ch582m.bin index 519064c..f8159f0 100644 Binary files a/bootloader/WCH/cherryuf2_ch582m.bin and b/bootloader/WCH/cherryuf2_ch582m.bin differ diff --git a/ports/ST/stm32f4xx/boards/stm32f407zgt6/board.h b/ports/ST/stm32f4xx/boards/stm32f407zgt6/board.h index 46a9f0e..dff7ceb 100644 --- a/ports/ST/stm32f4xx/boards/stm32f407zgt6/board.h +++ b/ports/ST/stm32f4xx/boards/stm32f407zgt6/board.h @@ -40,8 +40,6 @@ //--------------------------------------------------------------------+ #define BOARD_FLASH_SIZE (1024 * 1024) -#define BOARD_FLASH_APP_START 0x08008000 - //--------------------------------------------------------------------+ // USB UF2 //--------------------------------------------------------------------+ diff --git a/ports/WCH/ch32v30x/boards.h b/ports/WCH/ch32v30x/boards.h index d257aa0..82cee3d 100644 --- a/ports/WCH/ch32v30x/boards.h +++ b/ports/WCH/ch32v30x/boards.h @@ -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 diff --git a/ports/WCH/ch58x/boards.h b/ports/WCH/ch58x/boards.h index 7556654..a29df60 100644 --- a/ports/WCH/ch58x/boards.h +++ b/ports/WCH/ch58x/boards.h @@ -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))