Skip to content

Commit

Permalink
Merge pull request pine64#63 from jpeng0215/update
Browse files Browse the repository at this point in the history
bouffalolab_release_bl_iot_sdk_1.6.36
  • Loading branch information
chinawrj committed Mar 9, 2022
2 parents 154ee67 + c2cc7bf commit 8d6fda3
Show file tree
Hide file tree
Showing 6,541 changed files with 39,770 additions and 16,212 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
Empty file modified ChangeLog
100644 → 100755
Empty file.
Empty file modified bl_iot_sdk_debug_eclipse.launch
100644 → 100755
Empty file.
Empty file modified bl_iot_sdk_debug_freedom_studio.launch
100644 → 100755
Empty file.
Empty file modified bl_iot_sdk_debug_freedom_studio_win.launch
100644 → 100755
Empty file.
Empty file modified bl_iot_sdk_debug_freedom_studio_win_attach.launch
100644 → 100755
Empty file.
Empty file modified bl_iot_sdk_debug_freedom_studio_win_attach_bl702.launch
100644 → 100755
Empty file.
Empty file modified bl_iot_sdk_debug_freedom_studio_win_bl702.launch
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/Kconfig
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/LICENSE
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified components/3rdparty/aws-iot/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/component.mk
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/include/aws_iot_config.h
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/include/aws_iot_log.h
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/include/network_platform.h
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/include/threads_platform.h
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/include/timer_platform.h
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/network_mbedtls_wrapper.c
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/threads_freertos.c
100644 → 100755
Empty file.
Empty file modified components/3rdparty/aws-iot/port/timer.c
100644 → 100755
Empty file.
Empty file modified components/audio/audio_device/bl602_dac/bl602_dac_device.c
100644 → 100755
Empty file.
Empty file modified components/audio/audio_device/bl60x_i2s/bl60x_i2s_device.c
100644 → 100755
Empty file.
Empty file modified components/audio/audio_device/bouffalo.mk
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file modified components/audio/audio_framework/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/fs/romfs/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/fs/romfs/genromfs/Makefile
100644 → 100755
Empty file.
Empty file modified components/fs/romfs/genromfs/genromfs.c
100644 → 100755
Empty file.
Empty file modified components/fs/romfs/include/bl_romfs.h
100644 → 100755
Empty file.
8 changes: 6 additions & 2 deletions components/fs/romfs/src/bl_romfs.c
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@
#define ROMFH_REG 2
#define ROMFH_UNKNOW 3

#define HEAD_MAGIC_LEN (16) /*romfs header magic num size*/

