TR6260 support (#1446)

* TR6260 initial

* fix gh-actions

* various fixes/features

* wifi fast connect fix

* fix gpio, add i2c

* move config to obk
This commit is contained in:
NonPIayerCharacter
2024-12-12 20:55:26 +03:00
committed by GitHub
parent 2c0b3cdb39
commit 532a90313c
26 changed files with 1372 additions and 16 deletions

View File

@ -1421,7 +1421,7 @@ static int ota_verify_download(void)
static int http_rest_post_flash(http_request_t* request, int startaddr, int maxaddr)
{
#if PLATFORM_XR809 || PLATFORM_W800
#if PLATFORM_XR809 || PLATFORM_W800 || PLATFORM_TR6260
return 0; //Operation not supported yet
#endif
@ -2015,7 +2015,7 @@ static int http_rest_get_flash(http_request_t* request, int startaddr, int len)
res = bl_flash_read(startaddr, (uint8_t *)buffer, readlen);
#elif PLATFORM_W600 || PLATFORM_W800
res = 0;
#elif PLATFORM_LN882H || PLATFORM_ESPIDF
#elif PLATFORM_LN882H || PLATFORM_ESPIDF || PLATFORM_TR6260
// TODO:LN882H flash read?
res = 0;
#else