BL0942 support with calibration

This commit is contained in:
openshwprojects
2022-04-12 13:48:21 +02:00
parent 0be787713f
commit 9c6d09845d
16 changed files with 528 additions and 144 deletions

View File

@ -190,9 +190,9 @@ static int http_rest_post(http_request_t *request){
}
if (!strcmp(request->url, "api/ota")){
#if PLATFORM_BK7231T
return http_rest_post_flash(request, 0x132000);
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA);
#elif PLATFORM_BK7231N
return http_rest_post_flash(request, 0x12A000);
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA);
#else
// TODO
#endif