1. the address in tos_hal_sd_*(tos_hal_sd.c) is by byte, but address in HAL_SD_WriteBlocks/HAL_SD_ReadBlocks is by sector 2. convert address in tos_hal_sd_* from byte to sector( / 512) |
||
|---|---|---|
| .. | ||
| hal | ||
| vendor_bsp | ||
1. the address in tos_hal_sd_*(tos_hal_sd.c) is by byte, but address in HAL_SD_WriteBlocks/HAL_SD_ReadBlocks is by sector 2. convert address in tos_hal_sd_* from byte to sector( / 512) |
||
|---|---|---|
| .. | ||
| hal | ||
| vendor_bsp | ||