fix:删除4G模组tools目录

This commit is contained in:
2026-04-30 17:16:01 +08:00
parent 36fb7fd027
commit 0d7a8564e0
36 changed files with 703 additions and 3205 deletions

View File

@@ -24,7 +24,6 @@
#include "memorymap.h"
#include "usart.h"
#include "gpio.h"
#include "fmc.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
@@ -35,15 +34,6 @@
/* Private typedef -----------------------------------------------------------*/
/* USER CODE BEGIN PTD */
extern NAND_HandleTypeDef hnand1;
#define NAND_PAGE_SIZE 2048 // ??????(??)
#define NAND_OOB_SIZE 64 // OOB ??(??)
#define NAND_BLOCK_SIZE 64 // ?? 64 ?(???)
// ????????(????,???? SRAM3 ? DTCM)
__attribute__((aligned(4))) uint8_t nand_write_buffer[NAND_PAGE_SIZE];
__attribute__((aligned(4))) uint8_t nand_read_buffer[NAND_PAGE_SIZE + NAND_OOB_SIZE];
/* USER CODE END PTD */
@@ -75,6 +65,7 @@ void MX_FREERTOS_Init(void);
/* Private user code ---------------------------------------------------------*/
/* USER CODE BEGIN 0 */
/* USER CODE END 0 */
/**
@@ -128,6 +119,13 @@ int main(void)
g_Init();
Os_Init();
/* USER CODE BEGIN 2 */
/* USER CODE END 2 */
/* Call init function for freertos objects (in cmsis_os2.c) */