t3zeng commented on code in PR #2851: URL: https://github.com/apache/mynewt-core/pull/2851#discussion_r903720138
########## hw/mcu/ambiq/apollo3/src/hal_flash.c: ########## @@ -168,6 +168,32 @@ apollo3_flash_write(const struct hal_flash *dev, uint32_t address, return rc; } +static int +apollo3_flash_write(const struct hal_flash *dev, uint32_t address, + const void *src, uint32_t num_bytes) +{ + int rc = 0; + uint32_t offset = 0; + uint32_t chunk_len; + uint8_t ram_buf[MYNEWT_VAL(FLASH_INTERMEDIARY_BUF_SIZE)]; Review Comment: Added the definition to the mcu syscfg -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@mynewt.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org