bl602 testing

This commit is contained in:
openshwprojects
2022-04-15 22:58:11 +02:00
parent 7ffa51c003
commit 429d3f6218
18 changed files with 136 additions and 23 deletions

View File

@ -796,6 +796,8 @@ static int http_rest_error(http_request_t *request, int code, char *msg){
static int http_rest_post_flash(http_request_t *request, int startaddr){
#if PLATFORM_XR809
#elif PLATFORM_BL602
#else
int total = 0;
int towrite;
@ -1005,6 +1007,8 @@ static int http_rest_get_testconfig(http_request_t *request){
static int http_rest_get_flash_vars_test(http_request_t *request){
#if PLATFORM_XR809
return http_rest_error(request, 400, "flash vars unsupported");
#elif PLATFORM_BL602
return http_rest_error(request, 400, "flash vars unsupported");
#else
#ifndef DISABLE_FLASH_VARS_VARS
char *params = request->url + 17;