* beken new sdk + bk7238

* fix bk7238
This commit is contained in:
NonPIayerCharacter
2025-02-15 00:22:59 +03:00
committed by GitHub
parent 437bd68daa
commit d4d6c69be3
27 changed files with 478 additions and 85 deletions

View File

@ -277,9 +277,7 @@ static int http_rest_post(http_request_t* request) {
return http_rest_post_reboot(request);
}
if (!strcmp(request->url, "api/ota")) {
#if PLATFORM_BK7231T
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA, LFS_BLOCKS_END);
#elif PLATFORM_BK7231N
#if PLATFORM_BEKEN
return http_rest_post_flash(request, START_ADR_OF_BK_PARTITION_OTA, LFS_BLOCKS_END);
#elif PLATFORM_W600
return http_rest_post_flash(request, -1, -1);