struct romfh {
int32_t nextfh;
int32_t spec;
Expand Down Expand Up @@ -214,7 +216,8 @@ static int file_info(char *path, char **p_addr_start_input, char **p_addr_end_in
/* /romfs */
ROMFS_DUBUG("addr_start = %p\r\n", addr_start);
if (addr_start == romfs_root) {
addr_start = (char *)(romfs_root + ALIGNUP16(strlen(romfs_root + 16) + 1) + 16 + 64);
/* point first dot file*/
addr_start = (char *)(romfs_root + ALIGNUP16(strlen(romfs_root + HEAD_MAGIC_LEN) + 1) + HEAD_MAGIC_LEN);
}

ROMFS_DUBUG("addr_start = %p, addr_end = %p, path = %s\r\n", addr_start, addr_end, path);
Expand Down Expand Up @@ -548,7 +551,8 @@ static aos_dir_t *romfs_opendir(file_t *fp, const char *path)
if (0 == res) {
/* need add update dir_addr and current_addr */
if (start_addr == romfs_root) {
dp->dir_start_addr = (char *)(romfs_root + ALIGNUP16(strlen(romfs_root + 16) + 1) + 16 + 64);
/* point first dot file*/
dp->dir_start_addr = (char *)(romfs_root + ALIGNUP16(strlen(romfs_root + HEAD_MAGIC_LEN) + 1) + HEAD_MAGIC_LEN);
} else {
if (0 == dirent_childaddr(start_addr)) {
return NULL;
Expand Down
Empty file modified components/fs/vfs/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_adc.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_gpio.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_i2c.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_pwm.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_rtc.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_spi.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_uart.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/device/vfs_wdg.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_adc.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_device.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_gpio.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_i2c.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_pwm.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_rtc.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_spi.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_uart.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/device/vfs_wdg.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/fs/vfs_romfs.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/adc.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/dac.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/flash.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/interpt.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/nand.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/nor.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/pwm.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/qspi.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/rng.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/rtc.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/sd.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/soc.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/spi.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/timer.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/usb_hcd.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/hal/soc/wdg.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs_conf.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs_dir.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs_err.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs_file.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs_inode.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/include/vfs_register.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/posix/dirent.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/posix/include/dirent.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/posix/include/sys/prctl.h
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/posix/posix.mk
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/posix/prctl.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/src/vfs.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/src/vfs.mk
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/src/vfs_file.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/src/vfs_inode.c
100644 → 100755
Empty file.
Empty file modified components/fs/vfs/src/vfs_register.c
100644 → 100755
Empty file.
Empty file modified components/libc/newlibc/COPYING.NEWLIB
100644 → 100755
Empty file.
Empty file modified components/libc/newlibc/assert.c
100644 → 100755
Empty file.
5 changes: 5 additions & 0 deletions components/libc/newlibc/bouffalo.mk
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ CONFIG_SYS_TRACE_MEM_ENTRY_NUM ?= 1000
CPPFLAGS += -DSYS_TRACE_MEM_ENABLE -DSYS_TRACE_MEM_ENTRY_NUM=$(CONFIG_SYS_TRACE_MEM_ENTRY_NUM)
endif

ifeq ($(CONFIG_USE_PSRAM), 1)
CFLAGS += -DCFG_USE_PSRAM
CPPFLAGS += -DCFG_USE_PSRAM
endif

## These include paths would be exported to project level
COMPONENT_ADD_INCLUDEDIRS += ./

Expand Down
Empty file modified components/libc/newlibc/stdatomic.c
100644 → 100755
Empty file.
113 changes: 109 additions & 4 deletions components/libc/newlibc/syscalls.c
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,17 @@ typedef struct
uint32_t entry_num_max;
}malloc_table_info_t;

typedef struct
{
void* caller;
uint32_t totalSize;
uint32_t mallocTimes;
}mem_stats_t;

malloc_entry_t malloc_entry[SYS_TRACE_MEM_ENTRY_NUM];
malloc_table_info_t malloc_table_info;
#define SYS_TRACE_MEM_STATS_ENTRY_NUM 100
mem_stats_t mem_stats[SYS_TRACE_MEM_STATS_ENTRY_NUM];

void trace_malloc(void *ptr, size_t size, void *caller)
{
Expand Down Expand Up @@ -131,6 +140,58 @@ void trace_realloc(void *ptr_new, void *ptr_old, size_t size, void *caller)
}
}
}

void mem_trace_stats()
{
for(int i=0;i<SYS_TRACE_MEM_STATS_ENTRY_NUM;i++)
{
mem_stats[i].caller = NULL;
mem_stats[i].totalSize = 0;
mem_stats[i].mallocTimes = 0;
}

for(int i=0; i<SYS_TRACE_MEM_ENTRY_NUM; i++)
{
if(malloc_entry[i].ptr == NULL)
{
continue;
}

uint8_t fExist = 0;
uint16_t firstEmpty = 0xFFFF;
for(int j=0; j<SYS_TRACE_MEM_STATS_ENTRY_NUM;j++)
{
if(malloc_entry[i].caller == mem_stats[j].caller)
{
fExist = 1;
mem_stats[j].mallocTimes++;
mem_stats[j].totalSize += malloc_entry[i].size;
break;
}

if(firstEmpty==0xFFFF && mem_stats[j].caller == NULL)
{
firstEmpty = j;
}
}

if(!fExist && firstEmpty != 0xFFFF)
{
mem_stats[firstEmpty].caller = malloc_entry[i].caller;
mem_stats[firstEmpty].totalSize = malloc_entry[i].size;
mem_stats[firstEmpty].mallocTimes = 1;
}
}

for(int i=0;i<SYS_TRACE_MEM_STATS_ENTRY_NUM;i++)
{
if(mem_stats[i].caller)
{
printf("%d, caller:0x%08lx, totalSize:%lu, mallocTimes:%lu\r\n", i, (uint32_t)mem_stats[i].caller, mem_stats[i].totalSize, mem_stats[i].mallocTimes);
}
}
printf("Current left size is %d bytes\r\n", xPortGetFreeHeapSize());
}
#endif

/* Reentrant versions of system calls. */
Expand Down Expand Up @@ -350,6 +411,11 @@ int fsync(int fd)
#endif
}

#if defined(CFG_USE_PSRAM)
#define IS_PSARAM(addr) ((addr&0xFF000000) == 0x26000000 || \
(addr&0xFF000000) == 0x24000000 )
#endif

void *_malloc_r(struct _reent *ptr, size_t size)
{
void* result;
Expand All @@ -359,7 +425,17 @@ void *_malloc_r(struct _reent *ptr, size_t size)
return NULL;
}

result = (void*)pvPortMalloc(size);
#if defined(CFG_USE_PSRAM)
if (xPortGetFreeHeapSizePsram() > size) {
result = (void*)pvPortMallocPsram(size);
}
else {
result = (void*)pvPortMalloc(size);
}
#else
result = (void*)pvPortMalloc(size);
#endif

