Separating the project from the legacy of bootloader

This commit is contained in:
Tenocha
2024-11-20 11:33:59 +03:00
parent e70ed089b2
commit 212d1cd684
21 changed files with 1589 additions and 1146 deletions

View File

@@ -23,14 +23,13 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "custom_flash.h"
#include "gpio.h"
//#include "bootloader.h"
/* USER CODE END Includes */
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN PTD */
int friman=0;
/* USER CODE END PTD */
/* Private define ------------------------------------------------------------*/
@@ -57,19 +56,7 @@ int friman=0;
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
//uint32_t programBytes2Read;
//uint32_t programBytesCounter;
//uint32_t currentAddress;
//UINT readBytes;
//FRESULT result;
//extern uint8_t ReceiveDataUART[4];
//extern uint8_t Data2Write[PAGE_SIZE*2];
//extern struct flag FLAGS;
//uint8_t *FLASH_Read(uint32_t add)
//{
// return (uint8_t *)add;
//}
/* USER CODE END 0 */
/**