code stringlengths 1 1.05M | repo_name stringlengths 6 83 | path stringlengths 3 242 | language stringclasses 222
values | license stringclasses 20
values | size int64 1 1.05M |
|---|---|---|---|---|---|
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/ble_app/app_main/app_ble_mode_switch.h | C | apache-2.0 | 6,606 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/bridge/bridge.h | C | apache-2.0 | 1,589 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/communication/comminication_knowles/communication_cmd_handle.h | C | apache-2.0 | 1,906 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/communication/comminication_knowles/communication_cmd_msg.h | C | apache-2.0 | 947 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/communication/comminication_knowles/communication_sysapi.h | C | apache-2.0 | 3,117 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/communication/comminication_knowles/tool_msg.h | C | apache-2.0 | 5,098 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/communication/communication_svr.h | C | apache-2.0 | 1,130 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/cp_accel/cp_accel.h | C | apache-2.0 | 1,224 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/cp_server/cp_server.h | C | apache-2.0 | 3,336 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/hw_dsp/inc/hw_filter_codec_iir.h | C | apache-2.0 | 2,025 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/green/app_interaction.h | C | apache-2.0 | 18,275 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/green/app_interaction_ble_fastpair.h | C | apache-2.0 | 880 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/green/app_interaction_ota.h | C | apache-2.0 | 9,836 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/green/app_interaction_spp.h | C | apache-2.0 | 1,052 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection.h | C | apache-2.0 | 8,051 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_ble.h | C | apache-2.0 | 5,102 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_ccmp.h | C | apache-2.0 | 1,320 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_customer_realize.h | C | apache-2.0 | 4,360 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_logic_protocol.h | C | apache-2.0 | 10,460 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_ota.h | C | apache-2.0 | 6,450 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_spp.h | C | apache-2.0 | 2,170 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/interconnection/red/app_interconnection_tlv.h | C | apache-2.0 | 2,823 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/multimedia/speech/inc/aqe_kws.h | C | apache-2.0 | 1,181 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/multimedia/speech/inc/speech_memory.h | C | apache-2.0 | 1,693 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/norflash_api/norflash_api.h | C | apache-2.0 | 6,190 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/aud_section/aud_section.h | C | apache-2.0 | 5,344 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/aud_section/aud_section_inc.h | C | apache-2.0 | 924 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/customparam_section/customparam_section.h | C | apache-2.0 | 2,323 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/factory_section/factory_section.h | C | apache-2.0 | 5,211 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/fpga_section/nvrecord_ble.h | C | apache-2.0 | 1,735 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/fpga_section/nvrecord_bt.h | C | apache-2.0 | 2,795 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/fpga_section/nvrecord_env.h | C | apache-2.0 | 1,417 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/fpga_section/nvrecord_externsion.h | C | apache-2.0 | 7,975 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/include/section_def.h | C | apache-2.0 | 945 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/log_section/coredump_section.h | C | apache-2.0 | 1,206 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/log_section/crash_dump_section.h | C | apache-2.0 | 4,816 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/log_section/log_section.h | C | apache-2.0 | 2,390 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_ble.h | C | apache-2.0 | 1,735 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_bt.h | C | apache-2.0 | 2,561 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_dma_config.h | C | apache-2.0 | 1,286 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_env.h | C | apache-2.0 | 1,416 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_extension.h | C | apache-2.0 | 10,971 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_fp_account_key.h | C | apache-2.0 | 1,630 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_mesh_data.h | C | apache-2.0 | 2,205 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_ota.h | C | apache-2.0 | 1,679 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nv_section/userdata_section/nvrecord_wifi.h | C | apache-2.0 | 4,516 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/list_ext.h | C | apache-2.0 | 2,270 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrec_config.h | C | apache-2.0 | 5,088 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrecord.h | C | apache-2.0 | 7,385 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrecord_ble.h | C | apache-2.0 | 2,001 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrecord_dev.h | C | apache-2.0 | 1,272 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrecord_env.h | C | apache-2.0 | 2,532 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrecord_fp_account_key.h | C | apache-2.0 | 2,111 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/nvrecord/nvrecord_wifi.h | C | apache-2.0 | 3,223 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/osif/ddbif.h | C | apache-2.0 | 1,211 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/osif/osif.h | C | apache-2.0 | 1,672 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/overlay/app_overlay.h | C | apache-2.0 | 2,443 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/resources/resources.h | C | apache-2.0 | 2,207 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/sys_time/sys_time.h | C | apache-2.0 | 1,228 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/transq_msg/transq_msg.h | C | apache-2.0 | 3,145 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa.h | C | apache-2.0 | 3,966 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa_audio_process.h | C | apache-2.0 | 1,518 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa_deamon.h | C | apache-2.0 | 1,824 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa_dump.h | C | apache-2.0 | 1,549 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa_resample_hook.h | C | apache-2.0 | 984 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa_resample_process.h | C | apache-2.0 | 1,128 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/alsa_wav_player.h | C | apache-2.0 | 1,399 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/alsa_adapter/btpcm_config.h | C | apache-2.0 | 2,073 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_dec.h | C | apache-2.0 | 1,903 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_dec_aac_adts.h | C | apache-2.0 | 1,187 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_dec_aac_m4a.h | C | apache-2.0 | 1,201 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_dec_mp3.h | C | apache-2.0 | 1,177 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_dec_opus.h | C | apache-2.0 | 1,325 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_enc_opus.h | C | apache-2.0 | 1,266 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/audio_player.h | C | apache-2.0 | 2,887 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/audio_dec/fs_adapt.h | C | apache-2.0 | 1,189 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/beswifi.h | C | apache-2.0 | 890 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/services/wifi_app/sniffer/bes_sniffer.h | C | apache-2.0 | 2,703 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/boot_struct/boot_struct.c | C | apache-2.0 | 6,154 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/boot_struct/norflash_cfg.h | C | apache-2.0 | 1,925 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/boot_struct/reboot_param.h | C | apache-2.0 | 858 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/boot_struct/tool_msg.h | C | apache-2.0 | 7,265 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/build_info/build_info.c | C | apache-2.0 | 2,362 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unles... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/heap/heap_api.h | C | apache-2.0 | 3,034 |
#include "heap_api.h"
| YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/heap/med_memory.h | C | apache-2.0 | 22 |
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by a... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/heap/multi_heap.h | C | apache-2.0 | 6,867 |
/*
* Copyright (c) 2021 Bestechnic (Shanghai) Co., Ltd. All rights reserved.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/utils/hwtimer_list/hwtimer_list.h | C | apache-2.0 | 1,497 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*
*/
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include "boot_ringbuffer.h"
int32_t boot_ringbuff_reset(boot_ringbuff_t *rb)
{
if (!rb) {
return -1;
}
rb->rd_ptr = rb->buffer;
rb->wr_ptr = rb->buffer;
rb->dirty_... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/boot_ringbuffer.c | C | apache-2.0 | 2,606 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef __BOOT_RINGBUFFER_H__
#define __BOOT_RINGBUFFER_H__
#include <stdint.h>
typedef struct {
uint8_t *buffer;
uint8_t *buffer_end;
uint8_t *rd_ptr;
uint8_t *wr_ptr;
int32_t free_size;
int32_t dirty_size;
} boot_ringbuff_t;
#endif
| YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/boot_ringbuffer.h | C | apache-2.0 | 308 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include "2ndboot.h"
#include "flash.h"
#include "cmsis.h"
#include "hal_trace.h"
#include "hal_norflash.h"
extern const hal_logic_partition_t hal_partitions[];
hal_logic_partition_t *flash_get_info(hal_partition_t pno)
{
if(pno >= HAL_PARTITION_MAX)... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/flash.c | C | apache-2.0 | 2,566 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef __2NDBOOT_FLASH_H__
#define __2NDBOOT_FLASH_H__
#define REG_READ(addr) *((volatile UINT32 *)(addr))
#define REG_WRITE(addr, _data) (*((volatile UINT32 *)(addr)) = (_data))
#define MODE_STD ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/flash.h | C | apache-2.0 | 2,764 |
#include "2ndboot.h"
void ota_2ndboot_os_entry(void)
{
return;
}
void ota_2ndboot_image_entry(void)
{
printf("2ndboot image start \n");
/* normal start */
printf("os image start\r\n");
ota_2ndboot_os_entry();
}
#ifdef AOS_2ND_BOOT_AB
extern int ota_get_ab_boot(void);
extern void ota_switch_ab_bo... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/startup.c | C | apache-2.0 | 467 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include "sys.h"
static uint8_t ota_2ndboot_heap[256*1024];
void sys_delayms(volatile int ms)
{
osDelay(ms);
}
void sys_reboot(void)
{
hal_cmu_sys_reboot();
}
void *sys_set_heap(unsigned int *size)
{
memset(ota_2ndboot_heap, 0, sizeof(ota_2... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/sys.c | C | apache-2.0 | 403 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifndef __2NDBOOT_SYS_H__
#define __2NDBOOT_SYS_H__
#include "2ndboot.h"
#endif // __2NDBOOT_SYS_H__ | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/sys.h | C | apache-2.0 | 167 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include "2ndboot.h"
#include "hal_trace.h"
#include "hal_uart.h"
#include "libc.h"
#include "boot_ringbuffer.h"
static enum HAL_UART_ID_T trace_uart = HAL_UART_ID_0;
#define TRACE_RX_BUFFER_SIZE 1032
__SRAMBSS unsigned char hal_trace_rx_buf[TRACE_RX_BUF... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/uart.c | C | apache-2.0 | 2,277 |
/*
* Copyright (C) 2015-2017 Alibaba Group Holding Limited
*/
#include "2ndboot.h"
#include "sys.h"
#include "cmsis.h"
#include "hal_wdt.h"
#include "hal_bootmode.h"
static int set_silent_reboot_flag(void)
{
hal_sw_bootmode_set(HAL_SW_BOOTMODE_RESERVED_BIT24);
return 0;
}
static void app_wdt_irq_handle(enum... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/2ndboot/wdg.c | C | apache-2.0 | 833 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <errno.h>
#include "aos/hal/adc.h"
#include "hal_trace.h"
#include "hal_gpadc.h"
static void __hal_adc_irqhandler(uint16_t irq_val, HAL_GPADC_MV_T volt)
{
//printf("%s irq_val=%d, volt=%d\n", __FUNCTION__, irq_val, volt);
}
static enum HAL_GPA... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/adc.c | C | apache-2.0 | 2,314 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <ulog/ulog.h>
#include <string.h>
#include <aos/list.h>
#include "audio_rtos.h"
#include "control.h"
#include "alsa.h"
#include "mcu_audio.h"
#define LOG_TAG "[haas1000_audio]"
static const int32_t volume_step[] = {
2, // 0 mute ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/audio.c | C | apache-2.0 | 16,322 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include "aos/hal/can.h"
/**
* Initialises a CAN interface
*
* @param[in] can the interface which should be initialised
*
* @return 0 : on success, EINVAL : if an error occurred with any step
*/
int32_t hal_can_init(can_dev_t *can)
{
return 0;... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/can.c | C | apache-2.0 | 2,011 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include "aos/hal/dac.h"
/**
* Initialises an dac interface
*
* @param[in] dac the interface which should be initialised
*
* @return 0 : on success, EIO : if an error occurred with any step
*/
int32_t hal_dac_init(dac_dev_t *dac)
{
return 0;
}
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/hal/dac.c | C | apache-2.0 | 1,831 |