if (result == NULL)
{
ptr->_errno = ENOMEM;
Expand All @@ -376,7 +452,17 @@ void *_realloc_r(struct _reent *ptr, void *old, size_t newlen)
{
void* result;

result = (void*)pvPortRealloc(old, newlen);
#if defined(CFG_USE_PSRAM)
if (IS_PSARAM((uint32_t)old)) {
result = (void*)pvPortReallocPsram(old, newlen);
}
else {
result = (void*)pvPortRealloc(old, newlen);
}
#else
result = (void*)pvPortRealloc(old, newlen);
#endif

if (result == NULL)
{
ptr->_errno = ENOMEM;
Expand All @@ -398,7 +484,17 @@ void *_calloc_r(struct _reent *ptr, size_t size, size_t len)
return NULL;
}

result = (void*)pvPortCalloc(size, len);
#if defined(CFG_USE_PSRAM)
if (xPortGetFreeHeapSizePsram()) {
result = (void*)pvPortCallocPsram(size, len);
}
else {
result = (void*)pvPortCalloc(size, len);
}
#else
result = (void*)pvPortCalloc(size, len);
#endif

if (result == NULL)
{
ptr->_errno = ENOMEM;
Expand All @@ -413,7 +509,16 @@ void *_calloc_r(struct _reent *ptr, size_t size, size_t len)

void _free_r(struct _reent *ptr, void *addr)
{
vPortFree(addr);
#if defined(CFG_USE_PSRAM)
if (IS_PSARAM((uint32_t)addr)) {
vPortFreePsram(addr);
}
else {
vPortFree(addr);
}
#else
vPortFree(addr);
#endif

#ifdef SYS_TRACE_MEM_ENABLE
trace_free(addr, (void *)__builtin_return_address(0));
Expand Down
Empty file modified components/multimedia/image/jpeg_encoder_mono/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/include/buf.h
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/include/conf.h
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/include/enc.h
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/include/huff.h
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/include/jpec.h
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/src/buf.c
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/src/conf.c
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/src/enc.c
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/jpeg_encoder_mono/src/huff.c
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/00index.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/css_e.css
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/appnote.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/decomp.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/input.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/jdec.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/output.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/p1.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/multimedia/image/tjpgd1d/doc/en/prepare.html
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/doc/jpeg.jpeg
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/multimedia/image/tjpgd1d/include/tjpgd.h
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/src/aa_idct.png
100644 → 100755
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file modified components/multimedia/image/tjpgd1d/src/bl_tjpgd.c
100644 → 100755
Empty file.
Empty file modified components/multimedia/image/tjpgd1d/src/tjpgd.c
100644 → 100755
Empty file.
41 changes: 37 additions & 4 deletions components/network/ble/ble_common.mk
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ CONFIG_DISABLE_BLE_CONTROLLER_SEC_CON := 1
endif

ifeq ($(PRIV_CONFIG_GEN_BLE),m0s1p)
CONFIG_BLE_PDS := 1
CONFIG_BT_CONN := 1
CONFIG_BLE_TX_BUFF_DATA := 2
CONFIG_BT_MESH := 0
Expand All @@ -52,6 +53,21 @@ CONFIG_DISABLE_BT_SMP := 1
CONFIG_DISABLE_BT_HOST_PRIVACY := 1
endif

ifeq ($(PRIV_CONFIG_GEN_BLE),m0s0sp)
CONFIG_BLE_PDS := 1
CONFIG_BT_CONN := 0
CONFIG_BLE_TX_BUFF_DATA := 2
CONFIG_BT_MESH := 0
CONFIG_BT_ALLROLES := 0
CONFIG_BT_CENTRAL := 0
CONFIG_BT_PERIPHERAL := 0
CONFIG_BT_OBSERVER := 1
CONFIG_BT_BROADCASTER := 0
CONFIG_DISABLE_BT_SMP := 1
CONFIG_DISABLE_BT_HOST_PRIVACY := 1
CONFIG_BT_STACK_CLI := 0
endif

ifeq ($(PRIV_CONFIG_GEN_BLE),m16s1)
CONFIG_BT_CONN := 16
CONFIG_BT_ALLROLES := 0
Expand Down Expand Up @@ -82,6 +98,11 @@ CFLAGS += -DBL702
endif

ifeq ($(CONFIG_CHIP_NAME),BL606P)
CFLAGS += -DBL606P
CONFIG_BT_RESET=0
endif

ifeq ($(CONFIG_CHIP_NAME),BL808)
CFLAGS += -DBL808
CONFIG_BT_RESET=0
endif
Expand Down Expand Up @@ -145,8 +166,17 @@ ifeq ($(CONFIG_EM_16K),1)
CFLAGS += -DCONFIG_EM_16K
endif

CONFIG_BLE ?=1
CONFIG_BT ?= 1
CONFIG_SCO_ESCO ?= 1
CONFIG_PCA ?= 1
CONFIG_RF_EXTRC ?= 1
CONFIG_CSB ?= 1
CONFIG_SNIFF ?= 1
CONFIG_RSWITCH ?= 1
CONFIG_TEST_MODE ?= 1
CONFIG_SEC_CONN ?= 1
CONFIG_BT_DIRECT_TEST_MODE ?= 1
CONFIG_BLE ?= 1
CONFIG_CIS ?= 1
CONFIG_ADV_EXTENSION ?= 1
CONFIG_BIS ?= 1
Expand Down Expand Up @@ -257,13 +287,16 @@ ifeq ($(CONFIG_BT_GEN_RANDOM_BY_SW),1)
CFLAGS += -DCONFIG_BT_GEN_RANDOM_BY_SW
endif

ifeq ($(CONFIG_PDS_ENABLE),1)
ifeq ($(CONFIG_BLE_PDS),1)
CFLAGS += -DCFG_BLE_PDS
CFLAGS += -DCONFIG_HW_SEC_ENG_DISABLE
endif

CFLAGS += -DCONFIG_BT_CONN \
-DCONFIG_BT_HCI_VS_EVT_USER \
ifneq ($(CONFIG_BT_CONN),0)
CFLAGS += -DCONFIG_BT_CONN
endif

CFLAGS += -DCONFIG_BT_HCI_VS_EVT_USER \
-DCONFIG_BT_ASSERT \

ifneq ($(CONFIG_SIMPLE_MASTER),1)
Expand Down
Empty file modified components/network/ble/blecontroller/ble_inc/ble_lib_api.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blecontroller/ble_inc/hci_onchip.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blecontroller_602_m0s1/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_602_m0s1/lib/libblecontroller_602_m0s1.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blecontroller_602_m0s1s/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_602_m0s1s/lib/libblecontroller_602_m0s1s.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blecontroller_602_std/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_602_std/lib/libblecontroller_602_std.a
100644 → 100755
Binary file not shown.
6 changes: 6 additions & 0 deletions components/network/ble/blecontroller_702_m0s0sp/bouffalo.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
COMPONENT_LIB_ONLY := 1
COMPONENT_ADD_INCLUDEDIRS += ../blecontroller/ble_inc
LIBS ?= blecontroller_702_m0s0sp
COMPONENT_ADD_LDFLAGS += -L$(COMPONENT_PATH)/lib $(addprefix -l,$(LIBS))
ALL_LIB_FILES := $(patsubst %,$(COMPONENT_PATH)/lib/lib%.a,$(LIBS))
COMPONENT_ADD_LINKER_DEPS := $(ALL_LIB_FILES)
Binary file not shown.
Empty file modified components/network/ble/blecontroller_702_m0s1/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_702_m0s1/lib/libblecontroller_702_m0s1.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blecontroller_702_m0s1p/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_702_m0s1p/lib/libblecontroller_702_m0s1p.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blecontroller_702_m0s1s/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_702_m0s1s/lib/libblecontroller_702_m0s1s.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blecontroller_702_m16s1/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_702_m16s1/lib/libblecontroller_702_m16s1.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blecontroller_702_std/bouffalo.mk
100644 → 100755
Empty file.
Binary file modified components/network/ble/blecontroller_702_std/lib/libblecontroller_702_std.a
100644 → 100755
Binary file not shown.
Empty file modified components/network/ble/blemesh/bouffalo.mk
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/Kconfig
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/access.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/access.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/adv.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/adv.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/beacon.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/beacon.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/cdb.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/cfg_cli.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/cfg_srv.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/crypto.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/crypto.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/ecb.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/foundation.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/friend.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/friend.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/health_cli.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/health_srv.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/access.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/cdb.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/cfg_cli.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/cfg_srv.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/health_cli.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/health_faults.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/health_srv.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/main.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/mesh.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/mesh_config.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/proxy.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/include/vendor_defs.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/local_operation.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/local_operation.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/lpn.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/lpn.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/main.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/mem_slab/slab.c
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/mem_slab/slab.h
100644 → 100755
Empty file.
Empty file modified components/network/ble/blemesh/src/mesh.h
100644 → 100755
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file modified components/network/ble/blemesh/src/mesh_models/server/gen_srv.c
100644 → 100755
Empty file.
Empty file.
Empty file.
Loading

0 comments on commit 8d6fda3

Please sign in to comment.