removed support for CC25XX SOC

This commit is contained in:
strawmanbobi
2025-10-24 17:13:49 +08:00
parent 56a4ee17ef
commit c49c09879f
4 changed files with 4 additions and 13 deletions

View File

@@ -46,12 +46,12 @@ public class IRDecode {
}
return mInstance;
}
private IRDecode() {
String libPath = "/data/irext/libirdecode_jni.so";
System.out.println("loading decode library " + libPath);
System.load(libPath);
}
public String getVersion() {
return irGetVersion();
}

View File

@@ -29,10 +29,6 @@ extern "C"
#define LOG_TAG "ir_decode"
#endif
#if defined BOARD_CC26XX
#include "OSAL.h"
#endif
#define TRUE 1
#define FALSE 0
@@ -55,13 +51,8 @@ typedef int BOOL;
void noprint(const char *fmt, ...);
#if defined BOARD_CC26XX
#define ir_malloc(A) ICall_malloc(A)
#define ir_free(A) ICall_free(A)
#else
#define ir_malloc(A) malloc(A)
#define ir_free(A) free(A)
#endif
#define ir_memcpy(A, B, C) memcpy(A, B, C)
#define ir_memset(A, B, C) memset(A, B, C)

View File

@@ -78,7 +78,7 @@ typedef struct ir_data
UINT8 index;
} t_ir_data;
#if !defined BOARD_51 && !defined BOARD_STM8
#if !defined BOARD_SOC
#pragma pack(1)
#endif
typedef struct ir_cycles
@@ -88,7 +88,7 @@ typedef struct ir_cycles
UINT16 space;
} t_ir_cycles;
#if !defined BOARD_51 && !defined BOARD_STM8
#if !defined BOARD_SOC
#pragma pack()
#endif

View File

@@ -105,7 +105,7 @@ const char* get_lib_version()
return version;
}
#if (!defined BOARD_51 && !defined BOARD_CC26XX)
#if (!defined BOARD_SOC)
INT8 ir_file_open(const UINT8 category, const UINT8 sub_category, const char* file_name)
{
INT8 ret = 0;