Skip to content

Commit

Permalink
Merge pull request #14 from robertlipe/clean_components
Browse files Browse the repository at this point in the history
Clean components: fix whitespace in components/
  • Loading branch information
YafeiJin authored Nov 10, 2020
2 parents fef645a + 3bc544d commit e231762
Show file tree
Hide file tree
Showing 621 changed files with 88,783 additions and 88,783 deletions.
6 changes: 3 additions & 3 deletions components/audio/audio_device/bouffalo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ COMPONENT_ADD_INCLUDEDIRS += audio_device/include
## not be exported to project level
COMPONENT_PRIV_INCLUDEDIRS := audio_device/include

## This component's src
## This component's src
ifeq ($(CONFIG_CHIP_NAME),BL602)
COMPONENT_SRCS := bl602_dac/bl602_dac_device.c
COMPONENT_SRCDIRS := bl602_dac
endif

ifeq ($(CONFIG_CHIP_NAME),BL60X)
COMPONENT_SRCS := bl60x_i2s/bl60x_i2s_device.c
COMPONENT_SRCS := bl60x_i2s/bl60x_i2s_device.c
COMPONENT_SRCDIRS := bl60x_i2s
endif

COMPONENT_OBJS := $(patsubst %.c,%.o, $(COMPONENT_SRCS))

##
#CPPFLAGS +=
#CPPFLAGS +=
4 changes: 2 additions & 2 deletions components/audio/audio_framework/bouffalo.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ COMPONENT_ADD_INCLUDEDIRS += audio_framework/include
## not be exported to project level
COMPONENT_PRIV_INCLUDEDIRS := audio_framework/include

## This component's src
## This component's src
COMPONENT_SRCS := audio_framework/audio_framework.c

COMPONENT_OBJS := $(patsubst %.c,%.o, $(COMPONENT_SRCS))
Expand All @@ -15,4 +15,4 @@ COMPONENT_SRCDIRS := audio_framework


##
#CPPFLAGS +=
#CPPFLAGS +=
10 changes: 5 additions & 5 deletions components/bl602/bl602/evb/evb.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ toolchains := gcc
# Component Makefile
#
## These include paths would be exported to project level
COMPONENT_ADD_INCLUDEDIRS +=
COMPONENT_ADD_INCLUDEDIRS +=

## not be exported to project level
COMPONENT_PRIV_INCLUDEDIRS :=
COMPONENT_PRIV_INCLUDEDIRS :=

## This component's src
## This component's src
COMPONENT_SRCS1 := evb/src/boot/$(toolchains)/entry.S \
evb/src/boot/$(toolchains)/start.S \
evb/src/debug.c \
Expand Down Expand Up @@ -39,7 +39,7 @@ endif
##
COMPONENT_ADD_LDFLAGS += -L $(COMPONENT_PATH)/evb/ld \
$(addprefix -T ,$(LINKER_SCRIPTS))
##
##
COMPONENT_ADD_LINKER_DEPS := $(addprefix evb/ld/,$(LINKER_SCRIPTS))
endif

Expand Down
4 changes: 2 additions & 2 deletions components/bl602/bl602/evb/ld/flash.ld
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ SECTIONS
*(.srodata.cst4)
*(.srodata.cst2)
*(.srodata .srodata.*)

. = ALIGN(8);
*(._k_queue.static.*)
*(._k_sem.static.*)
Expand Down Expand Up @@ -196,7 +196,7 @@ SECTIONS

/*BOOT2 sections*/
PROVIDE ( __boot2_pt_addr_src = BOOT2_PT_ADDR );
PROVIDE ( __boot2_flashCfg_src = BOOT2_FLASHCFG_ADDR );
PROVIDE ( __boot2_flashCfg_src = BOOT2_FLASHCFG_ADDR );

PROVIDE(__LD_CONFIG_EM_SEL = __EM_SIZE);
}
8 changes: 4 additions & 4 deletions components/bl602/bl602/evb/ld/flash_rom.ld
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ SECTIONS
_bl_static_blogpri_code_end = .;

*(.gnu.linkonce.r.*)

/*Framework table section, use ALIGN here to avoid fill section*/
. = ALIGN(4);
_rom_framework_audio_device_start = .;
Expand Down Expand Up @@ -136,7 +136,7 @@ SECTIONS
*(.srodata.cst4)
*(.srodata.cst2)
*(.srodata .srodata.*)

. = ALIGN(8);
*(._k_queue.static.*)
*(._k_sem.static.*)
Expand Down Expand Up @@ -213,7 +213,7 @@ SECTIONS

/*BOOT2 sections*/
PROVIDE ( __boot2_pt_addr_src = BOOT2_PT_ADDR );
PROVIDE ( __boot2_flashCfg_src = BOOT2_FLASHCFG_ADDR );
PROVIDE ( __boot2_flashCfg_src = BOOT2_FLASHCFG_ADDR );

PROVIDE(xTaskGetTickCount = 0x0000000021017694);
PROVIDE(xTaskGetTickCountFromISR = 0x00000000210176aa);
Expand Down Expand Up @@ -269,7 +269,7 @@ SECTIONS
PROVIDE(vTaskStartScheduler = 0x0000000021017610);
PROVIDE(vPortDefineHeapRegions = 0x00000000210197da);
PROVIDE(__LD_CONFIG_EM_SEL = __EM_SIZE);

PROVIDE( _ld_symbol_rom_framework_audio_device_start = _rom_framework_audio_device_start);
PROVIDE( _ld_symbol_rom_framework_audio_device_end = _rom_framework_audio_device_end);

Expand Down
2 changes: 1 addition & 1 deletion components/bl602/bl602/evb/ld/ram.ld
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,5 @@ SECTIONS
PROVIDE( _ld_ram_addr1 = 0);
PROVIDE( _ld_ram_size2 = 0);
PROVIDE( _ld_ram_addr2 = 0);

}
Empty file modified components/bl602/bl602/evb/src/compat_attribute.h
100755 → 100644
Empty file.
Loading

0 comments on commit e231762

Please sign in to comment.