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 |
|---|---|---|---|---|---|
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2020 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/include/wifi_ssid_manager.h | C | apache-2.0 | 4,095 |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2019 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/smart_config/smart_config.c | C | apache-2.0 | 6,384 |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2019 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/src/esp_wifi_setting.c | C | apache-2.0 | 4,217 |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2019 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software")... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/src/wifi_service.c | C | apache-2.0 | 30,085 |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2020 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/src/wifi_ssid_manager.c | C | apache-2.0 | 17,931 |
COMPONENT_ADD_LDFLAGS = -Wl,--whole-archive -l$(COMPONENT_NAME) -Wl,--no-whole-archive | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/test/component.mk | Makefile | apache-2.0 | 86 |
/*
* ESPRESSIF MIT License
*
* Copyright (c) 2020 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
*
* Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
* it is free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to de... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/components/wifi_service/test/test_wifi_ssid_manager.c | C | apache-2.0 | 6,634 |
#!/user/bin/env python
# ESPRESSIF MIT License
#
# Copyright (c) 2020 <ESPRESSIF SYSTEMS (SHANGHAI) CO., LTD>
#
# Permission is hereby granted for use on all ESPRESSIF SYSTEMS products, in which case,
# it is free of charge, to any person obtaining a copy of this software and associated
# documentation files (the... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/tools/audio_tone/mk_audio_tone.py | Python | apache-2.0 | 11,012 |
#!/usr/bin/env bash
#
# Build all examples from the examples directory, out of tree to
# ensure they can run when copied to a new directory.
#
# Runs as part of CI process.
#
# Assumes PWD is an out-of-tree build directory, and will copy examples
# to individual subdirectories, one by one.
#
#
# Without arguments it ju... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/tools/ci/build_examples.sh | Shell | apache-2.0 | 6,456 |
#!/usr/bin/env bash
#
# Build all examples from the examples directory, in BUILD_PATH to
# ensure they can run when copied to a new directory.
#
# Runs as part of CI process.
#
# -----------------------------------------------------------------------------
# Safety settings (see https://gist.github.com/ilg-ul/383869cb... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/tools/ci/build_examples_cmake.sh | Shell | apache-2.0 | 3,428 |
#!/bin/bash
# gitlab-ci script to push current tested revision (tag or branch) to github
set -ex
if [ -n "${CI_COMMIT_TAG}" ]; then
# for tags
git push github "${CI_COMMIT_TAG}"
else
# for branches
git push github "${CI_COMMIT_SHA}:refs/heads/${CI_COMMIT_REF_NAME}"
fi
| YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/tools/ci/push_to_github.sh | Shell | apache-2.0 | 289 |
#!/usr/bin/env bash
# sets up the IDF repo incl submodules with specified version as $1
set -o errexit # Exit if command failed.
if [ -z $IDF_PATH ] || [ -z $1 ] ; then
echo "Mandatory variables undefined"
exit 1;
fi;
echo "Checking out IDF version $1"
cd $IDF_PATH
# Cleans out the untracked files in the rep... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/tools/ci/set_idf.sh | Shell | apache-2.0 | 547 |
#!/usr/bin/env bash
while read rows
do
VAR=$rows
if [[ $VAR =~ "BRANCH" ]]; then
VAR_BRANCH=$(echo $VAR | grep -Eo "[a-zA-Z0-9./\-\_-]*" | tail -1)
echo "The target branch:"$VAR_BRANCH
elif [[ $VAR =~ "PATH" ]]; then
VAR_PATH=$(echo $VAR | grep -Eo "[a-zA-Z0-9./\-\_-]*" | tail -1)
... | YifuLiu/AliOS-Things | hardware/chip/espressif_adf/esp-adf/tools/ut/switch_branch.sh | Shell | apache-2.0 | 588 |
#!/usr/bin/env bash
# 1. store workdir path
workdir=$PWD
# 2. get shelldir path
shelldir=$(cd $(dirname ${BASH_SOURCE[0]}); pwd )
echo " =================== target = $1 ======================="
cd ${shelldir}
idf_src_code_folder="esp-idf"
# 3. check export.sh exist and clone source code if not
if [ ! -d "${shelldir... | YifuLiu/AliOS-Things | hardware/chip/espressif_idf/build.sh | Shell | apache-2.0 | 844 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#if CONFIG_A7_DSP_ENABLE > 0
#include "_haas1000_alios_sec_b_a7.lds"
#else
#include "_haas1000_alios_sec_b.lds"
#endif
| YifuLiu/AliOS-Things | hardware/chip/haas1000/_haas1000_alios.c | C | apache-2.0 | 184 |
#!/usr/bin/env python
import os, sys, re, codecs, shutil, platform
# read params from file if exists
params = sys.argv[1:]
if os.path.isfile(sys.argv[1]):
with codecs.open(sys.argv[1], 'r', 'UTF-8') as fh:
params = fh.read().split("\n")
# appdend user-defined args
if len(sys.argv) > 2:
para... | YifuLiu/AliOS-Things | hardware/chip/haas1000/_haas1000_alios_lds.py | Python | apache-2.0 | 4,031 |
/**
* File : aos.c
*/
#include "cmsis.h"
#include "stdarg.h"
#include "aos/init.h"
#include "aos/kernel.h"
//#include "uagent.h"
#include "ulog/ulog.h"
#include "ulog_config.h"
#include <k_api.h>
#include <stdio.h>
#include <stdlib.h>
#include "aos/hal/gpio.h"
#include "aos/hal/uart.h"
#if(AOS_COMP_WIFI > 0)
#includ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/aos.c | C | apache-2.0 | 12,192 |
/*
* Copyright (c) 2001-2003 Swedish Institute of Computer Science.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright not... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/arch/cc.h | C | apache-2.0 | 4,757 |
/**
******************************************************************************
* @file lwipopts.h
* @author MCD Application Team
* @version V1.0.0
* @date 11/20/2009
* @brief lwIP Options Configuration.
* This file is based on Utilities\lwip-1.3.1\src\include\lwip\opt.h
* ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/arch/lwipopts.h | C | apache-2.0 | 15,042 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#ifdef CHIP_HAAS1000
#define TO_STRING_A(s) # s
#define TO_STRING(s) TO_STRING_A(s)
.globl __dsp_code_start
.globl __dsp_code_end
.section .rodata_dsp_code, "a", %progbits
.balign 4
__dsp_code_start:
.incbin TO_STRI... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/dsp/dsp.S | Unix Assembly | apache-2.0 | 398 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <deque>
#include <exception>
#include <iomanip>
#include <ios>
#include <algorithm>
#include <bitset>
#include <cctype>
#include <stdexcept>
#include <utility>
#include <cerrno>
#include <complex>
#include <istream>
#include <queue> ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/my_cpp_test.cpp | C++ | apache-2.0 | 2,273 |
#include <string.h>
#include <aos/flashpart.h>
#include "ota_port.h"
#include "hal_trace.h"
#include "hal_norflash.h"
#include "cmsis_os.h"
#include "cmsis.h"
#include "pmu.h"
extern osMutexId FlashMutex;
extern osMutexDef_t os_mutex_def_flash;
extern enum ota_link ota_current_link;
#define EXCEPTION_REBOOT_COUNT_MAX... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/ota_port.c | C | apache-2.0 | 12,971 |
/**
* Copyright (C) 2019 Alibaba.inc, All rights reserved.
*
* @file: ota_port.h
* @brief: vendor ota interface
* @author:
* @date: 2019/12/16
* @version: 1.0
*/
#ifndef _TG_VENDOR_OTA_H_
#define _TG_VENDOR_OTA_H_
#include <aos/hal/flash.h>
#ifdef __cplusplus
extern "C" {
#endif
#define OTA_BOOT_INFO... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/ota_port.h | C | apache-2.0 | 3,018 |
#include <stdio.h>
#include "hal_cmu.h"
#include "hal_bootmode.h"
#include "pmu.h"
#if AOS_COMP_DEBUG
extern volatile uint32_t g_crash_steps;
#endif
void hal_reboot(void)
{
#if AOS_COMP_DEBUG
if (g_crash_steps) {
hal_sw_bootmode_set(HAL_SW_BOOTMODE_REBOOT_FROM_CRASH);
}
#endif
hal_cmu_sys_reboot();
}
int set... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos/soc_init.c | C | apache-2.0 | 562 |
/*
* Copyright (C) 2020-2021 Alibaba Group Holding Limited
*/
#include <string.h>
#include <cmsis.h>
#include <aos/flash_core.h>
#include <hal_norflash.h>
#include <pmu.h>
typedef struct {
aos_flash_t flash;
uint8_t page_data_buf[256];
} flash_haas1000_t;
static void flash_unregister(aos_flash_t *flash)
{
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos_adapter/flash.c | C | apache-2.0 | 4,410 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <drv/pwm.h>
#include <aos/pwm_core.h>
#include "hal_pwm.h"
#include "hal_gpio.h"
#include "hal_trace.h"
#include "hal_iomux.h"
#include "hal_cmu.h"
#include "pmu.h"
#define NS_PER_SEC (1000000000UL)
#define DIV_ROUND_CLOSEST(x, divisor)( ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos_adapter/pwm.c | C | apache-2.0 | 4,176 |
/*
* Copyright (C) 2020-2021 Alibaba Group Holding Limited
*/
#define BES_HAL_DEBUG 0
#include <aos/kernel.h>
#include <aos/tty_core.h>
#include <ulog/ulog.h>
#include <hal_uart.h>
#include <hal_iomux.h>
#include <hal_trace.h>
#include <plat_types.h>
#define UART_DMA_RING_BUFFER_SIZE 256 /* mast be 2^n */
static _... | YifuLiu/AliOS-Things | hardware/chip/haas1000/aos_adapter/uart.c | C | apache-2.0 | 9,624 |
/*
* Copyright (C) 2015-2021 Alibaba Group Holding Limited
*/
/* CSI Nor Flash implementation */
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <drv/spiflash.h>
#include <aos/mtd.h>
#include <aos/mtdpart.h>
#include "hal_trace.h"
#include "hal_norflash.h"
#include "cmsis.h"
static void * bes_... | YifuLiu/AliOS-Things | hardware/chip/haas1000/csi/flash.c | C | apache-2.0 | 5,441 |
/*
* Copyright (C) 2020-2021 Alibaba Group Holding Limited
*/
#include <drv/gpio.h>
#include <hal_gpio.h>
#include <aos/gpioc_csi.h>
#define GPIO_PINS_PER_PORT (sizeof(uint32_t) * 8)
#define GPIO_NUM_PORTS ((HAL_GPIO_PIN_LED_NUM + GPIO_PINS_PER_PORT - 1) / GPIO_PINS_PER_PORT)
static aos_gpioc_csi_t g... | YifuLiu/AliOS-Things | hardware/chip/haas1000/csi/gpio.c | C | apache-2.0 | 7,487 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <drv/iic.h>
#include "hal_i2c.h"
#include "app_hal.h"
#include "aos/kernel.h"
#include "hal_trace.h"
csi_error_t csi_iic_init(csi_iic_t *iic, uint32_t idx)
{
uint32_t ret = 0;
int32_t lock_ret = -1;
uint8_t i2c_port;
struct HAL_I... | YifuLiu/AliOS-Things | hardware/chip/haas1000/csi/iic.c | C | apache-2.0 | 7,009 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <drv/pwm.h>
#include <aos/pwm_csi.h>
#include "hal_pwm.h"
#include "hal_gpio.h"
#include "hal_trace.h"
#include "hal_iomux.h"
#include "hal_cmu.h"
#include "pmu.h"
#define _HAL_PWM_MAX_NUM 4
static struct HAL_IOMUX_PIN_FUNCTION_MAP pinmux_pwm[_... | YifuLiu/AliOS-Things | hardware/chip/haas1000/csi/pwm.c | C | apache-2.0 | 2,264 |
/*
* Copyright (C) 2015-2020 Alibaba Group Holding Limited
*/
#include <drv/wdt.h>
#include "aos/hal/gpio.h"
#include "hal_iomux_haas1000.h"
static gpio_dev_t wdg_gpio = {0, 0, NULL};
static int watchdog_flag = 0;
csi_error_t csi_wdt_init(csi_wdt_t *wdt, uint32_t idx)
{
if(!wdt)
return CSI_ERROR;
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/csi/wdt.c | C | apache-2.0 | 1,994 |
/*
* 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/apps/cmd/app_cmd.h | C | apache-2.0 | 939 |
/*
* 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/apps/common/app_hal.h | C | apache-2.0 | 1,276 |
/*
* 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/apps/common/app_spec_ostimer.h | C | apache-2.0 | 1,558 |
/*
* 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/apps/common/app_thread.h | C | apache-2.0 | 2,123 |
/*
* 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/apps/common/app_utils.h | C | apache-2.0 | 3,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/apps/factory/app_factory.h | C | apache-2.0 | 1,311 |
/*
* 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/apps/factory/app_factory_audio.h | C | apache-2.0 | 1,184 |
/*
* 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/apps/factory/app_factory_bt.h | C | apache-2.0 | 1,184 |
/*
* 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/apps/factory/app_factory_cdc_comm.h | C | apache-2.0 | 914 |
/*
* 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/apps/factory/app_factory_wifi.h | C | apache-2.0 | 1,000 |
/*
* 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/apps/factory/sys_api_cdc_comm.h | C | apache-2.0 | 1,707 |
/*
* 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/apps/key/app_key.h | C | apache-2.0 | 3,979 |
/*
* 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/apps/main/app_status_ind.h | C | apache-2.0 | 2,525 |
/*
* 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/apps/main/apps.h | C | apache-2.0 | 2,004 |
/*
* 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/apps/mic/app_mic.h | C | apache-2.0 | 1,548 |
/*
* 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/apps/pwl/app_pwl.h | C | apache-2.0 | 1,394 |
set PATH=%CD%\..\..\..\..\build\compiler\gcc-arm-ali-aoseabi\Win32\bin\;%PATH%
make T=ota_boot2a clean --print-directory
make T=ota_boot2a CPU=m4 SECURE_BOOT=1 REMAP_SUPPORT=1 SDK=1 HW_MODULE=1 LARGE_RAM=1 all lst --print-directory
copy out\ota_boot2a\ota_boot2a.bin ..\prebuild\ota_boot2a.bin | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/build2boot.bat | Batchfile | apache-2.0 | 295 |
#!/bin/bash
export CUR_PATH=$(pwd)
export PATH=$CUR_PATH/../../../../build/compiler/gcc-arm-ali-aoseabi/Linux64/bin/:$PATH
make T=ota_boot2a clean --print-directory
make T=ota_boot2a CPU=m4 SECURE_BOOT=1 REMAP_SUPPORT=1 BOOTINFO_BIN=1 HAAS_OTA_ENABLED=1 EXTERNAL_WATCHDOG=1 SDK=1 HW_MODULE=1 LARGE_RAM=1 all lst --prin... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/build2boot.sh | Shell | apache-2.0 | 411 |
/*
* 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/net/bwifi_event.h | C | apache-2.0 | 7,327 |
/*
* 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/net/bwifi_interface.h | C | apache-2.0 | 16,214 |
/*
* 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/net/bwifi_sta.h | C | apache-2.0 | 1,195 |
/*
* 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/net/net_debug.h | C | apache-2.0 | 2,762 |
/*
* 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/net/net_defs.h | C | apache-2.0 | 6,240 |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_common_tables.h
* Description: Extern declaration for common tables
*
* $Date: 27. January 2017
* $Revision: V.1.5.1
*
* Target Processor: Cortex-M cores
* ----------------... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/arm_common_tables.h | C | apache-2.0 | 6,035 |
/* ----------------------------------------------------------------------
* Project: CMSIS DSP Library
* Title: arm_const_structs.h
* Description: Constant structs that are initialized for user convenience.
* For example, some can be given as arguments to the arm_cfft_f32() function.
*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/arm_const_structs.h | C | apache-2.0 | 2,961 |
/******************************************************************************
* @file arm_math.h
* @brief Public header file for CMSIS DSP Library
* @version V1.7.0
* @date 18. March 2019
******************************************************************************/
/*
* Copyright (c) 2010-2019 Arm... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/arm_math.h | C | apache-2.0 | 306,445 |
/**************************************************************************//**
* @file cmsis_armcc.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.0.3
* @date 15. May 2019
******************************************************************************/
/*
* Copyright (... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/cmsis_armcc_ca.h | C | apache-2.0 | 16,171 |
/**************************************************************************//**
* @file cmsis_armclang.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.1.1
* @date 15. May 2019
******************************************************************************/
/*
* Copyrigh... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/cmsis_armclang_ca.h | C | apache-2.0 | 19,134 |
/**************************************************************************//**
* @file cmsis_compiler.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.0.2
* @date 10. January 2018
******************************************************************************/
/*
* Copy... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/cmsis_compiler_ca.h | C | apache-2.0 | 5,852 |
/**************************************************************************//**
* @file cmsis_cp15.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.0.1
* @date 07. Sep 2017
******************************************************************************/
/*
* Copyright (c... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/cmsis_cp15_ca.h | C | apache-2.0 | 12,043 |
/**************************************************************************//**
* @file cmsis_gcc.h
* @brief CMSIS compiler specific macros, functions, instructions
* @version V1.2.0
* @date 17. May 2019
******************************************************************************/
/*
* Copyright (c)... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/cmsis_gcc_ca.h | C | apache-2.0 | 24,839 |
/**************************************************************************//**
* @file cmsis_iccarm.h
* @brief CMSIS compiler ICCARM (IAR Compiler for Arm) header file
* @version V5.0.7
* @date 15. May 2019
******************************************************************************/
//------------... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/cmsis_iccarm_ca.h | C | apache-2.0 | 16,312 |
/**************************************************************************//**
* @file core_ca.h
* @brief CMSIS Cortex-A Core Peripheral Access Layer Header File
* @version V1.0.2
* @date 12. November 2018
******************************************************************************/
/*
* Copyright ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/core_ca.h | C | apache-2.0 | 113,049 |
/******************************************************************************
* @file ARMCA7.h
* @brief CMSIS Cortex-A7 Core Peripheral Access Layer Header File
* @version V1.1.0
* @date 15. May 2019
*
* @note
*
******************************************************************************/
/*
* ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/haas1000_dsp.h | C | apache-2.0 | 14,240 |
/**************************************************************************//**
* @file irq_ctrl.h
* @brief Interrupt Controller API header file
* @version V1.0.0
* @date 23. June 2017
******************************************************************************/
/*
* Copyright (c) 2017 ARM Limited. ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/irq_ctrl.h | C | apache-2.0 | 8,290 |
/**************************************************************************//**
* @file mem_ARMCA7.h
* @brief Memory base and size definitions (used in scatter file)
* @version V1.1.0
* @date 15. May 2019
*
* @note
*
******************************************************************************/
/*
... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/ca/mem_ARMCA.h | C | apache-2.0 | 3,818 |
/*
* 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/platform/cmsis/inc/ca/system_ARMCA.h | C | apache-2.0 | 849 |
/* mbed Microcontroller Library - CMSIS
* Copyright (C) 2009-2011 ARM Limited. All rights reserved.
*
* A generic CMSIS include header, pulling in LPC11U24 specifics
*/
#ifndef MBED_CMSIS_H
#define MBED_CMSIS_H
#ifdef __cplusplus
extern "C" {
#endif
#include "plat_addr_map.h"
#include _TO_STRING(CONCAT_SUFFIX(CH... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis.h | C | apache-2.0 | 3,654 |
/**************************************************************************//**
* @file cmsis_armcc.h
* @brief CMSIS compiler ARMCC (Arm Compiler 5) header file
* @version V5.0.5
* @date 14. December 2018
******************************************************************************/
/*
* Copyright (c... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_armcc.h | C | apache-2.0 | 27,496 |
/**************************************************************************//**
* @file cmsis_armclang.h
* @brief CMSIS compiler armclang (Arm Compiler 6) header file
* @version V5.1.0
* @date 14. March 2019
******************************************************************************/
/*
* Copyright... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_armclang.h | C | apache-2.0 | 45,250 |
/**************************************************************************//**
* @file cmsis_armclang_ltm.h
* @brief CMSIS compiler armclang (Arm Compiler 6) header file
* @version V1.0.1
* @date 19. March 2019
******************************************************************************/
/*
* Copyr... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_armclang_ltm.h | C | apache-2.0 | 54,574 |
/**************************************************************************//**
* @file cmsis_compiler.h
* @brief CMSIS compiler generic header file
* @version V5.1.0
* @date 09. October 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 A... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_compiler.h | C | apache-2.0 | 8,890 |
/**************************************************************************//**
* @file cmsis_gcc.h
* @brief CMSIS compiler GCC header file
* @version V5.1.0
* @date 20. December 2018
******************************************************************************/
/*
* Copyright (c) 2009-2018 Arm Limit... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_gcc.h | C | apache-2.0 | 61,018 |
/**************************************************************************//**
* @file cmsis_iccarm.h
* @brief CMSIS compiler ICCARM (IAR Compiler for Arm) header file
* @version V5.0.8
* @date 04. September 2018
******************************************************************************/
//------... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_iccarm.h | C | apache-2.0 | 27,604 |
/* mbed Microcontroller Library
* CMSIS-style functionality to support dynamic vectors
*******************************************************************************
* Copyright (c) 2011 ARM Limited. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or withou... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_nvic.h | C | apache-2.0 | 3,376 |
/**************************************************************************//**
* @file cmsis_version.h
* @brief CMSIS Core(M) Version definitions
* @version V5.0.2
* @date 19. April 2017
******************************************************************************/
/*
* Copyright (c) 2009-2017 ARM L... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/cmsis_version.h | C | apache-2.0 | 1,677 |
/**************************************************************************//**
* @file core_armv81mml.h
* @brief CMSIS Armv8.1-M Mainline Core Peripheral Access Layer Header File
* @version V1.0.0
* @date 15. March 2019
******************************************************************************/
/*... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_armv81mml.h | C | apache-2.0 | 168,761 |
/**************************************************************************//**
* @file core_armv8mbl.h
* @brief CMSIS Armv8-M Baseline Core Peripheral Access Layer Header File
* @version V5.0.8
* @date 12. November 2018
******************************************************************************/
/*... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_armv8mbl.h | C | apache-2.0 | 96,076 |
/**************************************************************************//**
* @file core_armv8mml.h
* @brief CMSIS Armv8-M Mainline Core Peripheral Access Layer Header File
* @version V5.1.0
* @date 12. September 2018
******************************************************************************/
/... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_armv8mml.h | C | apache-2.0 | 158,434 |
/**************************************************************************//**
* @file core_cm0.h
* @brief CMSIS Cortex-M0 Core Peripheral Access Layer Header File
* @version V5.0.6
* @date 13. March 2019
******************************************************************************/
/*
* Copyright (... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm0.h | C | apache-2.0 | 41,283 |
/**************************************************************************//**
* @file core_cm0plus.h
* @brief CMSIS Cortex-M0+ Core Peripheral Access Layer Header File
* @version V5.0.7
* @date 13. March 2019
******************************************************************************/
/*
* Copyri... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm0plus.h | C | apache-2.0 | 49,376 |
/**************************************************************************//**
* @file core_cm1.h
* @brief CMSIS Cortex-M1 Core Peripheral Access Layer Header File
* @version V1.0.1
* @date 12. November 2018
******************************************************************************/
/*
* Copyrigh... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm1.h | C | apache-2.0 | 42,479 |
/**************************************************************************//**
* @file core_cm23.h
* @brief CMSIS Cortex-M23 Core Peripheral Access Layer Header File
* @version V5.0.8
* @date 12. November 2018
******************************************************************************/
/*
* Copyri... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm23.h | C | apache-2.0 | 102,634 |
/**************************************************************************//**
* @file core_cm3.h
* @brief CMSIS Cortex-M3 Core Peripheral Access Layer Header File
* @version V5.1.0
* @date 13. March 2019
******************************************************************************/
/*
* Copyright (... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm3.h | C | apache-2.0 | 109,273 |
/**************************************************************************//**
* @file core_cm33.h
* @brief CMSIS Cortex-M33 Core Peripheral Access Layer Header File
* @version V5.1.0
* @date 12. November 2018
******************************************************************************/
/*
* Copyri... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm33.h | C | apache-2.0 | 165,126 |
/**************************************************************************//**
* @file core_cm35p.h
* @brief CMSIS Cortex-M35P Core Peripheral Access Layer Header File
* @version V1.0.0
* @date 12. November 2018
******************************************************************************/
/*
* Copy... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm35p.h | C | apache-2.0 | 165,032 |
/**************************************************************************//**
* @file core_cm4.h
* @brief CMSIS Cortex-M4 Core Peripheral Access Layer Header File
* @version V5.1.0
* @date 13. March 2019
******************************************************************************/
/*
* Copyright (... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm4.h | C | apache-2.0 | 120,823 |
/**************************************************************************//**
* @file core_cm7.h
* @brief CMSIS Cortex-M7 Core Peripheral Access Layer Header File
* @version V5.1.0
* @date 13. March 2019
******************************************************************************/
/*
* Copyright (... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_cm7.h | C | apache-2.0 | 147,801 |
/**************************************************************************//**
* @file core_sc000.h
* @brief CMSIS SC000 Core Peripheral Access Layer Header File
* @version V5.0.6
* @date 12. November 2018
******************************************************************************/
/*
* Copyright ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_sc000.h | C | apache-2.0 | 46,227 |
/**************************************************************************//**
* @file core_sc300.h
* @brief CMSIS SC300 Core Peripheral Access Layer Header File
* @version V5.0.7
* @date 12. November 2018
******************************************************************************/
/*
* Copyright ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/core_sc300.h | C | apache-2.0 | 108,607 |
/**************************************************************************//**
* @file best1000.h
* @brief CMSIS Core Peripheral Access Layer Header File for
* ARMCM4 Device Series
* @version V2.02
* @date 10. September 2014
*
* @note configured for CM4 with FPU
*
*******************... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/fpga1000.h | C | apache-2.0 | 9,119 |
/**************************************************************************//**
* @file haas1000.h
* @brief CMSIS Core Peripheral Access Layer Header File for
* ARMCM4 Device Series
* @version V2.02
* @date 10. September 2014
*
* @note configured for CM4 with FPU
*
*******************... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/haas1000.h | C | apache-2.0 | 13,112 |
/*
* 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/platform/cmsis/inc/link_sym_armclang.h | C | apache-2.0 | 11,972 |
/*
* 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/platform/cmsis/inc/main_entry.h | C | apache-2.0 | 923 |
/*
* 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/platform/cmsis/inc/mpu.h | C | apache-2.0 | 2,360 |
/******************************************************************************
* @file mpu_armv7.h
* @brief CMSIS MPU API for Armv7-M MPU
* @version V5.1.0
* @date 08. March 2019
******************************************************************************/
/*
* Copyright (c) 2017-2019 Arm Limited. ... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/mpu_armv7.h | C | apache-2.0 | 12,058 |
/******************************************************************************
* @file mpu_armv8.h
* @brief CMSIS MPU API for Armv8-M and Armv8.1-M MPU
* @version V5.1.0
* @date 08. March 2019
******************************************************************************/
/*
* Copyright (c) 2017-2019... | YifuLiu/AliOS-Things | hardware/chip/haas1000/drivers/platform/cmsis/inc/mpu_armv8.h | C | apache-2.0 | 11,263 |
/*
* 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/platform/cmsis/inc/patch.h | C | apache-2.0 | 1,103 |