V2.31
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/********************************** (C) COPYRIGHT *******************************
|
||||
* File Name : iap.c
|
||||
* Author : WCH
|
||||
* Version : V1.0.1
|
||||
* Date : 2025/01/23
|
||||
* Description : CH32V203 fast program
|
||||
*********************************************************************************
|
||||
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
|
||||
* Attention: This software (modified or not) and binary are used for
|
||||
* microcontroller manufactured by Nanjing Qinheng Microelectronics.
|
||||
*******************************************************************************/
|
||||
#include "flash.h"
|
||||
#include "string.h"
|
||||
|
||||
u32 Verify_buf[32];
|
||||
|
||||
/*********************************************************************
|
||||
* @fn CH32_IAP_Program
|
||||
*
|
||||
* @brief adr - the date address
|
||||
* buf - the date buffer
|
||||
*
|
||||
* @return none
|
||||
*/
|
||||
void CH32_IAP_Program(u32 adr, u32* buf)
|
||||
{
|
||||
FLASH_ProgramPage_Fast(adr, buf);
|
||||
}
|
||||
Reference in New Issue
Block a user