開發者ID:meisteg,項目名稱:muc-loader,代碼行數:25,代碼來源:stm32l4xx_flash.c 示例12: stm32f4_flash_write ▲點讚 1▼ staticintstm32f4_flash_write(conststruct hal_flash *dev,uint32_taddress,constvoid*src,uint32_tnum_bytes){constuint8_t*sptr;uint32_ti;intrc; sptr = src;/* * Cle...
This value has to be within the RAM range of the MCU, meaning it should be between 0x20000000 and 0x20050000 (this is written in the human-form, meaning big-endian), considering an STM32L496xx MCU. Let's say you have a stack pointer value of 0x20012345. When you compile your prog...
开发者ID:meisteg,项目名称:muc-loader,代码行数:25,代码来源:stm32l4xx_flash.c 示例12: stm32f4_flash_write ▲点赞 1▼ staticintstm32f4_flash_write(conststruct hal_flash *dev,uint32_taddress,constvoid*src,uint32_tnum_bytes){constuint8_t*sptr;uint32_ti;intrc; sptr = src;/* * Cle...