├── .envrc ├── platform ├── drivers │ ├── usb │ │ ├── Makefile │ │ ├── usb_dev │ │ │ └── lib │ │ │ │ └── libusbdev.a │ │ └── usb_host │ │ │ └── Makefile │ ├── bt │ │ ├── best2300p │ │ │ ├── bt_drv_reg_op.cpp │ │ │ ├── iqcorrect.h │ │ │ └── Makefile │ │ └── besbt_string.h │ ├── btpcm │ │ ├── Makefile │ │ └── btpcm.h │ ├── codec │ │ ├── best2300p │ │ │ ├── Makefile │ │ │ └── codec_best2300p.h │ │ └── Makefile │ ├── Makefile │ └── sbcacc │ │ └── Makefile ├── hal │ ├── hal_hwfft.h │ ├── reg_gpio.h │ ├── hal_btdump.h │ ├── hal_sleep_core_pd.h │ ├── hal_sleep_mcu_pd.h │ ├── hal_psramuhs.h │ └── hal_analogif.h ├── Makefile ├── cmsis │ ├── DSP_Lib │ │ ├── CommonTables │ │ │ └── Makefile │ │ ├── MatrixFunctions │ │ │ └── Makefile │ │ ├── SupportFunctions │ │ │ └── Makefile │ │ ├── BasicMathFunctions │ │ │ └── Makefile │ │ ├── ComplexMathFunctions │ │ │ └── Makefile │ │ ├── ControllerFunctions │ │ │ └── Makefile │ │ ├── FastMathFunctions │ │ │ └── Makefile │ │ ├── FilteringFunctions │ │ │ └── Makefile │ │ ├── StatisticsFunctions │ │ │ └── Makefile │ │ └── TransformFunctions │ │ │ └── Makefile │ ├── stack_protector.c │ ├── ca │ │ └── Makefile │ └── inc │ │ ├── ca │ │ └── system_ARMCA.h │ │ ├── system_cp.h │ │ └── main_entry.h └── main │ └── nostd_main.c ├── utils ├── heap │ ├── med_memory.h │ └── Makefile ├── crc16 │ ├── Makefile │ └── crc16.h ├── intersyshci │ ├── lib │ │ └── libintersyshci_enhanced_stack_RTX.a │ └── trans_adapt.h ├── hexdump │ ├── Makefile │ └── hexdump.h ├── list │ └── Makefile ├── libc │ ├── inc │ │ ├── stdbool.h │ │ ├── stddef.h │ │ ├── assert.h │ │ ├── stdio.h │ │ └── stdlib.h │ └── Makefile ├── retention_ram │ ├── Makefile │ └── retention_ram.h ├── lockcqueue │ └── Makefile ├── hwtimer_list │ └── Makefile ├── boot_struct │ ├── Makefile │ └── reboot_param.h ├── xyzmodem │ ├── Makefile │ └── xyzmodem.h ├── sha256 │ └── Makefile ├── cqueue │ └── Makefile ├── crc32 │ ├── Makefile │ ├── crc32_rom.c │ └── crc32.h ├── crash_catcher │ ├── Makefile │ └── include │ │ ├── CrashCatcherApi.h │ │ └── FloatMocks.h ├── encrypt │ └── Makefile ├── rom_utils │ └── Makefile └── kfifo │ ├── Makefile │ └── kfifo.h ├── apps ├── audioplayers │ ├── fmradio.cpp │ ├── fmradio.h │ └── rbplay │ │ └── utils.h ├── usbhost │ ├── Makefile │ ├── app_usbhost.c │ └── app_usbhost.h ├── key │ └── Makefile ├── pwl │ └── Makefile ├── factory │ └── app_factory_cdc_comm.h ├── cmd │ ├── Makefile │ └── app_cmd.h ├── sdmmc │ └── Makefile ├── common │ ├── Makefile │ └── randfrommic.h ├── battery │ └── Makefile ├── voice_detector │ ├── Makefile │ └── vad_sensor.h ├── mic_alg │ └── app_mic_alg.h └── apptester │ └── app_audtest.h ├── config ├── res │ ├── common │ │ ├── SOUND_DUDU.wav │ │ ├── SOUND_MUTE.wav │ │ ├── SOUND_FINDME.wav │ │ ├── SOUND_HUNG_UP.wav │ │ ├── SOUND_REFUSE.wav │ │ ├── SOUND_WARNING.wav │ │ ├── SOUND_GSOUND_NC.wav │ │ ├── SOUND_ALEXA_START.wav │ │ ├── SOUND_ALEXA_STOP.wav │ │ ├── SOUND_GSOUND_MIC_CLOSE.wav │ │ ├── SOUND_GSOUND_MIC_OPEN.wav │ │ └── SOUND_LANGUAGE_SWITCH.wav │ └── spoken │ │ ├── ar │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── bn │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── de │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── en │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── es │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── fr │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── hi │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── ja │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── pt │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ ├── ru │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav │ │ └── zh │ │ ├── SOUND_FIVE.wav │ │ ├── SOUND_FOUR.wav │ │ ├── SOUND_NINE.wav │ │ ├── SOUND_ONE.wav │ │ ├── SOUND_OVER.wav │ │ ├── SOUND_SIX.wav │ │ ├── SOUND_TWO.wav │ │ ├── SOUND_ZERO.wav │ │ ├── SOUND_ANSWER.wav │ │ ├── SOUND_EIGHT.wav │ │ ├── SOUND_SEVEN.wav │ │ ├── SOUND_THREE.wav │ │ ├── SOUND_CONNECTED.wav │ │ ├── SOUND_PAIRING.wav │ │ ├── SOUND_POWER_OFF.wav │ │ ├── SOUND_POWER_ON.wav │ │ ├── SOUND_DISCONNECTED.wav │ │ ├── SOUND_INCOMING_CALL.wav │ │ ├── SOUND_PAIRING_FAILED.wav │ │ ├── SOUND_PLEASE_CHARGE.wav │ │ ├── SOUND_CHARGE_COMPLETE.wav │ │ ├── SOUND_PAIRING_ENABLED.wav │ │ └── SOUND_PAIRING_SUCCESS.wav └── slave_code.S ├── services ├── multimedia │ ├── speech │ │ └── inc │ │ │ ├── cvsd_codec.h │ │ │ ├── med_aec3_comm.h │ │ │ ├── med_aec3_main.h │ │ │ ├── med_aec3_main_internal.h │ │ │ ├── ae_macros.h │ │ │ ├── speech_config.h │ │ │ ├── speech_ff_3mic_ns1.h │ │ │ ├── speech_ff_2mic_ns2.h │ │ │ ├── speech_iir_calibration.h │ │ │ ├── wnr.h │ │ │ └── fftfilt.h │ ├── audio │ │ ├── codec │ │ │ └── fdkaac_codec │ │ │ │ ├── libFDK │ │ │ │ └── include │ │ │ │ │ ├── abs.h │ │ │ │ │ ├── clz.h │ │ │ │ │ ├── dct.h │ │ │ │ │ ├── fft.h │ │ │ │ │ ├── qmf.h │ │ │ │ │ ├── mdct.h │ │ │ │ │ ├── scale.h │ │ │ │ │ ├── FDK_core.h │ │ │ │ │ ├── FDK_crc.h │ │ │ │ │ ├── cplx_mul.h │ │ │ │ │ ├── fft_rad2.h │ │ │ │ │ ├── fixmadd.h │ │ │ │ │ ├── fixmul.h │ │ │ │ │ ├── scramble.h │ │ │ │ │ ├── FDK_hybrid.h │ │ │ │ │ ├── arm │ │ │ │ │ ├── scale.h │ │ │ │ │ ├── clz_arm.h │ │ │ │ │ ├── cplx_mul.h │ │ │ │ │ ├── scramble.h │ │ │ │ │ ├── fixmadd_arm.h │ │ │ │ │ └── fixmul_arm.h │ │ │ │ │ ├── common_fix.h │ │ │ │ │ ├── fixminmax.h │ │ │ │ │ ├── mips │ │ │ │ │ ├── scale.h │ │ │ │ │ ├── abs_mips.h │ │ │ │ │ ├── clz_mips.h │ │ │ │ │ ├── cplx_mul.h │ │ │ │ │ ├── scramble.h │ │ │ │ │ ├── fixmadd_mips.h │ │ │ │ │ └── fixmul_mips.h │ │ │ │ │ ├── FDK_archdef.h │ │ │ │ │ ├── FDK_bitbuffer.h │ │ │ │ │ ├── FDK_bitstream.h │ │ │ │ │ ├── FDK_tools_rom.h │ │ │ │ │ ├── FDK_trigFcts.h │ │ │ │ │ ├── autocorr2nd.h │ │ │ │ │ ├── fixpoint_math.h │ │ │ │ │ ├── ppc │ │ │ │ │ ├── clz_ppc.h │ │ │ │ │ └── fixmul_ppc.h │ │ │ │ │ ├── x86 │ │ │ │ │ ├── abs_x86.h │ │ │ │ │ ├── clz_x86.h │ │ │ │ │ └── fixmul_x86.h │ │ │ │ │ └── aarch64 │ │ │ │ │ ├── clz_aarch64.h │ │ │ │ │ └── fixmul_aarch64.h │ │ │ │ ├── libSYS │ │ │ │ └── include │ │ │ │ │ ├── audio.h │ │ │ │ │ ├── wav_file.h │ │ │ │ │ ├── FDK_audio.h │ │ │ │ │ ├── cmdl_parser.h │ │ │ │ │ ├── conv_string.h │ │ │ │ │ ├── genericStds.h │ │ │ │ │ └── machine_type.h │ │ │ │ ├── libAACenc │ │ │ │ └── include │ │ │ │ │ └── aacenc_lib.h │ │ │ │ ├── libMpegTPDec │ │ │ │ └── include │ │ │ │ │ ├── tp_data.h │ │ │ │ │ ├── tpdec_lib.h │ │ │ │ │ └── mpegFileRead.h │ │ │ │ ├── libMpegTPEnc │ │ │ │ └── include │ │ │ │ │ ├── tp_data.h │ │ │ │ │ ├── tpenc_lib.h │ │ │ │ │ └── mpegFileWrite.h │ │ │ │ ├── libPCMutils │ │ │ │ └── include │ │ │ │ │ ├── limiter.h │ │ │ │ │ └── pcmutils_lib.h │ │ │ │ ├── libSBRdec │ │ │ │ └── include │ │ │ │ │ └── sbrdecoder.h │ │ │ │ ├── libSBRenc │ │ │ │ └── include │ │ │ │ │ └── sbr_encoder.h │ │ │ │ ├── libAACdec │ │ │ │ └── include │ │ │ │ │ └── aacdecoder_lib.h │ │ │ │ └── README │ │ └── process │ │ │ ├── filters │ │ │ ├── cfg │ │ │ │ └── Makefile │ │ │ └── include │ │ │ │ └── filter_debug_trace.h │ │ │ ├── resample │ │ │ └── coef │ │ │ │ ├── Makefile │ │ │ │ └── resample_16k_to_48k_filter.txt │ │ │ ├── limiter │ │ │ └── include │ │ │ │ └── limiter.h │ │ │ └── anc │ │ │ ├── include │ │ │ └── fftfilt2.h │ │ │ └── cfg │ │ │ └── Makefile │ └── lib │ │ └── best2300p_libmultimedia_cp_anc.a ├── bt_profiles_enhanced │ ├── inc │ │ ├── obex_ascii_unicode.h │ │ ├── btm_fast_init.h │ │ ├── pbap.h │ │ ├── btlib_more.h │ │ ├── obex_if.h │ │ ├── bt_schedule.h │ │ ├── co_printf.h │ │ ├── sco.h │ │ └── besaudalloc.h │ └── lib │ │ └── ibrt_libbt_profiles_sbc_enc_2m_RTX.a ├── ble_stack │ ├── ble_ip │ │ └── besble.h │ └── common │ │ └── api │ │ └── co_version.h ├── ibrt_ui │ └── lib │ │ └── libtws_ibrt_enhanced_stack_RTX.a ├── bt_if_enhanced │ ├── lib │ │ └── ibrt_libbt_api_sbc_enc_2m_RTX.a │ └── inc │ │ └── avtp_api.h ├── ibrt_core │ └── lib │ │ └── libtws_ibrt_enhanced_stack_anc_RTX.a ├── nv_section │ ├── Makefile │ ├── aud_section │ │ ├── Makefile │ │ └── aud_section_inc.h │ ├── customparam_section │ │ └── Makefile │ ├── factory_section │ │ └── Makefile │ └── log_section │ │ └── Makefile ├── overlay │ └── Makefile ├── ble_profiles │ └── gfps │ │ ├── gfps_provider │ │ └── api │ │ │ └── gfps_provider_errors.h │ │ └── Makefile ├── osif │ └── Makefile ├── app_ai │ ├── src │ │ └── app_ai_if_gsound.cpp │ └── inc │ │ ├── app_ai_if_gsound.h │ │ └── app_ai_if_config.h ├── resources │ └── Makefile ├── communication │ ├── comminication_knowles │ │ ├── communication_cmd_msg.h │ │ └── Makefile │ ├── Makefile │ └── communication_svr.h ├── cp_accel │ └── Makefile ├── audio_dump │ └── Makefile ├── lhdc_license │ └── Makefile ├── ble_app │ └── app_ble_uart.h ├── tota │ ├── app_tota_custom.h │ ├── app_tota_mic.h │ └── app_tota_conn.h ├── nvrecord │ └── Makefile ├── hw_dsp │ └── Makefile ├── audio_process │ └── audio_spectrum.h └── bt_app │ └── app_btgatt.h ├── thirdparty ├── demo_lib │ ├── demo_lib.c │ ├── demo_lib.h │ └── Makefile ├── audio_codec_lib │ ├── Makefile │ └── ldac │ │ └── Makefile ├── userapi │ ├── demo_app │ │ ├── LibDemo.h │ │ ├── Makefile │ │ └── LibDemo.cpp │ ├── noise_tracker_app │ │ ├── noise_tracker_callback.h │ │ ├── noise_tracker_callback.c │ │ └── Makefile │ └── Makefile ├── noise_tracker_lib │ ├── Makefile │ └── noise_tracker.h └── Makefile ├── rtos ├── Makefile └── rtx │ └── TARGET_CORTEX_M │ └── Makefile ├── scripts ├── submods.mk └── submods_init.mk ├── tests └── anc_usb │ ├── usb_vendor_msg.h │ └── adda_loop_app.h ├── treefmt.toml └── .gitattributes /.envrc: -------------------------------------------------------------------------------- 1 | use flake 2 | -------------------------------------------------------------------------------- /platform/drivers/usb/Makefile: -------------------------------------------------------------------------------- 1 | obj-y := usb_dev/ 2 | -------------------------------------------------------------------------------- /utils/heap/med_memory.h: -------------------------------------------------------------------------------- 1 | #include "heap_api.h" 2 | -------------------------------------------------------------------------------- /platform/hal/hal_hwfft.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/platform/hal/hal_hwfft.h -------------------------------------------------------------------------------- /apps/audioplayers/fmradio.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/apps/audioplayers/fmradio.cpp -------------------------------------------------------------------------------- /config/res/common/SOUND_DUDU.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_DUDU.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_MUTE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_MUTE.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_FINDME.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_FINDME.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_HUNG_UP.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_HUNG_UP.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_REFUSE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_REFUSE.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_WARNING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_WARNING.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_FIVE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_FIVE.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_FOUR.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_FOUR.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_NINE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_NINE.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_ONE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_ONE.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_OVER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_OVER.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_SIX.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_SIX.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_TWO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_TWO.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_ZERO.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_ZERO.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_GSOUND_NC.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_GSOUND_NC.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_ANSWER.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_ANSWER.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_EIGHT.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_EIGHT.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_SEVEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_SEVEN.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_THREE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_THREE.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_ALEXA_START.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_ALEXA_START.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_ALEXA_STOP.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_ALEXA_STOP.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_CONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_CONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_PAIRING.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_PAIRING.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_POWER_OFF.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_POWER_OFF.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_POWER_ON.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_POWER_ON.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_GSOUND_MIC_CLOSE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_GSOUND_MIC_CLOSE.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_GSOUND_MIC_OPEN.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_GSOUND_MIC_OPEN.wav -------------------------------------------------------------------------------- /config/res/common/SOUND_LANGUAGE_SWITCH.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/common/SOUND_LANGUAGE_SWITCH.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_DISCONNECTED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_DISCONNECTED.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_INCOMING_CALL.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_INCOMING_CALL.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_PAIRING_FAILED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_PAIRING_FAILED.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_PLEASE_CHARGE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_PLEASE_CHARGE.wav -------------------------------------------------------------------------------- /services/multimedia/speech/inc/cvsd_codec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/speech/inc/cvsd_codec.h -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/ar/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ar/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/bn/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/bn/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/de/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/de/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/en/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/en/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/es/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/es/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/fr/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/fr/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/hi/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/hi/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/ja/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ja/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/pt/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/pt/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/ru/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/ru/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_CHARGE_COMPLETE.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_CHARGE_COMPLETE.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_PAIRING_ENABLED.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_PAIRING_ENABLED.wav -------------------------------------------------------------------------------- /config/res/spoken/zh/SOUND_PAIRING_SUCCESS.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/config/res/spoken/zh/SOUND_PAIRING_SUCCESS.wav -------------------------------------------------------------------------------- /platform/drivers/bt/best2300p/bt_drv_reg_op.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/platform/drivers/bt/best2300p/bt_drv_reg_op.cpp -------------------------------------------------------------------------------- /services/multimedia/speech/inc/med_aec3_comm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/speech/inc/med_aec3_comm.h -------------------------------------------------------------------------------- /services/multimedia/speech/inc/med_aec3_main.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/speech/inc/med_aec3_main.h -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/obex_ascii_unicode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/bt_profiles_enhanced/inc/obex_ascii_unicode.h -------------------------------------------------------------------------------- /services/multimedia/speech/inc/med_aec3_main_internal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/speech/inc/med_aec3_main_internal.h -------------------------------------------------------------------------------- /utils/crc16/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 4 | obj-y := $(obj-y:.c=.o) 5 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/abs.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/abs.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/clz.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/clz.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/dct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/dct.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fft.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fft.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/qmf.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/qmf.h -------------------------------------------------------------------------------- /platform/drivers/usb/usb_dev/lib/libusbdev.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:2bcad3805879bf0cc6b19e8ecca4a41eef480b579bd17802415427ccce45ac35 3 | size 189600 4 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mdct.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mdct.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/scale.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/scale.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/audio.h -------------------------------------------------------------------------------- /platform/Makefile: -------------------------------------------------------------------------------- 1 | obj-y := cmsis/ drivers/ hal/ 2 | 3 | ifneq ($(DUAL_BOOT),1) 4 | obj-y += main/ 5 | endif 6 | 7 | subdir-ccflags-y += -Iplatform/cmsis/inc -Iplatform/hal -Iutils/hwtimer_list -------------------------------------------------------------------------------- /services/ble_stack/ble_ip/besble.h: -------------------------------------------------------------------------------- 1 | #ifndef _BESBLE_H_ 2 | #define _BESBLE_H_ 3 | 4 | void bes_ble_init(void); 5 | void bes_ble_reset(void); 6 | void bes_ble_schedule(void); 7 | 8 | #endif 9 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_core.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_core.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_crc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_crc.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/cplx_mul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/cplx_mul.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fft_rad2.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fft_rad2.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixmadd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixmadd.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixmul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixmul.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/scramble.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/scramble.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/wav_file.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/wav_file.h -------------------------------------------------------------------------------- /services/ibrt_ui/lib/libtws_ibrt_enhanced_stack_RTX.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:24f631bbc4377f65c7b0af0f6f68838266c26d16a229950d28c5679934689a93 3 | size 394830 4 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_hybrid.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_hybrid.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/scale.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/scale.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/common_fix.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/common_fix.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixminmax.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixminmax.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/scale.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/scale.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/FDK_audio.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/FDK_audio.h -------------------------------------------------------------------------------- /thirdparty/demo_lib/demo_lib.c: -------------------------------------------------------------------------------- 1 | #include "cmsis_os.h" 2 | #include "cmsis.h" 3 | #include 4 | #include "hal_trace.h" 5 | #include "demo_lib.h" 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /services/bt_if_enhanced/lib/ibrt_libbt_api_sbc_enc_2m_RTX.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:5f7feb46c872ff83bc1537c0d93378279f5a4a474b02531fd6b0fdceecaa53d5 3 | size 1539086 4 | -------------------------------------------------------------------------------- /services/ibrt_core/lib/libtws_ibrt_enhanced_stack_anc_RTX.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:bb9f15bea218f482fbd8723a0c6df5c48823b365e01790cacca6d1434b304afa 3 | size 986868 4 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libAACenc/include/aacenc_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libAACenc/include/aacenc_lib.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_archdef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_archdef.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_bitbuffer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_bitbuffer.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_bitstream.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_bitstream.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_tools_rom.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_tools_rom.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_trigFcts.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/FDK_trigFcts.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/clz_arm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/clz_arm.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/cplx_mul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/cplx_mul.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/scramble.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/scramble.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/autocorr2nd.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/autocorr2nd.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixpoint_math.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/fixpoint_math.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/abs_mips.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/abs_mips.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/clz_mips.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/clz_mips.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/cplx_mul.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/cplx_mul.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/scramble.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/scramble.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/ppc/clz_ppc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/ppc/clz_ppc.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/x86/abs_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/x86/abs_x86.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/x86/clz_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/x86/clz_x86.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libMpegTPDec/include/tp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libMpegTPDec/include/tp_data.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libMpegTPEnc/include/tp_data.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libMpegTPEnc/include/tp_data.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libPCMutils/include/limiter.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libPCMutils/include/limiter.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSBRdec/include/sbrdecoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSBRdec/include/sbrdecoder.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/cmdl_parser.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/cmdl_parser.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/conv_string.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/conv_string.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/genericStds.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/genericStds.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSYS/include/machine_type.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSYS/include/machine_type.h -------------------------------------------------------------------------------- /services/multimedia/lib/best2300p_libmultimedia_cp_anc.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:502cf1325440370356947662e402371f27de89c6e3e002ac81f6581c62e96183 3 | size 20416794 4 | -------------------------------------------------------------------------------- /utils/intersyshci/lib/libintersyshci_enhanced_stack_RTX.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:31b0f4bad4e1daa76a4d4dc46ebf5c8656ebacd12f4c350acdcb7f9d6690cf9a 3 | size 102322 4 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/fixmadd_arm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/fixmadd_arm.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/fixmul_arm.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/arm/fixmul_arm.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/ppc/fixmul_ppc.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/ppc/fixmul_ppc.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/x86/fixmul_x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/x86/fixmul_x86.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libMpegTPDec/include/tpdec_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libMpegTPDec/include/tpdec_lib.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libMpegTPEnc/include/tpenc_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libMpegTPEnc/include/tpenc_lib.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libSBRenc/include/sbr_encoder.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libSBRenc/include/sbr_encoder.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libAACdec/include/aacdecoder_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libAACdec/include/aacdecoder_lib.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/fixmadd_mips.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/fixmadd_mips.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/fixmul_mips.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/mips/fixmul_mips.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libMpegTPDec/include/mpegFileRead.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libMpegTPDec/include/mpegFileRead.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libPCMutils/include/pcmutils_lib.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libPCMutils/include/pcmutils_lib.h -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/lib/ibrt_libbt_profiles_sbc_enc_2m_RTX.a: -------------------------------------------------------------------------------- 1 | version https://git-lfs.github.com/spec/v1 2 | oid sha256:515f917cbd5be3772e629919faf558778bec51ef057ea244024d857ee3d1730f 3 | size 3140442 4 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/aarch64/clz_aarch64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/aarch64/clz_aarch64.h -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libMpegTPEnc/include/mpegFileWrite.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libMpegTPEnc/include/mpegFileWrite.h -------------------------------------------------------------------------------- /platform/drivers/btpcm/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.S=.o) 6 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/libFDK/include/aarch64/fixmul_aarch64.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hall/little-buddy/HEAD/services/multimedia/audio/codec/fdkaac_codec/libFDK/include/aarch64/fixmul_aarch64.h -------------------------------------------------------------------------------- /thirdparty/demo_lib/demo_lib.h: -------------------------------------------------------------------------------- 1 | #ifndef __DEMO_LIB_H 2 | #define __DEMO_LIB_H 3 | 4 | 5 | 6 | #ifdef __cplusplus 7 | extern "C"{ 8 | #endif 9 | 10 | 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /utils/hexdump/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 4 | obj-y := $(obj-y:.c=.o) 5 | 6 | #ccflags-y := -I$(obj)/../../hal 7 | ccflags-y := -Ihal 8 | -------------------------------------------------------------------------------- /services/nv_section/Makefile: -------------------------------------------------------------------------------- 1 | obj-y := aud_section/ 2 | obj-y += customparam_section/ 3 | obj-y += log_section/ 4 | obj-y += factory_section/ 5 | 6 | ifeq ($(FPGA),1) 7 | obj-y += fpga_section/ 8 | else 9 | obj-y += userdata_section/ 10 | endif -------------------------------------------------------------------------------- /apps/usbhost/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/ae_macros.h: -------------------------------------------------------------------------------- 1 | #ifndef AE_MACROS_H 2 | #define AE_MACROS_H 3 | 4 | #define CONSTRUCT_FUNC_NAME_A(p, c, m) p ## _ ## c ## _ ## m 5 | #define CONSTRUCT_FUNC_NAME(p, c, m) CONSTRUCT_FUNC_NAME_A(p, c, m) 6 | 7 | #endif -------------------------------------------------------------------------------- /utils/list/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | -------------------------------------------------------------------------------- /services/multimedia/audio/codec/fdkaac_codec/README: -------------------------------------------------------------------------------- 1 | NOTICE: 2 | The Third-Party Modified Version of the Fraunhofer FDK AAC Codec Library for Android is modifyed by BES at 2018.08.22. 3 | The base version about FDK AAC is e45ae429b9ca8f234eb861338a75b2d89cde206a 4 | -------------------------------------------------------------------------------- /services/overlay/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | -------------------------------------------------------------------------------- /thirdparty/audio_codec_lib/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | -------------------------------------------------------------------------------- /utils/libc/inc/stdbool.h: -------------------------------------------------------------------------------- 1 | #ifndef STD_BOOL_H 2 | #define STD_BOOL_H 3 | 4 | #ifdef __cplusplus 5 | #else 6 | typedef unsigned char bool; 7 | #define true 1 8 | #define false 0 9 | #endif 10 | 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/CommonTables/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out CommonTables.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/MatrixFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/SupportFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /thirdparty/userapi/demo_app/LibDemo.h: -------------------------------------------------------------------------------- 1 | #ifndef __LIBDEMO_H__ 2 | #define __LIBDEMO_H__ 3 | 4 | 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /utils/retention_ram/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.S=.o) 6 | 7 | ccflags-y := -Iplatform/hal \ 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/key/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += -Iutils/list -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/BasicMathFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/ComplexMathFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/ControllerFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/FastMathFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/FilteringFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/StatisticsFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /platform/drivers/codec/best2300p/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.S=.o) 6 | 7 | CFLAGS_codec_$(CHIP).o += $(CODEC_INT_CFG_FLAGS) 8 | 9 | -------------------------------------------------------------------------------- /apps/pwl/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ccflags-y += -Iplatform/drivers/ana 9 | -------------------------------------------------------------------------------- /thirdparty/demo_lib/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/speech_config.h: -------------------------------------------------------------------------------- 1 | #ifndef SPEECH_CONFIG_H 2 | #define SPEECH_CONFIG_H 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | 10 | typedef int16_t speech_data_t; 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | 16 | #endif 17 | -------------------------------------------------------------------------------- /thirdparty/userapi/noise_tracker_app/noise_tracker_callback.h: -------------------------------------------------------------------------------- 1 | #ifndef NOISE_TRACKER_CALLBACK_H 2 | #define NOISE_TRACKER_CALLBACK_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | void nt_demo_words_cb(float power); 9 | 10 | #ifdef __cplusplus 11 | } 12 | #endif 13 | 14 | #endif -------------------------------------------------------------------------------- /platform/cmsis/DSP_Lib/TransformFunctions/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(filter-out %Functions.c arm_bitreversal2.c,$(obj-y)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | -------------------------------------------------------------------------------- /utils/libc/inc/stddef.h: -------------------------------------------------------------------------------- 1 | #ifndef STDDEF_H 2 | #define STDDEF_H 3 | 4 | #undef NULL 5 | #ifndef __cplusplus 6 | #define NULL ((void *)0) 7 | #else /* C++ */ 8 | #define NULL 0 9 | #endif /* C++ */ 10 | 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /utils/lockcqueue/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | 11 | -------------------------------------------------------------------------------- /utils/hwtimer_list/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 4 | obj-y := $(obj-y:.c=.o) 5 | 6 | ccflags-y := -Iplatform/hal -Iplatform/cmsis 7 | 8 | ifneq ($(HWTIMER_NUM),) 9 | ccflags-y += -DHWTIMER_NUM=$(HWTIMER_NUM) 10 | endif 11 | 12 | -------------------------------------------------------------------------------- /utils/boot_struct/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.S=.o) 6 | 7 | ccflags-y := -Iplatform/hal 8 | 9 | ifeq ($(SECURE_BOOT),1) 10 | ccflags-y += -DSECURE_BOOT 11 | endif 12 | -------------------------------------------------------------------------------- /thirdparty/noise_tracker_lib/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += \ 9 | -Iservices/audio_dump/include \ 10 | -------------------------------------------------------------------------------- /utils/heap/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -Iplatform/cmsis/inc/ \ 11 | 12 | -------------------------------------------------------------------------------- /utils/xyzmodem/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -I$(obj)/../../platform/hal/ 11 | -------------------------------------------------------------------------------- /platform/drivers/Makefile: -------------------------------------------------------------------------------- 1 | obj-y := ana/ codec/ norflash/ bt/ btpcm/ sbcacc/ 2 | 3 | ifeq ($(CHIP_HAS_USB),1) 4 | obj-y += usb/ 5 | endif 6 | 7 | subdir-ccflags-y += -Iplatform/drivers/ana \ 8 | -Iplatform/drivers/bt 9 | 10 | VCO_TEST_TOOL ?= 1 11 | ifeq ($(VCO_TEST_TOOL),1) 12 | subdir-ccflags-y += -DVCO_TEST_TOOL 13 | endif 14 | -------------------------------------------------------------------------------- /thirdparty/Makefile: -------------------------------------------------------------------------------- 1 | obj-y := userapi/ 2 | 3 | ifeq ($(TILE_DATAPATH_ENABLED), 1) 4 | obj-y += tile 5 | endif 6 | 7 | ifeq ($(THIRDPARTY_LIB),) 8 | THIRDPARTY_LIB := demo 9 | $(info demo) 10 | else ifeq ($(THIRDPARTY_LIB),voicespot) 11 | KBUILD_CPPFLAGS += -D_VOICESPOT_ 12 | endif 13 | 14 | obj-y += $(foreach lib,$(THIRDPARTY_LIB),$(lib)_lib/) 15 | 16 | -------------------------------------------------------------------------------- /thirdparty/audio_codec_lib/ldac/Makefile: -------------------------------------------------------------------------------- 1 | #obj-y := src/ 2 | 3 | APP_LDAC_LIB_NAME := ldac_lib 4 | obj-y += $(APP_LDAC_LIB_NAME).a 5 | subdir-ccflags-y += \ 6 | -Ithirdparty/audio_codec_lib/ldac/inc \ 7 | -Iservices/multimedia/speech/process/common/include \ 8 | -Iservices/bt_app 9 | 10 | subdir-ccflags-y += -Wall -Wno-long-long 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /services/ble_profiles/gfps/gfps_provider/api/gfps_provider_errors.h: -------------------------------------------------------------------------------- 1 | #ifndef _GFPS_PROVIDER_ERRORS_H_ 2 | #define _GFPS_PROVIDER_ERRORS_H_ 3 | 4 | enum{ 5 | GFPS_SUCCESS, 6 | GFPS_ERROR_EXEC_FAIL, 7 | GFPS_ERROR_NULL, 8 | GFPS_ERROR_INVALID_PARAM, 9 | GFPS_ERROR_DATA_SIZE 10 | }; 11 | #define Gfps_CheckParm(code, exp) if (!(exp)) return (code) 12 | 13 | #endif 14 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/btm_fast_init.h: -------------------------------------------------------------------------------- 1 | #ifndef __BTM_FAST_INIT__ 2 | #define __BTM_FAST_INIT__ 3 | #include 4 | #include "btlib_type.h" 5 | 6 | #if defined(__cplusplus) 7 | extern "C" { 8 | #endif 9 | 10 | void btm_fast_init(uint8_t* bt_addr, uint8_t* ble_addr); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif//__BTM_FAST_INIT__ 16 | -------------------------------------------------------------------------------- /services/osif/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 5 | obj-y := $(obj-y:.c=.o) 6 | obj-y := $(obj-y:.cpp=.o) 7 | obj-y := $(obj-y:.S=.o) 8 | 9 | ccflags-y += \ 10 | -Iservices/nvrecord \ 11 | $(BT_IF_INCLUDES) \ 12 | -Iutils/heap \ 13 | 14 | -------------------------------------------------------------------------------- /apps/factory/app_factory_cdc_comm.h: -------------------------------------------------------------------------------- 1 | #ifndef __APP_FACTORY_CDC_COMM__H__ 2 | #define __APP_FACTORY_CDC_COMM__H__ 3 | #ifdef __USB_COMM__ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | void comm_loop(void); 9 | 10 | int send_reply(const unsigned char *payload, unsigned int len); 11 | 12 | #ifdef __cplusplus 13 | } 14 | #endif 15 | #endif 16 | #endif 17 | 18 | -------------------------------------------------------------------------------- /apps/cmd/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += \ 9 | -Iservices/audio_process \ 10 | -Iservices/multimedia/audio/process/filters/include 11 | -------------------------------------------------------------------------------- /services/app_ai/src/app_ai_if_gsound.cpp: -------------------------------------------------------------------------------- 1 | #include "cmsis_os.h" 2 | #include "hal_trace.h" 3 | #include "app_ai_if_gsound.h" 4 | 5 | 6 | #ifdef BISTO_ENABLED 7 | #include "gsound_custom_service.h" 8 | #endif 9 | 10 | void app_ai_if_gsound_service_enable_switch(bool onOff) 11 | { 12 | #ifdef BISTO_ENABLED 13 | gsound_service_enable_switch(onOff); 14 | #endif 15 | } 16 | 17 | -------------------------------------------------------------------------------- /thirdparty/userapi/noise_tracker_app/noise_tracker_callback.c: -------------------------------------------------------------------------------- 1 | #include "noise_tracker_callback.h" 2 | #include "hal_trace.h" 3 | 4 | /** 5 | * @brief Trigger word callback from kws lib 6 | * 7 | * @param word Detected word 8 | * @param score Score of word 9 | * 10 | */ 11 | void nt_demo_words_cb(float power) 12 | { 13 | TRACE(1,"active power %d", (int)(power)); 14 | } -------------------------------------------------------------------------------- /utils/sha256/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 4 | obj-y := $(obj-y:.c=.o) 5 | 6 | ifeq ($(SHA256_ROM),1) 7 | ccflags-y += -Iutils/rom_utils 8 | EXCLUDE_OBJS := sha256.o 9 | else 10 | EXCLUDE_OBJS := sha256_rom.o 11 | endif 12 | 13 | obj-y := $(filter-out $(EXCLUDE_OBJS),$(obj-y)) 14 | 15 | -------------------------------------------------------------------------------- /rtos/Makefile: -------------------------------------------------------------------------------- 1 | ifeq ($(KERNEL),RTX) 2 | rtos_lib-y := rtx/TARGET_CORTEX_M/ 3 | else ifeq ($(KERNEL),RTX5) 4 | rtos_lib-y := rtx5/ 5 | else ifeq ($(KERNEL),FREERTOS) 6 | rtos_lib-y := freertos/ 7 | endif 8 | 9 | ifeq ($(MBED),1) 10 | rtos_lib-y += rtos/ 11 | endif 12 | 13 | obj-y := rtos_lib.o 14 | 15 | subdir-ccflags-y += -Iplatform/cmsis/inc -Iplatform/hal -Iutils/hwtimer_list 16 | 17 | -------------------------------------------------------------------------------- /thirdparty/userapi/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | obj-y += $(foreach lib,$(THIRDPARTY_LIB),$(lib)_app/) 9 | 10 | subdir-ccflags-y += \ 11 | -Iutils/list 12 | 13 | 14 | -------------------------------------------------------------------------------- /platform/drivers/bt/best2300p/iqcorrect.h: -------------------------------------------------------------------------------- 1 | #ifndef __IQ_CORRECT_H__ 2 | #define __IQ_CORRECT_H__ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | 9 | // configure the bt iq calibration on system boot-up 10 | void bt_iq_calibration_setup(void); 11 | 12 | void btdrv_tx_iq_cal(void); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | #endif // __IQ_CORRECT_H__ 19 | 20 | -------------------------------------------------------------------------------- /services/resources/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ccflags-y += \ 9 | -Iutils/crc32 10 | 11 | ifeq ($(VOICE_PROMPT),1) 12 | CFLAGS_resources.o += -DMEDIA_PLAYER_SUPPORT 13 | endif 14 | 15 | -------------------------------------------------------------------------------- /utils/xyzmodem/xyzmodem.h: -------------------------------------------------------------------------------- 1 | #ifndef __XYZ_MODEM__ 2 | #define __XYZ_MODEM__ 3 | 4 | /* 5 | * start xmodem transfer 6 | * param: wait, connect timeout in seconds 7 | * return, 0 is ok 8 | * other value is error; 9 | */ 10 | int xmodem_start_xfer(uint32_t wait); 11 | int xmodem_stop_xfer(void); 12 | int xmodem_send_stream(const uint8_t *data, size_t size, int ascii); 13 | 14 | #endif /*__XYZ_MODEM__*/ 15 | 16 | -------------------------------------------------------------------------------- /services/ble_profiles/gfps/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)gfps_crypto/*.c)) 4 | 5 | #CRYPTO_LIB_NAME := libgfps_crypto 6 | #$(CRYPTO_LIB_NAME)-y := $(obj_c:.c=.o) 7 | 8 | libgfps_crypto-y := $(obj_c:.c=.o) 9 | obj-y := libgfps_crypto.a 10 | subdir-ccflags-y += \ 11 | -Igfps_crypto/ \ 12 | -Iutils/encrypt \ 13 | -Iapi/ 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /services/nv_section/aud_section/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -I$(obj)/../../nv_section/aud_section \ 11 | -I$(obj)/../../nv_section/include \ 12 | -Iutils/crc32 13 | -------------------------------------------------------------------------------- /apps/sdmmc/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += -Iservices/fs/sd \ 9 | -Iservices/fs/fat \ 10 | -Iservices/fs/fat/ChaN 11 | 12 | ifeq ($(APP_TEST_SDMMC),1) 13 | ccflags-y += -D__APP_TEST_SDMMC__ 14 | endif 15 | -------------------------------------------------------------------------------- /platform/drivers/bt/besbt_string.h: -------------------------------------------------------------------------------- 1 | #ifndef BESBT_STRING_H 2 | #define BESBT_STRING_H 3 | 4 | #include "stddef.h" 5 | #include "stdint.h" 6 | #include "plat_types.h" 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | size_t memcpy_s(void *dst,size_t dstMax,const void *src, size_t srcMax); 13 | size_t memset_s(void *,size_t,int,size_t); 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | 20 | #endif /* BES_STRING_H */ 21 | 22 | -------------------------------------------------------------------------------- /services/communication/comminication_knowles/communication_cmd_msg.h: -------------------------------------------------------------------------------- 1 | #ifndef __COMMUNICATION_CMD_MSG_H__ 2 | #define __COMMUNICATION_CMD_MSG_H__ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | enum COMMUNICATION_CMD_TYPE { 9 | COMMUNICATION_CMD_EQ_OP = 0xA1, 10 | COMMUNICATION_CMD_DRC_OP = 0xA2, 11 | COMMUNICATION_CMD_HF_OP = 0xA3, 12 | }; 13 | 14 | 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif 20 | 21 | -------------------------------------------------------------------------------- /thirdparty/noise_tracker_lib/noise_tracker.h: -------------------------------------------------------------------------------- 1 | #ifndef NOISE_TRACKER_H 2 | #define NOISE_TRACKER_H 3 | 4 | #include 5 | 6 | typedef void (*NoiseTrackerCallback)(float); 7 | 8 | #ifdef __cplusplus 9 | extern "C" { 10 | #endif 11 | 12 | void noise_tracker_init(NoiseTrackerCallback cb, int ch_num, int threshold); 13 | 14 | void noise_tracker_process(int16_t *buf, uint32_t len); 15 | 16 | #ifdef __cplusplus 17 | } 18 | #endif 19 | 20 | #endif -------------------------------------------------------------------------------- /scripts/submods.mk: -------------------------------------------------------------------------------- 1 | cur_makefile := $(lastword $(MAKEFILE_LIST)) 2 | 3 | $(cur_makefile): ; 4 | 5 | get_subdirs = $(foreach m, $(1), $(if $(filter $m/% $m,$(2)),$m,)) 6 | 7 | get_submodgoals = $(foreach m, \ 8 | $(patsubst $(1)/%,%,$(filter $(1)/%,$(2))), \ 9 | $(addprefix $(1)/,$(firstword $(subst /,$(space),$m)))) 10 | 11 | get_multi_objs = $(addprefix $(obj)/, $($(subst $(obj)/,,$(1:.o=-objs))) \ 12 | $($(subst $(obj)/,,$(1:.o=-objs)))) 13 | 14 | -------------------------------------------------------------------------------- /services/multimedia/audio/process/filters/cfg/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ifeq ($(AUDIO_RESAMPLE),1) 9 | CFLAGS_eq_cfg.o += -D__AUDIO_RESAMPLE__ 10 | endif 11 | 12 | ccflags-y := \ 13 | -Iservices/multimedia/audio/process/filters/include \ 14 | -------------------------------------------------------------------------------- /utils/cqueue/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -Iplatform/cmsis/inc/ \ 11 | 12 | ifeq ($(ROM_UTILS_ON),1) 13 | ccflags-y += -DCQ_FUNC_ATTR=WEAK 14 | else 15 | ccflags-y += -DCQ_FUNC_ATTR= 16 | endif 17 | 18 | -------------------------------------------------------------------------------- /utils/crc32/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 4 | obj-y := $(obj-y:.c=.o) 5 | 6 | ifeq ($(CRC32_ROM),1) 7 | ccflags-y += -Iutils/rom_utils 8 | EXCLUDE_OBJS := crc32.o 9 | else 10 | EXCLUDE_OBJS := crc32_rom.o 11 | endif 12 | 13 | obj-y := $(filter-out $(EXCLUDE_OBJS),$(obj-y)) 14 | 15 | ifeq ($(MAKE_CRC32_TABLE),1) 16 | ccflags-y += -DMAKE_CRC32_TABLE 17 | endif 18 | 19 | -------------------------------------------------------------------------------- /tests/anc_usb/usb_vendor_msg.h: -------------------------------------------------------------------------------- 1 | #ifndef _USB_VENDOR_MSG_H_ 2 | #define _USB_VENDOR_MSG_H_ 3 | 4 | #include "usb_audio.h" 5 | 6 | #ifdef USB_ANC_MC_EQ_TUNING 7 | #define VENDOR_RX_BUF_SZ 5000 8 | #else 9 | #define VENDOR_RX_BUF_SZ 240 10 | #endif 11 | extern uint8_t vendor_msg_rx_buf[VENDOR_RX_BUF_SZ]; 12 | 13 | int usb_vendor_callback (struct USB_AUDIO_VENDOR_MSG_T *msg); 14 | 15 | void vendor_info_init (void); 16 | 17 | #endif // _USB_VENDOR_MSG_H_ 18 | -------------------------------------------------------------------------------- /services/nv_section/customparam_section/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -I$(obj)/../../nv_section/customparam_section \ 11 | -I$(obj)/../../nv_section/include \ 12 | -I$(obj)/../platform/cmsis/inc \ 13 | -Iutils/crc32 14 | -------------------------------------------------------------------------------- /services/nv_section/factory_section/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -Iplatform/cmsis/inc \ 11 | -Iplatform/hal \ 12 | -Iplatform/drivers/ana \ 13 | -Iutils/heap \ 14 | -Iutils/crc32 \ 15 | -Iservices/norflash_api 16 | 17 | -------------------------------------------------------------------------------- /services/cp_accel/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.s)) 5 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 6 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 7 | 8 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 9 | 10 | ccflags-y += -Iapps/common -Iutils/cqueue 11 | 12 | ifeq ($(CP_ACCEL_DEBUG),1) 13 | ccflags-y += -DCP_ACCEL_DEBUG 14 | endif 15 | 16 | -------------------------------------------------------------------------------- /thirdparty/userapi/demo_app/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | 9 | subdir-ccflags-y += \ 10 | -Ithirdparty/demo_lib \ 11 | -Iapps/audioplayers \ 12 | -Iapps/common \ 13 | -Iservices/bt_app \ 14 | -Iservices/resources \ 15 | -Iutils/cqueue \ 16 | -Ithirdparty/userapi 17 | -------------------------------------------------------------------------------- /services/multimedia/audio/process/resample/coef/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ccflags-y := \ 9 | -Iservices/multimedia/audio/process/resample/include \ 10 | 11 | ifeq ($(RESAMPLE_ANY_SAMPLE_RATE),1) 12 | CFLAGS_resample_coef.o += -DRESAMPLE_ANY_SAMPLE_RATE 13 | endif 14 | 15 | -------------------------------------------------------------------------------- /platform/cmsis/stack_protector.c: -------------------------------------------------------------------------------- 1 | #include 2 | #include 3 | #include 4 | 5 | uint32_t __stack_chk_guard = 0xdeadbeef; 6 | 7 | void 8 | __attribute__((__constructor__)) 9 | __stack_chk_init (void) 10 | { 11 | if (__stack_chk_guard != 0) 12 | return; 13 | } 14 | 15 | void 16 | __attribute__((__noreturn__)) 17 | __stack_chk_fail (void) 18 | { 19 | const char *msg = "*** stack smashing detected ***: terminated\n"; 20 | ASSERT(0, "%s", msg); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /utils/crash_catcher/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.S)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -Iutils/crash_catcher/include \ 11 | -Iutils/libc/inc \ 12 | -Iplatform/cmsis/inc/ \ 13 | -Iservices/nv_section/log_section \ 14 | -Irtos/rtx/TARGET_CORTEX_M/ \ 15 | -Iutils/xyzmodem/ 16 | 17 | -------------------------------------------------------------------------------- /apps/common/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += \ 9 | -Iplatform/drivers/ana \ 10 | -Iservices/ibrt_ui/inc \ 11 | -Iservices/ibrt_core/inc 12 | 13 | ifeq ($(RAND_FROM_MIC),1) 14 | subdir-ccflags-y += \ 15 | -Iservices/bt_app \ 16 | -Iservices/app_ai/inc 17 | endif 18 | -------------------------------------------------------------------------------- /platform/drivers/sbcacc/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ifeq ($(wildcard $(cur_dir)$(CHIP)/),) 9 | obj-y += sbcaac_dummy.o 10 | 11 | $(obj)/sbcaac_dummy.o : 12 | $(call if_changed,cc_dummy) 13 | else 14 | obj-y += $(CHIP)/ 15 | endif 16 | 17 | subdir-ccflags-y += -Iservices/nvrecord 18 | 19 | -------------------------------------------------------------------------------- /services/audio_dump/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.s)) 5 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 6 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 7 | 8 | obj_c += $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)src/*.c)) 9 | 10 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 11 | 12 | ccflags-y := \ 13 | -Iservices/tota \ 14 | -Iservices/audio_dump/include 15 | 16 | -------------------------------------------------------------------------------- /treefmt.toml: -------------------------------------------------------------------------------- 1 | [formatter.nix] 2 | command = "nixpkgs-fmt" 3 | includes = ["*.nix"] 4 | 5 | [formatter.prettier] 6 | command = "prettier" 7 | options = ["--write"] 8 | includes = [ 9 | "*.css", 10 | "*.html", 11 | "*.js", 12 | "*.json", 13 | "*.jsx", 14 | "*.md", 15 | "*.mdx", 16 | "*.scss", 17 | "*.ts", 18 | "*.yaml", 19 | ] 20 | 21 | # TODO: breaks compilation 22 | # [formatter.clang] 23 | # command = "clang-format" 24 | # options = [ "-i" ] 25 | # includes = [ "*.c", "*.cpp", "*.cc", "*.h", "*.hpp", "*.S" ] 26 | -------------------------------------------------------------------------------- /utils/encrypt/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | src_obj := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 7 | 8 | ENCRYPT_LIB_NAME := libcryption 9 | $(ENCRYPT_LIB_NAME)-y := $(src_obj) 10 | obj-y += $(ENCRYPT_LIB_NAME).a 11 | 12 | ccflags-y := \ 13 | -Iservices/bt_profiles/inc/ \ 14 | -Iservices/bt_if/inc/ \ 15 | -Iservices/bt_app/ \ 16 | -Iapps/common/ \ 17 | -Iutils/cqueue 18 | -------------------------------------------------------------------------------- /utils/libc/inc/assert.h: -------------------------------------------------------------------------------- 1 | #ifndef _ASSERT_H_ 2 | #define _ASSERT_H_ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #ifdef assert 9 | #undef assert 10 | #endif 11 | 12 | #define STRINGIFY_VALUE(s) STRINGIFY(s) 13 | #define STRINGIFY(s) #s 14 | 15 | void __assert(const char* fmt); 16 | 17 | #define assert(boolcondition) { if(!(boolcondition)) __assert( \ 18 | "ASSERTION FAILED in file : " \ 19 | __FILE__ \ 20 | " at line" \ 21 | STRINGIFY_VALUE(__LINE__)); } 22 | 23 | #ifdef __cplusplus 24 | } // extern C 25 | #endif 26 | 27 | #endif /* _ASSERT_H_ */ 28 | -------------------------------------------------------------------------------- /services/nv_section/log_section/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -Iutils/crc32 \ 11 | -Iutils/heap \ 12 | -Iplatform/drivers/ana \ 13 | -Iservices/norflash_api 14 | 15 | ifeq ($(TRACE_DUMP2FLASH),1) 16 | ccflags-y += -DTRACE_DUMP2FLASH 17 | endif 18 | 19 | ifeq ($(TRACE_CRLF),1) 20 | ccflags-y += -DTRACE_CRLF 21 | endif 22 | 23 | -------------------------------------------------------------------------------- /scripts/submods_init.mk: -------------------------------------------------------------------------------- 1 | cur_makefile := $(lastword $(MAKEFILE_LIST)) 2 | 3 | $(cur_makefile): ; 4 | 5 | SUBMODGOALS := $(sort $(foreach m, $(MAKECMDGOALS), \ 6 | $(if $(filter-out ./,$(wildcard $(dir $m) $m)),$m,))) 7 | 8 | ifneq ($(SUBMODGOALS),) 9 | MAKECMDGOALS := $(filter-out $(SUBMODGOALS),$(MAKECMDGOALS)) 10 | SUBMODS := $(patsubst $(CURDIR)/%,%,$(SUBMODGOALS)) 11 | SUBMODS := $(patsubst %/,%,$(SUBMODS)) 12 | # Filter out subdirectories if their parent directories already in SUBMODS 13 | SUBMODS := $(filter-out $(addsuffix /%,$(SUBMODS)),$(SUBMODS)) 14 | export SUBMODS 15 | endif 16 | 17 | -------------------------------------------------------------------------------- /platform/drivers/usb/usb_host/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | src_obj := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | src_obj := $(src_obj:.c=.o) 5 | src_obj := $(src_obj:.cpp=.o) 6 | src_obj := $(src_obj:.S=.o) 7 | 8 | libusbhost-y := $(src_obj) 9 | 10 | obj-y := libusbhost.a 11 | 12 | ccflags-y := -Iplatform-Iplatform/drivers/usb/usb_host/inc -Iplatform/drivers/ana 13 | 14 | ifeq ($(USB_WAKEUP_OPEN),1) 15 | CFLAGS_USBHost.o += -DUSB_WAKEUP_OPEN 16 | endif 17 | 18 | ifeq ($(USB_WAKEUP_RESET),1) 19 | CFLAGS_USBHost.o += -DUSB_WAKEUP_RESET 20 | endif 21 | -------------------------------------------------------------------------------- /services/communication/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ifeq ($(USE_KNOWLES),1) 9 | obj-y += comminication_knowles/ 10 | endif 11 | 12 | ccflags-y += \ 13 | -Iapps/common \ 14 | -Iplatform/drivers/usb/usb_dev/inc \ 15 | -Iplatform/drivers/ana \ 16 | $(BT_IF_INCLUDES) \ 17 | -Iservices/communication/comminication_knowles \ 18 | -Ithirdparty/knowles_uart_lib \ 19 | -Iutils/crc32 \ 20 | -Iservices/app_ai/inc 21 | 22 | -------------------------------------------------------------------------------- /services/communication/communication_svr.h: -------------------------------------------------------------------------------- 1 | #ifndef __COMMUNICATION_SVR_H__ 2 | #define __COMMUNICATION_SVR_H__ 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | 9 | typedef void (*communication_receive_func_typedef)(uint8_t *buf, uint8_t len); 10 | 11 | void communication_init(void); 12 | int communication_receive_register_callback(communication_receive_func_typedef p); 13 | int communication_send_buf(uint8_t * buf, uint8_t len); 14 | 15 | 16 | #ifdef KNOWLES_UART_DATA 17 | void uart_audio_init(); 18 | void uart_audio_deinit(); 19 | #endif 20 | 21 | 22 | #ifdef __cplusplus 23 | } 24 | #endif 25 | 26 | #endif 27 | 28 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/speech_ff_3mic_ns1.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPEECH_FF_3MIC_NS1_H__ 2 | #define __SPEECH_FF_3MIC_NS1_H__ 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | struct SpeechFF3MicNs1State_; 10 | typedef struct SpeechFF3MicNs1State_ SpeechFF3MicNs1State; 11 | SpeechFF3MicNs1State *speech_ff_3mic_ns1_create(int sample_rate, int frame_size); 12 | int32_t speech_ff_3mic_ns1_destroy(SpeechFF3MicNs1State *st); 13 | int32_t speech_3mic_ns1_process(SpeechFF3MicNs1State *st, short *pcm_buf, short *ref_buf, int32_t pcm_len, short *out_buf); 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | 18 | #endif -------------------------------------------------------------------------------- /utils/rom_utils/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | rulib-y := 4 | 5 | rulib-y += $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)$(CHIP)/*.c $(cur_dir)$(CHIP)/*.cpp $(cur_dir)$(CHIP)/*.S)) 6 | 7 | rulib-y := $(rulib-y:.c=.o) 8 | rulib-y := $(rulib-y:.cpp=.o) 9 | rulib-y := $(rulib-y:.S=.o) 10 | 11 | -include $(cur_dir)$(CHIP)/Makefile 12 | $(cur_dir)$(CHIP)/Makefile: ; 13 | 14 | ifeq ($(rulib-y),) 15 | rulib-y := rom_utils_dummy.o 16 | endif 17 | 18 | ROM_UTILS_LIB := $(CHIP)_librom_utils 19 | 20 | $(ROM_UTILS_LIB)-y := $(rulib-y) 21 | 22 | obj-y := $(ROM_UTILS_LIB).a 23 | 24 | ccflags-y += \ 25 | 26 | -------------------------------------------------------------------------------- /apps/battery/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += -Iplatform/drivers/ana \ 9 | $(BT_IF_INCLUDES) \ 10 | -Iservices/ble_app/app_main \ 11 | -Iservices/app_ibrt/inc \ 12 | -Iservices/ibrt_ui/inc \ 13 | -Iservices/ibrt_core/inc 14 | 15 | ifeq ($(VOICE_PROMPT),1) 16 | CFLAGS_app_battery.o += -DMEDIA_PLAYER_SUPPORT 17 | endif 18 | 19 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | platform/drivers/usb/usb_dev/lib/libusbdev.a filter=lfs diff=lfs merge=lfs -text 2 | services/bt_if_enhanced/lib/ibrt_libbt_api_sbc_enc_2m_RTX.a filter=lfs diff=lfs merge=lfs -text 3 | services/bt_profiles_enhanced/lib/ibrt_libbt_profiles_sbc_enc_2m_RTX.a filter=lfs diff=lfs merge=lfs -text 4 | services/ibrt_core/lib/libtws_ibrt_enhanced_stack_anc_RTX.a filter=lfs diff=lfs merge=lfs -text 5 | services/ibrt_ui/lib/libtws_ibrt_enhanced_stack_RTX.a filter=lfs diff=lfs merge=lfs -text 6 | services/multimedia/lib/best2300p_libmultimedia_cp_anc.a filter=lfs diff=lfs merge=lfs -text 7 | utils/intersyshci/lib/libintersyshci_enhanced_stack_RTX.a filter=lfs diff=lfs merge=lfs -text 8 | -------------------------------------------------------------------------------- /apps/voice_detector/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | subdir-ccflags-y += \ 9 | -Iservices/bt_app \ 10 | -Iplatform/drivers/ana \ 11 | -Iapps/voice_detector \ 12 | -Iservices/audio_dump/include \ 13 | -Ithirdparty/cyberon_lib/include \ 14 | -Ithirdparty/cyberon_lib/src \ 15 | -Iservices/multimedia/speech/inc 16 | 17 | ifeq ($(VD_TEST),1) 18 | subdir-ccflags-y += -DVD_TEST 19 | endif 20 | 21 | ifeq ($(I2C_VAD),1) 22 | subdir-ccflags-y += -DI2C_VAD 23 | endif 24 | 25 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/speech_ff_2mic_ns2.h: -------------------------------------------------------------------------------- 1 | #ifndef __SPEECH_FF_2MIC_NS2_H__ 2 | #define __SPEECH_FF_2MIC_NS2_H__ 3 | 4 | #include 5 | 6 | #ifdef __cplusplus 7 | extern "C" { 8 | #endif 9 | struct SpeechFF2MicNs2State_; 10 | typedef struct SpeechFF2MicNs2State_ SpeechFF2MicNs2State; 11 | SpeechFF2MicNs2State *speech_ff_2mic_ns2_create(int sample_rate, int frame_size); 12 | int32_t speech_ff_2mic_ns2_destroy(SpeechFF2MicNs2State *st); 13 | void speech_ff_2mic_ns2_process(SpeechFF2MicNs2State *st, short *inF, short *inR); 14 | int32_t speech_2mic_ns6_process(SpeechFF2MicNs2State *st, short *pcm_buf, int32_t pcm_len, short *out_buf); 15 | #ifdef __cplusplus 16 | } 17 | #endif 18 | 19 | #endif -------------------------------------------------------------------------------- /platform/cmsis/ca/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S $(cur_dir)*.cpp)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.S=.o) 6 | obj-y := $(obj-y:.cpp=.o) 7 | 8 | ccflags-y := -I$(obj)/../inc/ca 9 | 10 | CFLAGS_mmu_ARMCA.o += -DFLASH_SIZE=$(FLASH_SIZE) 11 | ifneq ($(PSRAM_SIZE),) 12 | CFLAGS_mmu_ARMCA.o += -DPSRAM_SIZE=$(PSRAM_SIZE) 13 | endif 14 | ifneq ($(PSRAMUHS_SIZE),) 15 | CFLAGS_mmu_ARMCA.o += -DPSRAMUHS_SIZE=$(PSRAMUHS_SIZE) 16 | endif 17 | 18 | ifeq ($(CHIP_HAS_PSRAMUHS),1) 19 | CFLAGS_system_ARMCA.o += -DCHIP_HAS_PSRAMUHS 20 | ifeq ($(PSRAMUHS_ENABLE),1) 21 | CFLAGS_system_ARMCA.o += -DPSRAMUHS_ENABLE 22 | endif 23 | endif 24 | -------------------------------------------------------------------------------- /platform/drivers/bt/best2300p/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | CFLAGS_bt_drv_uart_bridge_intsys.o += $(BT_DRV_UART_BRIDGE_FLAGS) 9 | 10 | CFLAGS_bt_drv.o += $(BT_DRV_FLAGS) 11 | 12 | CFLAGS_bt_drv_patch.o += $(BT_DRV_PATCH_FLAGS) 13 | 14 | CFLAGS_bt_drv_config.o += $(BT_DRV_CONFIG_FLAGS) 15 | 16 | TX_IQ_CAL ?= 0 17 | ifeq ($(TX_IQ_CAL),1) 18 | subdir-ccflags-y += -DTX_IQ_CAL 19 | endif 20 | 21 | subdir-ccflags-y += -Iutils/crash_catcher/include 22 | subdir-ccflags-y += -Iservices/nv_section/userdata_section 23 | ccflags-y += $(BT_IF_INCLUDES) 24 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/speech_iir_calibration.h: -------------------------------------------------------------------------------- 1 | #ifndef SPEECH_IIR_CALIBRATION_H 2 | #define SPEECH_IIR_CALIBRATION_H 3 | 4 | #include "speech_eq.h" 5 | 6 | // i.e. only support 4 channels 7 | #define SPEECH_IIR_CALIB_MAX_NUM (3) 8 | 9 | typedef struct 10 | { 11 | int bypass; 12 | int mic_num; 13 | EqConfig calib[SPEECH_IIR_CALIB_MAX_NUM]; 14 | } SpeechIirCalibConfig; 15 | 16 | typedef struct SpeechIirCalibState_ SpeechIirCalibState; 17 | 18 | SpeechIirCalibState *speech_iir_calib_init(int32_t sample_rate, int32_t frame_size, const SpeechIirCalibConfig *config); 19 | 20 | void speech_iir_calib_destroy(SpeechIirCalibState *st); 21 | 22 | void speech_iir_calib_process(SpeechIirCalibState *st, int16_t *buf, int32_t frame_size); 23 | 24 | #endif -------------------------------------------------------------------------------- /services/multimedia/audio/process/resample/coef/resample_16k_to_48k_filter.txt: -------------------------------------------------------------------------------- 1 | //single phase coef Number:=30, upsample factor:=3, downsample factor:=1 2 | 0, -131, -260, 231, -261, 305, 3 | -340, 350, -318, 223, -24, -354, 4 | 1124,-3214,29795, 7194,-3688, 2546, 5 | -1911, 1468,-1126, 847, -618, 433, 6 | -290, 187, -113, -226, -14, 1, 7 | 2, -55, -289, 93, -31, -43, 8 | 160, -339, 599, -968, 1497,-2293, 9 | 3637,-6571,20509,20509,-6571, 3637, 10 | -2293, 1497, -968, 599, -339, 160, 11 | -43, -31, 93, -289, -55, 2, 12 | 1, -14, -226, -113, 187, -290, 13 | 433, -618, 847,-1126, 1468,-1911, 14 | 2546,-3688, 7194,29795,-3214, 1124, 15 | -354, -24, 223, -318, 350, -340, 16 | 305, -261, 231, -260, -131, 0, 17 | -------------------------------------------------------------------------------- /services/lhdc_license/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)src/*.s)) 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)src/*.c)) 5 | 6 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)src/*.cpp)) 7 | 8 | src_obj := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 9 | 10 | LHDC_LICENSE_LIB_NAME := lib_lhdc_license 11 | $(LHDC_LICENSE_LIB_NAME)-y := $(src_obj) 12 | obj-y += $(LHDC_LICENSE_LIB_NAME).a 13 | 14 | subdir-ccflags-y += -Iplatform/drivers/ana \ 15 | -Iplatform/hal \ 16 | -Iservices/audioflinger \ 17 | -Iutils/lockcqueue \ 18 | -Iservices/bt_app/a2dp_codecs/include\ 19 | -Iservices/bt_if_enhanced/inc 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /platform/main/nostd_main.c: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #include "noapp_main.cpp" 18 | 19 | -------------------------------------------------------------------------------- /services/communication/comminication_knowles/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.s)) 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | 6 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 7 | 8 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 9 | 10 | 11 | subdir-ccflags-y += \ 12 | -Iapps/common \ 13 | -Iplatform/drivers/usb/usb_dev/inc \ 14 | -Iplatform/drivers/ana \ 15 | -Iutils/crc32 \ 16 | -Iservices/bt_app \ 17 | -Iservices/communication/comminication_knowles \ 18 | -Iservices/audio_dump/include \ 19 | -Iutils/cqueue \ 20 | $(BT_IF_INCLUDES) \ 21 | -Ithirdparty/userapi/knowles_uart_app \ 22 | -Ithirdparty/knowles_uart_lib \ 23 | -Iservices/app_ai/inc 24 | 25 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/pbap.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __PBAP_H__ 18 | #define __PBAP_H__ 19 | 20 | #endif /* __PBAP_H__ */ -------------------------------------------------------------------------------- /apps/usbhost/app_usbhost.c: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #include "cmsis_os.h" 17 | #include "hal_trace.h" 18 | #include "app_thread.h" 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /platform/hal/reg_gpio.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __REG_GPIO_H__ 17 | #define __REG_GPIO_H__ 18 | 19 | #include "plat_types.h" 20 | 21 | #endif 22 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/wnr.h: -------------------------------------------------------------------------------- 1 | #ifndef __WNR_H__ 2 | #define __WNR_H__ 3 | 4 | #include "iirfilt.h" 5 | 6 | typedef struct 7 | { 8 | int32_t bypass; 9 | int lpf_cutoff; 10 | int hpf_cutoff; 11 | float power_ratio_thr; // ratio of the power spectrum of the lower frequencies over the total power spectrum for all frequencies 12 | float power_thr; // normalized power of the low frequencies 13 | } WnrConfig; 14 | 15 | struct WnrState_; 16 | 17 | typedef struct WnrState_ WnrState; 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | WnrState* wnr_create(int32_t sample_rate, int32_t frame_size, const WnrConfig *config); 24 | 25 | void wnr_destroy(WnrState *st); 26 | 27 | void wnr_process(WnrState *st, int16_t *buf, int frameSize); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif -------------------------------------------------------------------------------- /thirdparty/userapi/noise_tracker_app/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | 9 | subdir-ccflags-y += \ 10 | -Ithirdparty/noise_tracker_lib \ 11 | -Iapps/audioplayers \ 12 | -Iapps/common \ 13 | -Iapps/key \ 14 | -Iutils/heap \ 15 | -Irtos/rtx/TARGET_CORTEX_M \ 16 | -Iservices/bt_app \ 17 | -Iservices/audio_dump/include \ 18 | -Iplatform/drivers/ana \ 19 | -Iservices/resources \ 20 | -Iutils/cqueue \ 21 | -Ithirdparty/userapi \ 22 | $(BT_IF_INCLUDES) \ 23 | -Iservices/multimedia/speech/inc \ 24 | $(BT_PROFILES_INCLUDES) \ 25 | 26 | ifeq ($(VOICE_DETECTOR_EN),1) 27 | subdir-ccflags-y += -Iapps/voice_detector 28 | endif 29 | -------------------------------------------------------------------------------- /utils/kfifo/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 5 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 6 | 7 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 8 | 9 | ccflags-y := \ 10 | -I$(obj)/../../mbed/api/ \ 11 | -I$(obj)/../../mbed/common \ 12 | -I$(obj)/../../mbed/targets/hal/TARGET_BEST/TARGET_BEST100X/TARGET_MBED_BEST1000/ \ 13 | -I$(obj)/../../cmsis/inc/ \ 14 | -I$(obj)/../../mbed/targets/hal/TARGET_BEST/TARGET_BEST100X/ \ 15 | -I$(obj)/../../mbed/hal/ \ 16 | -I$(obj)/../../fs/fat/ \ 17 | -I$(obj)/../../fs/sd/ \ 18 | -I$(obj)/../../fs/fat/ChaN \ 19 | -I$(obj)/../../rtos/rtos/ \ 20 | -I$(obj)/../../iabt/inc/ 21 | 22 | ccflags-y += -DTARGET_LPC1768 -DWORDS_STACK_SIZE=1024 -DOS_TIMERSTKSZ=1024 -D__CORTEX_M4 23 | -------------------------------------------------------------------------------- /services/multimedia/audio/process/limiter/include/limiter.h: -------------------------------------------------------------------------------- 1 | #ifndef LIMITER_H 2 | #define LIMITER_H 3 | 4 | #include 5 | 6 | typedef struct 7 | { 8 | int32_t knee; 9 | int32_t look_ahead_time; 10 | int32_t threshold; 11 | float makeup_gain; 12 | int32_t ratio; // reserved 13 | int32_t attack_time; 14 | int32_t release_time; 15 | } LimiterConfig; 16 | 17 | struct LimiterState_; 18 | 19 | typedef struct LimiterState_ LimiterState; 20 | 21 | LimiterState *limiter_create(int32_t sample_rate, int32_t frame_size, int32_t sample_bit, int32_t channel_number, const LimiterConfig *config); 22 | 23 | int32_t limiter_destroy(LimiterState *st); 24 | 25 | int32_t limiter_set_config(LimiterState *st, const LimiterConfig *config); 26 | 27 | int32_t limiter_process(LimiterState *st, uint8_t *buf, int32_t len); 28 | 29 | #endif -------------------------------------------------------------------------------- /services/ble_app/app_ble_uart.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_BLE_UART_H__ 17 | #define __APP_BLE_UART_H__ 18 | 19 | uint32_t app_ble_uart_open(); 20 | 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /services/tota/app_tota_custom.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __APP_TOTA_CUSTOM_H__ 18 | #define __APP_TOTA_CUSTOM_H__ 19 | 20 | void app_tota_custom_init(); 21 | 22 | #endif 23 | -------------------------------------------------------------------------------- /services/app_ai/inc/app_ai_if_gsound.h: -------------------------------------------------------------------------------- 1 | #ifndef APP_AI_IF_GSOUND_H_ 2 | #define APP_AI_IF_GSOUND_H_ 3 | 4 | /* 5 | * INCLUDE FILES 6 | **************************************************************************************** 7 | */ 8 | 9 | 10 | #ifdef __cplusplus 11 | extern "C" { 12 | #endif 13 | 14 | /*--------------------------------------------------------------------------- 15 | * app_ai_if_gsound_service_enable_switch 16 | *--------------------------------------------------------------------------- 17 | * 18 | *Synopsis: 19 | * give the interface to AI to control gsound switch 20 | * 21 | * Parameters: 22 | * onOff -- control gsound enable or not 23 | * 24 | * Return: 25 | * void 26 | */ 27 | void app_ai_if_gsound_service_enable_switch(bool onOff); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | 34 | #endif //APP_AI_IF_GSOUND_H_ 35 | 36 | -------------------------------------------------------------------------------- /services/nvrecord/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ccflags-y += \ 9 | -Iutils/hexdump \ 10 | -Iapps/key \ 11 | -Iservices/bt_app \ 12 | $(BT_IF_INCLUDES) \ 13 | -Iutils/crc32 \ 14 | -Iplatform/drivers/ana \ 15 | -Iservices/nv_section/customparam_section \ 16 | -Iservices/ble_stack/common/api \ 17 | -Iservices/ble_stack/ble_ip \ 18 | -Iutils/heap \ 19 | -Iutils/encrypt \ 20 | -Iservices/norflash_api \ 21 | -Iservices/nv_setion/userdata_section 22 | 23 | CFLAGS_nvrecord.o += -DAUDIO_OUTPUT_VOLUME_DEFAULT=$(AUDIO_OUTPUT_VOLUME_DEFAULT) 24 | 25 | ifeq ($(FLASH_SUSPEND),1) 26 | CFLAGS_nvrecord.o += -DFLASH_SUSPEND 27 | endif 28 | 29 | -------------------------------------------------------------------------------- /utils/libc/inc/stdio.h: -------------------------------------------------------------------------------- 1 | #ifndef STDIO_H 2 | #define STDIO_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "stddef.h" 9 | #include "stdint.h" 10 | #include "stdarg.h" 11 | 12 | /* Standard sprintf() function. Work as the libc one. */ 13 | int sprintf(char * buf, const char *fmt, ...); 14 | /* Standard snprintf() function from BSD, more secure... */ 15 | int snprintf(char * buf, size_t size, const char *fmt, ...); 16 | /* Standard sscanf() function. Work as the libc one. */ 17 | int sscanf(const char * buf, const char * fmt, ...); 18 | /* If you need to code your own printf... */ 19 | int vsprintf(char *buf, const char *fmt, va_list ap); 20 | int vsnprintf(char *buf, size_t size, const char *fmt, va_list ap); 21 | int vsscanf(const char *fp, const char *fmt0, va_list ap); 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif /* STDIO_H */ 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /utils/crc16/crc16.h: -------------------------------------------------------------------------------- 1 | /* 2 | * crc16.h - CRC-16 routine 3 | * 4 | * Implements the standard CRC-16: 5 | * Width 16 6 | * Poly 0x8005 (x^16 + x^15 + x^2 + 1) 7 | * Init 0 8 | * 9 | * Copyright (c) 2005 Ben Gardner 10 | * 11 | * This source code is licensed under the GNU General Public License, 12 | * Version 2. See the file COPYING for more details. 13 | */ 14 | 15 | #ifndef __CRC16_H 16 | #define __CRC16_H 17 | 18 | extern unsigned short const crc16_table[256]; 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | unsigned short _crc16(unsigned short crc, const unsigned char *buffer, unsigned int len); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | static inline unsigned short crc16_byte(unsigned short crc, const unsigned char data) 31 | { 32 | return (crc >> 8) ^ crc16_table[(crc ^ data) & 0xff]; 33 | } 34 | 35 | #endif /* __CRC16_H */ 36 | -------------------------------------------------------------------------------- /utils/libc/inc/stdlib.h: -------------------------------------------------------------------------------- 1 | #ifndef STDLIB_H 2 | #define STDLIB_H 3 | 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #include "stddef.h" 9 | #include "stdint.h" 10 | 11 | /* Standard atoi() function. Work as the libc one. */ 12 | int atoi(const char *s); 13 | #define atol(str) ((long) atoi((str))) 14 | 15 | long strtol(const char *nptr, char **endptr, int base); 16 | unsigned long strtoul(const char *nptr, char **endptr, int base); 17 | 18 | /* Standard random functions, work as the libc ones. */ 19 | #define RAND_MAX 32767 20 | 21 | int rand(void); 22 | void srand(unsigned int seed); 23 | 24 | void qsort(void *baseP, size_t nElem, size_t width, int (*compar)(const void *, const void *)); 25 | 26 | void *bsearch(const void *key, const void *base, size_t nmemb, size_t size, 27 | int (*compar)(const void *, const void *)); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /platform/drivers/codec/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.S=.o) 6 | 7 | obj-y += $(CHIP)/ 8 | 9 | subdir-ccflags-y += -Iplatform/drivers/codec 10 | 11 | export CODEC_INT_CFG_FLAGS := 12 | 13 | CODEC_INT_CFG_FLAGS += -Iplatform/drivers/ana 14 | 15 | ifeq ($(AUDIO_CODEC_ASYNC_CLOSE),1) 16 | CODEC_INT_CFG_FLAGS += -D__CODEC_ASYNC_CLOSE__ 17 | endif 18 | 19 | ifeq ($(AUDIO_RESAMPLE),1) 20 | CODEC_INT_CFG_FLAGS += -D__AUDIO_RESAMPLE__ 21 | endif 22 | 23 | ifeq ($(ANC_L_R_MISALIGN_WORKAROUND),1) 24 | CODEC_INT_CFG_FLAGS += -DANC_L_R_MISALIGN_WORKAROUND 25 | endif 26 | 27 | ifeq ($(AUDIO_OUTPUT_DC_CALIB),1) 28 | CODEC_INT_CFG_FLAGS += -DAUDIO_OUTPUT_DC_CALIB 29 | endif 30 | 31 | ifeq ($(CODEC_ANC_BOOST),1) 32 | CODEC_INT_CFG_FLAGS += -DCODEC_ANC_BOOST 33 | endif 34 | 35 | -------------------------------------------------------------------------------- /services/hw_dsp/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.s)) 5 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 6 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 7 | 8 | obj_c += $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)src/*.c)) 9 | obj_cpp += $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)src/*.cpp)) 10 | 11 | ifeq ($(HW_FILTER_CODEC_IIR),1) 12 | ifeq ($(ANC_APP),1) 13 | $(error "error: ANC_APP and HW_FILTER_CODEC_IIR can't be used in the same") 14 | endif 15 | ifeq ($(HW_DAC_IIR_EQ_PROCESS),1) 16 | $(error "error: HW_DAC_IIR_EQ_PROCESS and HW_FILTER_CODEC_IIR can't be used in the same") 17 | endif 18 | endif 19 | 20 | 21 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 22 | 23 | ccflags-y := \ 24 | -Iservices/hw_dsp/inc \ 25 | -Iservices/multimedia/audio/process/filters/include 26 | -------------------------------------------------------------------------------- /services/tota/app_tota_mic.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __APP_TOTA_MIC_H__ 18 | #define __APP_TOTA_MIC_H__ 19 | 20 | 21 | extern "C" bool app_ibrt_ui_tws_switch(void); 22 | 23 | void app_tota_mic_init(); 24 | 25 | 26 | #endif -------------------------------------------------------------------------------- /platform/drivers/btpcm/btpcm.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __BTPCM_H__ 17 | #define __BTPCM_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif//__FMDEC_H__ 28 | -------------------------------------------------------------------------------- /services/multimedia/speech/inc/fftfilt.h: -------------------------------------------------------------------------------- 1 | #ifndef FFTFILT_H 2 | #define FFTFILT_H 3 | 4 | #include 5 | 6 | typedef struct 7 | { 8 | float *filter; 9 | int filter_length; 10 | int nfft; 11 | } FftFiltConfig; 12 | 13 | struct FftFiltState_; 14 | 15 | typedef struct FftFiltState_ FftFiltState; 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | FftFiltState *fftfilt_init(int sample_rate, int frame_size, const FftFiltConfig *config); 22 | 23 | void fftfilt_destroy(FftFiltState *st); 24 | 25 | void fftfilt_process_float(FftFiltState *st, float *buf, int frame_size); 26 | 27 | void fftfilt_process(FftFiltState *st, int16_t *buf, int frame_size); 28 | 29 | void fftfilt_process2_float(FftFiltState *st, float *buf, int frame_size, int stride); 30 | 31 | void fftfilt_process2(FftFiltState *st, int16_t *buf, int frame_size, int stride); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif -------------------------------------------------------------------------------- /apps/usbhost/app_usbhost.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_USBHOST_H__ 17 | #define __APP_USBHOST_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif//__FMDEC_H__ 28 | -------------------------------------------------------------------------------- /utils/crc32/crc32_rom.c: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2020 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #include "crc32.h" 18 | #include "export_fn_rom.h" 19 | 20 | unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int len) 21 | { 22 | return __export_fn_rom.crc32(crc, buf, len); 23 | } 24 | 25 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/btlib_more.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | 18 | #ifndef __BT_LIB_MORE_H__ 19 | #define __BT_LIB_MORE_H__ 20 | 21 | #include "cobuf.h" 22 | #include "co_printf.h" 23 | #include "btlib_type.h" 24 | 25 | #endif /* __BT_LIB_MORE_H__ */ 26 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/obex_if.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef OBEX_IF_H_INCLUDED 17 | #define OBEX_IF_H_INCLUDED 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #ifdef __cplusplus 24 | } 25 | #endif 26 | 27 | #endif // OBEX_IF_H_INCLUDED 28 | -------------------------------------------------------------------------------- /utils/crash_catcher/include/CrashCatcherApi.h: -------------------------------------------------------------------------------- 1 | #ifndef __CRASH_CATCHER_API_H__ 2 | #define __CRASH_CATCHER_API_H__ 3 | 4 | /* This structure is filled in by the Hard Fault exception handler (or unit test) and then passed in as a parameter to 5 | CrashCatcher_Entry(). */ 6 | typedef struct 7 | { 8 | uint32_t msp; 9 | uint32_t psp; 10 | uint32_t exceptionPSR; 11 | uint32_t r4; 12 | uint32_t r5; 13 | uint32_t r6; 14 | uint32_t r7; 15 | uint32_t r8; 16 | uint32_t r9; 17 | uint32_t r10; 18 | uint32_t r11; 19 | uint32_t exceptionLR; 20 | } CrashCatcherExceptionRegisters; 21 | 22 | /* The main entry point into CrashCatcher. Is called from the HardFault exception handler and unit tests. */ 23 | void CrashCatcher_Entry(const CrashCatcherExceptionRegisters* pExceptionRegisters); 24 | 25 | /* The main entry point When software Assert.*/ 26 | void AssertCatcher_Entry(void); 27 | 28 | #endif /* __CRASH_CATCHER_API_H__*/ 29 | -------------------------------------------------------------------------------- /apps/mic_alg/app_mic_alg.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_MIC_ALG_H__ 17 | #define __APP_MIC_ALG_H__ 18 | 19 | #include "app_utils.h" 20 | 21 | int app_mic_alg_audioloop(bool on, enum APP_SYSFREQ_FREQ_T freq); 22 | void vol_state_process(uint32_t db_val); 23 | 24 | #endif 25 | -------------------------------------------------------------------------------- /apps/apptester/app_audtest.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_AUDTEST_H__ 17 | #define __APP_AUDTEST_H__ 18 | 19 | #include "audioflinger.h" 20 | void da_output_sin1k(bool on); 21 | void adc_looptester(bool on, uint8_t mode, enum AUD_SAMPRATE_T sample_rate); 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /utils/crc32/crc32.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __CRC32_H__ 17 | #define __CRC32_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | unsigned long crc32(unsigned long crc, const unsigned char *buf, unsigned int len); 24 | 25 | #ifdef __cplusplus 26 | } 27 | #endif 28 | 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /services/bt_if_enhanced/inc/avtp_api.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __AVTP_API_H_ 18 | #define __AVTP_API_H_ 19 | 20 | /* Message Types */ 21 | #define BTIF_AVTP_MSG_TYPE_COMMAND 0 22 | #define BTIF_AVTP_MSG_TYPE_ACCEPT 2 23 | #define BTIF_AVTP_MSG_TYPE_REJECT 3 24 | 25 | #endif /* __AVTP_H_ */ 26 | -------------------------------------------------------------------------------- /apps/cmd/app_cmd.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_CMD_H__ 17 | #define __APP_CMD_H__ 18 | #ifdef __PC_CMD_UART__ 19 | 20 | #include "hal_cmd.h" 21 | typedef struct { 22 | void *param; 23 | } APP_CMD_HANDLE; 24 | 25 | void app_cmd_open(void); 26 | 27 | void app_cmd_close(void); 28 | #endif 29 | #endif//__FMDEC_H__ 30 | -------------------------------------------------------------------------------- /services/audio_process/audio_spectrum.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef AUDIO_SPECTRUM_H 17 | #define AUDIO_SPECTRUM_H 18 | 19 | void audio_spectrum_open(int sample_rate, enum AUD_BITS_T sample_bits); 20 | 21 | void audio_spectrum_close(void); 22 | 23 | void audio_spectrum_run(const uint8_t *buf, int len); 24 | 25 | #endif 26 | -------------------------------------------------------------------------------- /apps/audioplayers/fmradio.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_AUDIO_H__ 17 | #define __FMRADIO_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | int fm_radio_player(bool on); 24 | 25 | void fm_tune(uint32_t freqkhz); 26 | 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif//__FMRADIO_H__ 33 | -------------------------------------------------------------------------------- /platform/cmsis/inc/ca/system_ARMCA.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __SYSTEM_ARMCA_H__ 17 | #define __SYSTEM_ARMCA_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "system_ARMCM.h" 24 | 25 | void MMU_CreateTranslationTable(void); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/bt_schedule.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __BT_SCHEDULE__ 18 | #define __BT_SCHEDULE__ 19 | 20 | #include "debug_print.h" 21 | 22 | #if defined(__cplusplus) 23 | extern "C" { 24 | #endif 25 | 26 | void bt_schedule(void); 27 | 28 | #if defined(__cplusplus) 29 | } 30 | #endif 31 | 32 | #endif -------------------------------------------------------------------------------- /services/multimedia/audio/process/anc/include/fftfilt2.h: -------------------------------------------------------------------------------- 1 | #ifndef FFTFILT2_H 2 | #define FFTFILT2_H 3 | 4 | #include 5 | 6 | typedef struct 7 | { 8 | float *filter; 9 | int filter_length; 10 | int nfft; 11 | } FftFilt2Config; 12 | 13 | struct FftFilt2State_; 14 | 15 | typedef struct FftFilt2State_ FftFilt2State; 16 | 17 | #ifdef __cplusplus 18 | extern "C" { 19 | #endif 20 | 21 | FftFilt2State *fftfilt2_init(int sample_rate, int frame_size, const FftFilt2Config *config); 22 | 23 | void fftfilt2_destroy(FftFilt2State *st); 24 | 25 | void fftfilt2_process_float(FftFilt2State *st, float *filter,float *buf, int frame_size); 26 | 27 | void fftfilt2_process(FftFilt2State *st, float *filter,int16_t *buf, int frame_size); 28 | 29 | void fftfilt2_process2_float(FftFilt2State *st, float *filter,float *buf, int frame_size, int stride); 30 | 31 | void fftfilt2_process2(FftFilt2State *st, float *filter,int16_t *buf, int frame_size, int stride); 32 | 33 | #ifdef __cplusplus 34 | } 35 | #endif 36 | 37 | #endif -------------------------------------------------------------------------------- /utils/hexdump/hexdump.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __HEXDUMP_H__ 17 | #define __HEXDUMP_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | void dump_buffer(const void *buf, size_t len); 24 | 25 | void dump_buffer_imm(const void *buf, size_t len); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | 33 | -------------------------------------------------------------------------------- /utils/boot_struct/reboot_param.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __REBOOT_PARAM_H__ 17 | #define __REBOOT_PARAM_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "stdint.h" 24 | 25 | struct REBOOT_PARAM_T { 26 | uint32_t reserved[4]; 27 | }; 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /tests/anc_usb/adda_loop_app.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __ADDA_LOOP_APP_H__ 17 | #define __ADDA_LOOP_APP_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "plat_types.h" 24 | 25 | void adda_loop_app(bool on); 26 | 27 | void adda_loop_app_loop(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/co_printf.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __CO_PRINTF_H__ 18 | #define __CO_PRINTF_H__ 19 | 20 | int co_strlen( const char *s ); 21 | int co_printf(const char *format, ...); 22 | char *co_strstr(const char *s1, const char *s2); 23 | int co_sprintf(char *out, const char *format, ...); 24 | 25 | #endif /* __CO_PRINTF_H__ */ 26 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/sco.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | 18 | #ifndef __SCO_H__ 19 | #define __SCO_H__ 20 | 21 | #include "sco_i.h" 22 | 23 | struct sco_item_t { 24 | struct list_node list; 25 | struct bdaddr_t remote_bdaddr; 26 | 27 | sco_notify_callback_t sco_notify_callback; 28 | 29 | void *priv; 30 | }; 31 | 32 | #endif /* __SCO_H__ */ -------------------------------------------------------------------------------- /services/app_ai/inc/app_ai_if_config.h: -------------------------------------------------------------------------------- 1 | #ifndef APP_AI_IF_CONFIG_H_ 2 | #define APP_AI_IF_CONFIG_H_ 3 | 4 | #ifdef __KNOWLES 5 | #define DIG_MIC_WORKAROUND 6 | #define KNOWLES_UART_DATA 7 | #endif 8 | 9 | #ifdef __AMA_VOICE__ 10 | //#define PUSH_AND_HOLD_ENABLED 11 | //#define AI_32KBPS_VOICE 12 | //#define NO_LOCAL_START_TONE 13 | #endif 14 | 15 | #ifdef __DMA_VOICE__ 16 | //#define PUSH_AND_HOLD_ENABLED 17 | //#define AI_32KBPS_VOICE 18 | 19 | #define FLOW_CONTROL_ON_UPLEVEL 20 | #define ASSAM_PKT_ON_UPLEVEL 21 | #define CLOSE_BLE_ADV_WHEN_VOICE_CALL 22 | #define CLOSE_BLE_ADV_WHEN_SPP_CONNECTED 23 | #define BAIDU_RFCOMM_DIRECT_CONN 24 | #define BYPASS_SLOW_ADV_MODE 25 | #endif 26 | 27 | #ifdef __SMART_VOICE__ 28 | #define PUSH_AND_HOLD_ENABLED 29 | //#define AI_32KBPS_VOICE 30 | #endif 31 | 32 | #ifdef __TENCENT_VOICE__ 33 | #define PUSH_AND_HOLD_ENABLED 34 | //#define AI_32KBPS_VOICE 35 | #endif 36 | 37 | #ifdef __GMA_VOICE__ 38 | //#define PUSH_AND_HOLD_ENABLED 39 | //#define AI_32KBPS_VOICE 40 | #endif 41 | 42 | #endif //APP_AI_IF_CONFIG_H_ 43 | 44 | -------------------------------------------------------------------------------- /apps/audioplayers/rbplay/utils.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef RBPLAY_UTILS_H 17 | #define RBPLAY_UTILS_H 18 | 19 | #undef warn 20 | #undef error 21 | 22 | #define info(str, ...) TRACE(str, ##__VA_ARGS__) 23 | #define warn(str, ...) TRACE("\033[31mwarn: \033[0m" str, ##__VA_ARGS__) 24 | #define error(str, ...) TRACE("\033[31merr: \033[0m" str, ##__VA_ARGS__) 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /utils/libc/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | ifeq ($(NOSTD),1) 4 | 5 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.S)) 6 | obj-y := $(obj-y:.c=.o) 7 | obj-y := $(obj-y:.S=.o) 8 | 9 | # Use relative path to specify the include path (so that no change is needed after rename) 10 | ccflags-y := -I$(obj)/inc 11 | 12 | ifeq ($(LIBC_ROM),1) 13 | CFLAGS_libc_rom.o += -Iutils/rom_utils 14 | 15 | EXCLUDE_OBJS := strsep.o strtok.o strncat.o strnicmp.o strstr.o memset.o memcpy.o memmove.o \ 16 | atoi.o strtol.o strtoul.o qsort.o bsearch.o \ 17 | vsprintf.o vsscanf.o 18 | else 19 | EXCLUDE_OBJS := libc_rom.o 20 | endif 21 | 22 | obj-y := $(filter-out $(EXCLUDE_OBJS),$(obj-y)) 23 | 24 | else # !NOSTD 25 | 26 | obj-y := libc_rom.o 27 | 28 | CFLAGS_libc_rom.o += -Iutils/rom_utils 29 | # Avoid conflicting with libc in toolchain 30 | CFLAGS_libc_rom.o += -DNO_STRTOL 31 | CFLAGS_libc_rom.o += -DNO_STRTOUL 32 | CFLAGS_libc_rom.o += -DNO_VSSCANF 33 | CFLAGS_libc_rom.o += -DNO_ASSERT 34 | 35 | endif # !NOSTD 36 | 37 | -------------------------------------------------------------------------------- /config/slave_code.S: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #define TO_STRING_A(s) # s 17 | #define TO_STRING(s) TO_STRING_A(s) 18 | 19 | .globl __slave_code_start 20 | .globl __slave_code_end 21 | .section .slave_code_flash_rodata, "a", %progbits 22 | .balign 4 23 | 24 | __slave_code_start: 25 | .incbin TO_STRING(SLAVE_BIN_NAME) 26 | __slave_code_end: 27 | 28 | -------------------------------------------------------------------------------- /platform/hal/hal_btdump.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __HAL_BTDUMP_H__ 17 | #define __HAL_BTDUMP_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | void hal_btdump_clk_enable(void); 24 | void hal_btdump_clk_disable(void); 25 | 26 | void hal_btdump_enable(void); 27 | void hal_btdump_disable(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif -------------------------------------------------------------------------------- /platform/hal/hal_sleep_core_pd.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __HAL_SLEEP_MCU_PD_H__ 17 | #define __HAL_SLEEP_MCU_PD_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "plat_types.h" 24 | 25 | void hal_sleep_core_power_down(void); 26 | 27 | void hal_sleep_core_power_up(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /platform/hal/hal_sleep_mcu_pd.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __HAL_SLEEP_MCU_PD_H__ 17 | #define __HAL_SLEEP_MCU_PD_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "plat_types.h" 24 | 25 | void hal_sleep_mcu_power_down(void); 26 | 27 | void hal_sleep_mcu_power_up(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /apps/voice_detector/vad_sensor.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __VAD_SENSOR_H__ 17 | #define __VAD_SENSOR_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | int vad_sensor_open(void); 24 | int vad_sensor_engine_start(void); 25 | int vad_sensor_engine_stop(void); 26 | int vad_sensor_close(void); 27 | 28 | #ifdef __cplusplus 29 | } 30 | #endif 31 | 32 | #endif 33 | -------------------------------------------------------------------------------- /platform/hal/hal_psramuhs.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __HAL_PSRAMUHS_H__ 17 | #define __HAL_PSRAMUHS_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "plat_types.h" 24 | 25 | void hal_psramuhs_sleep(void); 26 | void hal_psramuhs_wakeup(void); 27 | void hal_psramuhs_init(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /services/ble_stack/common/api/co_version.h: -------------------------------------------------------------------------------- 1 | #ifndef _CO_VERSION_H_ 2 | #define _CO_VERSION_H_ 3 | /** 4 | **************************************************************************************** 5 | * @defgroup CO_VERSION Version Defines 6 | * @ingroup COMMON 7 | * 8 | * @brief Bluetooth Controller Version definitions. 9 | * 10 | * @{ 11 | **************************************************************************************** 12 | */ 13 | /* 14 | * INCLUDE FILES 15 | **************************************************************************************** 16 | */ 17 | #include "rwip_config.h" // SW configuration options 18 | 19 | /// RWBT SW Major Version 20 | #define RWBT_SW_VERSION_MAJOR (RW_BT50_VERSION) 21 | /// RWBT SW Minor Version 22 | #define RWBT_SW_VERSION_MINOR 0 23 | /// RWBT SW Build Version 24 | #define RWBT_SW_VERSION_BUILD 3 25 | 26 | /// RWBT SW Major Version 27 | #define RWBT_SW_VERSION_SUB_BUILD 0 28 | 29 | 30 | /// @} CO_VERSION 31 | 32 | 33 | #endif // _CO_VERSION_H_ 34 | -------------------------------------------------------------------------------- /platform/cmsis/inc/system_cp.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __SYSTEM_CP_H__ 17 | #define __SYSTEM_CP_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "stdint.h" 24 | 25 | void system_cp_reset_handler(void); 26 | 27 | void system_cp_init(int load_code); 28 | 29 | void system_cp_term(void); 30 | 31 | #ifdef __cplusplus 32 | } 33 | #endif 34 | 35 | #endif 36 | -------------------------------------------------------------------------------- /services/bt_app/app_btgatt.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __APP_BTGATT_H__ 17 | #define __APP_BTGATT_H__ 18 | 19 | #define ATT_SERVICE_UUID 0x0118 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | void app_btgatt_init(void); 24 | void app_btgatt_addsdp(uint16_t pServiceUUID, uint16_t startHandle, uint16_t endHandle); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | 32 | -------------------------------------------------------------------------------- /services/multimedia/audio/process/filters/include/filter_debug_trace.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __FILTER_DEBUG_TRACE__ 17 | #define __FILTER_DEBUG_TRACE__ 18 | #include "hal_trace.h" 19 | 20 | #define FILTER_DEBUG_TRACE(n, s, ...) TRACE(n, s, ##__VA_ARGS__) 21 | 22 | #ifdef __cplusplus 23 | extern "C" { 24 | #endif 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | 30 | #endif 31 | -------------------------------------------------------------------------------- /platform/cmsis/inc/main_entry.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __MAIN_ENTRY_H__ 17 | #define __MAIN_ENTRY_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #ifdef NOSTD 24 | #define MAIN_ENTRY(...) _start(__VA_ARGS__) 25 | #else 26 | #define MAIN_ENTRY(...) main(__VA_ARGS__) 27 | #endif 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | -------------------------------------------------------------------------------- /utils/intersyshci/trans_adapt.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __TRANS_ADAPT_H__ 18 | #define __TRANS_ADAPT_H__ 19 | 20 | #if defined(__cplusplus) 21 | extern "C" { 22 | #endif 23 | 24 | #if defined(ENHANCED_STACK) 25 | #include "trans_adapt_v2.h" 26 | #else 27 | #include "trans_adapt_v1.h" 28 | #endif 29 | 30 | #if defined(__cplusplus) 31 | } 32 | #endif 33 | 34 | #endif /* __TRANS_ADAPT_H__ */ 35 | -------------------------------------------------------------------------------- /services/nv_section/aud_section/aud_section_inc.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __aud_section_inc_h__ 17 | #define __aud_section_inc_h__ 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | #include "aud_section.h" 23 | 24 | int anccfg_loadfrom_audsec(const struct_anc_cfg *list[], const struct_anc_cfg *list_44p1k[], uint32_t count); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | #endif 30 | 31 | -------------------------------------------------------------------------------- /platform/drivers/codec/best2300p/codec_best2300p.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __CODEC_BEST2300P_H__ 17 | #define __CODEC_BEST2300P_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | typedef void (*CODEC_ANC_BOOST_DELAY_FUNC)(uint32_t ms); 24 | 25 | void codec_set_anc_boost_delay_func(CODEC_ANC_BOOST_DELAY_FUNC delay_func); 26 | 27 | #ifdef __cplusplus 28 | } 29 | #endif 30 | 31 | #endif 32 | -------------------------------------------------------------------------------- /services/tota/app_tota_conn.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __APP_TOTA_CONN_H__ 18 | #define __APP_TOTA_CONN_H__ 19 | 20 | 21 | /* enable or disable TOTA_ENCODE */ 22 | #define TOTA_ENCODE 1 23 | 24 | 25 | /* unit: byte */ 26 | #define HASH_KEY_SIZE 32 27 | #define ENCRYPT_KEY_SIZE 16 28 | #define RANDOM_KEY_SIZE 16 29 | #define MAX_RANDOM_KEY_SIZE 128 30 | 31 | #endif -------------------------------------------------------------------------------- /utils/retention_ram/retention_ram.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __RETENTION_RAM_H__ 17 | #define __RETENTION_RAM_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | #include "stdint.h" 24 | 25 | 26 | void fillBleBdAddrForOta(uint8_t* bdAddr); 27 | void otaConfigureBleBdAddr(void); 28 | 29 | 30 | #ifdef __cplusplus 31 | } 32 | #endif 33 | 34 | #endif // #define __RETENTION_RAM_H__ 35 | 36 | -------------------------------------------------------------------------------- /apps/common/randfrommic.h: -------------------------------------------------------------------------------- 1 | #ifdef __RAND_FROM_MIC__ 2 | #ifndef __RANDFROMMIC_H__ 3 | #define __RANDFROMMIC_H__ 4 | #ifdef __cplusplus 5 | extern "C" { 6 | #endif 7 | 8 | #define RANDOM_CAPTURE_BUFFER_SIZE 512 9 | 10 | // random module state machine 11 | typedef enum { 12 | RAND_STATUS_CLOSE = 0x00, // initial state 13 | RAND_STATUS_OPEN = 0x01, // indicate MIC has been started by random module 14 | RAND_STATUS_MIC_STARTED = 0x02, // indicate MIC has been started 15 | RAND_STATUS_MIC_OPENED = 0x03, // indicate MIC has been opened but not start 16 | RAND_STATUS_NUM = 0x0F 17 | }RAND_STATUS_E; 18 | 19 | typedef struct{ 20 | uint8_t skipRound; // used to indicate the number of rounds should be skipped to avoid all zero value 21 | RAND_STATUS_E status; 22 | }__attribute__ ((__packed__))RAND_NUMBER_T; 23 | 24 | void initSeed(void); 25 | void random_status_sync(void); 26 | void random_data_process(uint8_t *buf, uint32_t len,enum AUD_BITS_T bits, enum AUD_CHANNEL_NUM_T ch_num); 27 | void randInit(void); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | #endif 33 | #endif 34 | -------------------------------------------------------------------------------- /services/multimedia/audio/process/anc/cfg/Makefile: -------------------------------------------------------------------------------- 1 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 2 | 3 | obj-y := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c $(cur_dir)*.cpp $(cur_dir)*.S)) 4 | obj-y := $(obj-y:.c=.o) 5 | obj-y := $(obj-y:.cpp=.o) 6 | obj-y := $(obj-y:.S=.o) 7 | 8 | ccflags-y := \ 9 | -Iservices/multimedia/audio/process/anc/include \ 10 | -Iservices/multimedia/audio/process/filters/include \ 11 | -Iservices/nv_section/aud_section \ 12 | -Iservices/nv_section/include \ 13 | -Iutils/crc32 \ 14 | -Iservices/multimedia/speech/src/process/ns_and_ec/inc \ 15 | -Iservices/multimedia/speech/inc \ 16 | -Iservices/multimedia/speech/src/process/common/inc \ 17 | -Iservices/multimedia/speech/src/process/inc 18 | 19 | ccflags-y += -DUSE_CMSIS_F32_FFT 20 | 21 | ifeq ($(HW_DAC_IIR_EQ_PROCESS),1) 22 | CFLAGS_anc_cfg.o += -D__HW_DAC_IIR_EQ_PROCESS__ 23 | endif 24 | ifeq ($(HW_IIR_EQ_PROCESS),1) 25 | CFLAGS_anc_cfg.o += -D__HW_IIR_EQ_PROCESS__ 26 | endif 27 | ifeq ($(AUDIO_RESAMPLE),1) 28 | CFLAGS_anc_cfg.o += -D__AUDIO_RESAMPLE__ 29 | endif 30 | 31 | CFLAGS_fftfilt2.o += -DUSE_MED_MALLOC 32 | -------------------------------------------------------------------------------- /services/bt_profiles_enhanced/inc/besaudalloc.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | 17 | #ifndef __BESAUDALLOC_H__ 18 | #define __BESAUDALLOC_H__ 19 | 20 | typedef struct _BtBesaudContext { 21 | struct list_node channelList; 22 | uint16 besaudcpsm; 23 | } BtBesaudContext; 24 | 25 | extern BtBesaudContext besaudContext; 26 | #define BESAUD(s) (besaudContext.s) 27 | 28 | int8 BesaudAlloc(void); 29 | 30 | #endif /* __BESAUDALLOC_H__ */ -------------------------------------------------------------------------------- /utils/kfifo/kfifo.h: -------------------------------------------------------------------------------- 1 | #ifndef KFIFO_H 2 | #define KFIFO_H 1 3 | 4 | #include "plat_types.h" 5 | 6 | #if defined(__cplusplus) 7 | extern "C" { 8 | #endif 9 | 10 | struct kfifo { 11 | unsigned char *buffer; /* the buffer holding the data */ 12 | unsigned int size; /* the size of the allocated buffer */ 13 | unsigned int in; /* data is added at offset (in % size) */ 14 | unsigned int out; /* data is extracted from off. (out % size) */ 15 | }; 16 | 17 | void kfifo_init(struct kfifo *k, unsigned char *buff, unsigned int len); 18 | unsigned int kfifo_put(struct kfifo *k, unsigned char *buff, unsigned int len); 19 | unsigned int kfifo_get(struct kfifo *k, unsigned char *buff, unsigned int len); 20 | unsigned int kfifo_peek(struct kfifo *k, unsigned int len_want, unsigned char **buff1, unsigned char **buff2, unsigned int *len1, unsigned int *len2); 21 | unsigned int kfifo_peek_to_buf(struct kfifo *fifo, unsigned char *buff, unsigned int len); 22 | unsigned int kfifo_len(struct kfifo *fifo); 23 | 24 | #if defined(__cplusplus) 25 | } 26 | #endif 27 | 28 | #endif /* KFIFO_H */ 29 | -------------------------------------------------------------------------------- /thirdparty/userapi/demo_app/LibDemo.cpp: -------------------------------------------------------------------------------- 1 | #include "cmsis_os.h" 2 | #include "cmsis.h" 3 | #include "cqueue.h" 4 | #include "hal_trace.h" 5 | #include 6 | #include "demo_lib.h" 7 | #include "LibDemo.h" 8 | 9 | 10 | int demo_example_init(bool on,void *param) 11 | { 12 | TRACE(0,"demo_example_init"); 13 | return 0; 14 | } 15 | 16 | int demo_example_start(bool on,void *param) 17 | { 18 | TRACE(0,"demo_example_start"); 19 | return 0; 20 | } 21 | 22 | int demo_example_stop(bool on,void *param) 23 | { 24 | TRACE(0,"demo_example_stop"); 25 | return 0; 26 | } 27 | 28 | 29 | #include "app_thirdparty.h" 30 | 31 | 32 | THIRDPARTY_HANDLER_TAB(DEMO_LIB_NAME) 33 | { 34 | {{THIRDPARTY_FUNC_DEMO,THIRDPARTY_ID_DEMO,THIRDPARTY_START},(APP_THIRDPARTY_HANDLE_CB_T)demo_example_start,true,NULL}, 35 | {{THIRDPARTY_FUNC_DEMO,THIRDPARTY_ID_DEMO,THIRDPARTY_STOP},(APP_THIRDPARTY_HANDLE_CB_T)demo_example_stop,true,NULL}, 36 | {{THIRDPARTY_FUNC_DEMO,THIRDPARTY_ID_DEMO,THIRDPARTY_INIT},(APP_THIRDPARTY_HANDLE_CB_T)demo_example_init,true,NULL}, 37 | }; 38 | 39 | THIRDPARTY_HANDLER_TAB_SIZE(DEMO_LIB_NAME) 40 | 41 | 42 | -------------------------------------------------------------------------------- /utils/crash_catcher/include/FloatMocks.h: -------------------------------------------------------------------------------- 1 | /* Copyright (C) 2015 Adam Green (https://github.com/adamgreen) 2 | 3 | Licensed under the Apache License, Version 2.0 (the "License"); 4 | you may not use this file except in compliance with the License. 5 | You may obtain a copy of the License at 6 | 7 | http://www.apache.org/licenses/LICENSE-2.0 8 | 9 | Unless required by applicable law or agreed to in writing, software 10 | distributed under the License is distributed on an "AS IS" BASIS, 11 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | See the License for the specific language governing permissions and 13 | limitations under the License. 14 | */ 15 | #ifndef _FLOAT_MOCKS_H_ 16 | #define _FLOAT_MOCKS_H_ 17 | 18 | #include 19 | #include 20 | 21 | 22 | void FloatMocks_Init(void); 23 | void FloatMocks_Uninit(void); 24 | 25 | void FloatMocks_SetAllFloatingPointRegisters(const uint32_t* pFloatRegisters); 26 | void FloatMocks_SetUpperFloatingPointRegisters(const uint32_t* pFloatRegisters); 27 | 28 | 29 | #endif /* _FLOAT_MOCKS_H_ */ 30 | -------------------------------------------------------------------------------- /platform/hal/hal_analogif.h: -------------------------------------------------------------------------------- 1 | /*************************************************************************** 2 | * 3 | * Copyright 2015-2019 BES. 4 | * All rights reserved. All unpublished rights reserved. 5 | * 6 | * No part of this work may be used or reproduced in any form or by any 7 | * means, or stored in a database or retrieval system, without prior written 8 | * permission of BES. 9 | * 10 | * Use of this work is governed by a license granted by BES. 11 | * This work contains confidential and proprietary information of 12 | * BES. which is protected by copyright, trade secret, 13 | * trademark and other intellectual property rights. 14 | * 15 | ****************************************************************************/ 16 | #ifndef __HAL_ANALOGIF_H__ 17 | #define __HAL_ANALOGIF_H__ 18 | 19 | #ifdef __cplusplus 20 | extern "C" { 21 | #endif 22 | 23 | int hal_analogif_open(void); 24 | 25 | int hal_analogif_reg_write(unsigned short reg, unsigned short val); 26 | 27 | int hal_analogif_reg_read(unsigned short reg, unsigned short *val); 28 | 29 | #ifdef __cplusplus 30 | } 31 | #endif 32 | 33 | #endif 34 | 35 | -------------------------------------------------------------------------------- /rtos/rtx/TARGET_CORTEX_M/Makefile: -------------------------------------------------------------------------------- 1 | 2 | cur_dir := $(dir $(lastword $(MAKEFILE_LIST))) 3 | 4 | obj_s := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)TARGET_M4/TOOLCHAIN_GCC/*.S)) 5 | obj_c := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.c)) 6 | obj_cpp := $(patsubst $(cur_dir)%,%,$(wildcard $(cur_dir)*.cpp)) 7 | 8 | obj-y := $(obj_c:.c=.o) $(obj_s:.S=.o) $(obj_cpp:.cpp=.o) 9 | 10 | ccflags-y += -DOS_CLOCK_NOMINAL=$(OS_CLOCK_NOMINAL) 11 | 12 | ifneq ($(OS_TASKCNT),) 13 | CFLAGS_RTX_Conf_CM.o += -DOS_TASKCNT=$(OS_TASKCNT) 14 | endif 15 | 16 | ifneq ($(OS_SCHEDULERSTKSIZE),) 17 | CFLAGS_RTX_Conf_CM.o += -DOS_SCHEDULERSTKSIZE=$(OS_SCHEDULERSTKSIZE) 18 | endif 19 | 20 | ifneq ($(OS_IDLESTKSIZE),) 21 | CFLAGS_RTX_Conf_CM.o += -DOS_IDLESTKSIZE=$(OS_IDLESTKSIZE) 22 | endif 23 | 24 | ifneq ($(OS_FIFOSZ),) 25 | CFLAGS_RTX_Conf_CM.o += -DOS_FIFOSZ=$(OS_FIFOSZ) 26 | endif 27 | 28 | ifneq ($(DEBUG_SLEEP),) 29 | CFLAGS_RTX_Conf_CM.o += -DDEBUG_SLEEP=$(DEBUG_SLEEP) 30 | CFLAGS_rt_System.o += -DDEBUG_SLEEP=$(DEBUG_SLEEP) 31 | endif 32 | 33 | ifeq ($(OS_API_IN_INTLOCK),1) 34 | CFLAGS_rt_CMSIS.o += -DOS_API_IN_INTLOCK 35 | endif 36 | 37 | --------------------------------------------------------------------------------