This commit is contained in:
lmx
2025-10-29 13:10:02 +08:00
commit 49a07fa419
2284 changed files with 642060 additions and 0 deletions

159
.vscode/c_cpp_properties.json vendored Normal file
View File

@ -0,0 +1,159 @@
{
"configurations": [
{
"cStandard": "c99",
"compilerPath": "C:/JL/pi32/bin/clang.exe",
"cppStandard": "c++11",
"defines": [
"SUPPORT_MS_EXTENSIONS",
"CONFIG_RELEASE_ENABLE",
"CONFIG_CPU_BR28",
"CONFIG_USB_SUPPORT_MRX_TX",
"CONFIG_PRINT_IN_MASK",
"CONFIG_NEW_BREDR_ENABLE",
"CONFIG_NEW_MODEM_ENABLE",
"CONFIG_NEW_TWS_FORWARD_ENABLE",
"CONFIG_UCOS_ENABLE",
"CONFIG_EQ_SUPPORT_ASYNC",
"EQ_CORE_V1",
"CONFIG_AAC_CODEC_FFT_USE_MUTEX",
"CONFIG_DNS_ENABLE",
"CONFIG_DMS_MALLOC",
"CONFIG_MMU_ENABLE",
"CONFIG_SBC_CODEC_HW",
"CONFIG_MSBC_CODEC_HW",
"CONFIG_AEC_M=128",
"CONFIG_SUPPORT_WIFI_DETECT",
"CONFIG_AUDIO_ONCHIP",
"CONFIG_MEDIA_NEW_ENABLE",
"CONFIG_SUPPORT_EX_TWS_ADJUST",
"__GCC_PI32V2__",
"CONFIG_MAC_ADDR_GET_USED_SFC",
"TCFG_APP_BT_EN=1",
"EVENT_HANDLER_NUM_CONFIG=2",
"EVENT_TOUCH_ENABLE_CONFIG=0",
"EVENT_POOL_SIZE_CONFIG=256",
"CONFIG_EVENT_KEY_MAP_ENABLE=0",
"TIMER_POOL_NUM_CONFIG=15",
"APP_ASYNC_POOL_NUM_CONFIG=0",
"USE_SDFILE_NEW=1",
"SDFILE_STORAGE=0",
"VFS_FILE_POOL_NUM_CONFIG=1",
"FS_VERSION=0x020001",
"FATFS_VERSION=0x020101",
"SDFILE_VERSION=0x020000",
"VFS_ENABLE=1",
"VM_MAX_PAGE_ALIGN_SIZE_CONFIG=16*1024",
"VM_MAX_SECTOR_ALIGN_SIZE_CONFIG=16*1024",
"VM_ITEM_MAX_NUM=256",
"CONFIG_TWS_ENABLE",
"CONFIG_EARPHONE_CASE_ENABLE",
"CONFIG_OS_AFFINITY_ENABLE",
"CONFIG_NEW_CFG_TOOL_ENABLE",
"CONFIG_LITE_AEC_ENABLE=0",
"AUDIO_REC_LITE",
"AUDIO_DEC_LITE",
"AUDIO_REC_POOL_NUM=1",
"AUDIO_DEC_POOL_NUM=3",
"CONFIG_BTCTRLER_TASK_DEL_ENABLE",
"CONFIG_LINK_DISTURB_SCAN_ENABLE=0",
"CONFIG_UPDATA_ENABLE",
"CONFIG_OTA_UPDATA_ENABLE",
"CONFIG_ITEM_FORMAT_VM",
"__PI32V2__"
],
"includePath": [
"${workspaceFolder}/include_lib",
"${workspaceFolder}/include_lib/driver",
"${workspaceFolder}/include_lib/driver/device",
"${workspaceFolder}/include_lib/driver/cpu/br28",
"${workspaceFolder}/include_lib/system",
"${workspaceFolder}/include_lib/system/generic",
"${workspaceFolder}/include_lib/system/device",
"${workspaceFolder}/include_lib/system/fs",
"${workspaceFolder}/include_lib/system/ui",
"${workspaceFolder}/include_lib/btctrler",
"${workspaceFolder}/include_lib/btctrler/port/br28",
"${workspaceFolder}/include_lib/update",
"${workspaceFolder}/include_lib/agreement",
"${workspaceFolder}/include_lib/btstack/third_party/common",
"${workspaceFolder}/include_lib/btstack/third_party/rcsp",
"${workspaceFolder}/include_lib/media/media_new",
"${workspaceFolder}/include_lib/media/media_new/media",
"${workspaceFolder}/include_lib/media/media_new/media/cpu/br28",
"${workspaceFolder}/include_lib/media/media_new/media/cpu/br28/asm",
"${workspaceFolder}/apps/common",
"${workspaceFolder}/apps/earphone/include",
"${workspaceFolder}/apps/earphone/include/wireless_mic",
"${workspaceFolder}/apps/common/icsd/anc",
"${workspaceFolder}/apps/common/icsd/adt",
"${workspaceFolder}/apps/common/power_manage",
"${workspaceFolder}/apps/common/device",
"${workspaceFolder}/apps/common/device/ntc",
"${workspaceFolder}/apps/common/device/imu_sensor",
"${workspaceFolder}/apps/common/audio",
"${workspaceFolder}/apps/common/music",
"${workspaceFolder}/apps/common/include",
"${workspaceFolder}/apps/common/config/include",
"${workspaceFolder}/apps/common/dev_manager",
"${workspaceFolder}/apps/common/third_party_profile/common",
"${workspaceFolder}/apps/common/third_party_profile/interface",
"${workspaceFolder}/apps/common/third_party_profile/jieli",
"${workspaceFolder}/apps/common/third_party_profile/jieli/trans_data_demo",
"${workspaceFolder}/apps/common/third_party_profile/jieli/online_db",
"${workspaceFolder}/apps/common/third_party_profile/jieli/JL_rcsp",
"${workspaceFolder}/apps/common/third_party_profile/jieli/JL_rcsp/adv_app_setting",
"${workspaceFolder}/apps/common/third_party_profile/jieli/JL_rcsp/bt_trans_data",
"${workspaceFolder}/apps/common/third_party_profile/jieli/JL_rcsp/adv_rcsp_protocol",
"${workspaceFolder}/apps/common/third_party_profile/jieli/JL_rcsp/rcsp_updata",
"${workspaceFolder}/apps/earphone/board/br28",
"${workspaceFolder}/cpu/br28",
"${workspaceFolder}/cpu/br28/audio_dec",
"${workspaceFolder}/cpu/br28/spatial_effect",
"${workspaceFolder}/apps/common/third_party_profile/Tecent_LL/include",
"${workspaceFolder}/apps/common/third_party_profile/Tecent_LL/tecent_ll_demo",
"${workspaceFolder}/apps/common/cJSON",
"${workspaceFolder}/include_lib/media",
"${workspaceFolder}/include_lib/btstack",
"${workspaceFolder}/include_lib/driver/cpu/br28/asm/power",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/app/demo",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/app/product_test",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/app/uart_common",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/extern_components/mbedtls",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/port",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/sdk/include",
"${workspaceFolder}/apps/common/third_party_profile/tuya_protocol/sdk/lib",
"${workspaceFolder}/apps/earphone/tuya",
"${workspaceFolder}/apps/common/device/usb",
"${workspaceFolder}/apps/common/device/usb/device",
"${workspaceFolder}/apps/common/device/usb/host",
"${workspaceFolder}/apps/earphone/wireless_mic/bt",
"${workspaceFolder}/apps/earphone/wireless_mic/idev",
"${workspaceFolder}/apps/earphone/wireless_mic/idev/idev_bt",
"${workspaceFolder}/apps/earphone/wireless_mic/idev/idev_bt/include",
"${workspaceFolder}/apps/earphone/wireless_mic/idev/idev_mic",
"${workspaceFolder}/apps/earphone/wireless_mic/odev",
"${workspaceFolder}/apps/earphone/wireless_mic/odev/odev_bt",
"${workspaceFolder}/apps/earphone/wireless_mic/odev/odev_bt/odev_edr",
"${workspaceFolder}/apps/earphone/wireless_mic/odev/odev_bt/odev_ble",
"${workspaceFolder}/apps/earphone/wireless_mic/odev/odev_bt/include",
"${workspaceFolder}/apps/earphone/wireless_mic/odev/odev_dac",
"${workspaceFolder}/apps/earphone/wireless_mic/process",
"${workspaceFolder}/apps/earphone/wireless_mic/audio",
"${workspaceFolder}/apps/earphone/wireless_mic/audio/wireless",
"${workspaceFolder}/apps/common/ezxml",
"${workspaceFolder}/cpu/br28/audio_dec/audio_dec_file.h",
"${workspaceFolder}/include_lib/system/math/cpu/br28",
"${workspaceFolder}/include_lib/media/aispeech/asr/include",
"${workspaceFolder}/include_lib/media/aispeech/enc/include",
"${workspaceFolder}/cpu/br28/audio_hearing",
"${workspaceFolder}/include_lib/media/cvp",
"C:/JL/pi32/pi32v2-include"
],
"intelliSenseMode": "clang-x86",
"name": "AC701N"
}
],
"version": 4
}

8
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,8 @@
{
"files.associations": {
"board_config.h": "c",
"board_jl701n_demo_cfg.h": "c",
"colorful_lights.h": "c",
"board_jl701n_anc_cfg.h": "c"
}
}

28
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,28 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "all",
"type": "shell",
"windows": {
"command": ".vscode/winmk.bat all"
},
"command": "make all -j`nproc`",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
,{
"label": "clean",
"type": "shell",
"windows": {
"command": ".vscode/winmk.bat clean"
},
"command": "make clean -j`nproc`",
"problemMatcher": [],
"group": "build"
}
]
}

3
.vscode/winmk.bat vendored Normal file
View File

@ -0,0 +1,3 @@
SET SCRIPT_PATH=%~dp0%
SET PATH=%SCRIPT_PATH%\..\tools\utils;%PATH%
make "%1" -j %NUMBER_OF_PROCESSORS%