all: Prune trailing whitespace.
Prune trailing whitespace across the whole project (almost), done
automatically with:
grep -IUrl --color "[[:blank:]]$" --exclude-dir=.git --exclude=*.exp |\
xargs sed -i 's/[[:space:]]*$//'
Exceptions:
- Skip third-party code in lib/ and drivers/cc3100/
- Skip generated code in bluetooth_init_cc2564C_1.5.c
- Preserve command output whitespace in docs, eg:
docs/esp8266/tutorial/repl.rst
Signed-off-by: Phil Howard <phil@gadgetoid.com>
This commit is contained in:
committed by
Damien George
parent
decf8e6a8b
commit
dda9b9c6da
@@ -282,7 +282,7 @@ SRC_C += \
|
||||
SRC_O += \
|
||||
$(STARTUP_FILE) \
|
||||
$(SYSTEM_FILE)
|
||||
|
||||
|
||||
ifeq ($(MCU_SERIES),$(filter $(MCU_SERIES),f0 g0 l0))
|
||||
CSUPEROPT = -Os # save some code space
|
||||
SRC_O += \
|
||||
|
||||
@@ -10,7 +10,7 @@ MEMORY
|
||||
FLASH_FS (r) : ORIGIN = 0x08020000, LENGTH = 128K /* sector 1, 128K */
|
||||
FLASH_TEXT (rx) : ORIGIN = 0x08040000, LENGTH = 1792K /* sectors 6*128 + 8*128 */
|
||||
DTCM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K /* Used for storage cache */
|
||||
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 512K /* AXI SRAM */
|
||||
RAM (xrw) : ORIGIN = 0x24000000, LENGTH = 512K /* AXI SRAM */
|
||||
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
|
||||
}
|
||||
|
||||
|
||||
@@ -68,22 +68,22 @@ typedef struct _USBD_STORAGE {
|
||||
} USBD_StorageTypeDef;
|
||||
|
||||
typedef struct {
|
||||
uint32_t max_lun;
|
||||
uint32_t interface;
|
||||
uint32_t max_lun;
|
||||
uint32_t interface;
|
||||
uint8_t bot_state;
|
||||
uint8_t bot_status;
|
||||
uint8_t bot_status;
|
||||
uint16_t bot_data_length;
|
||||
uint8_t bot_data[MSC_MEDIA_PACKET];
|
||||
uint8_t bot_data[MSC_MEDIA_PACKET];
|
||||
USBD_MSC_BOT_CBWTypeDef cbw;
|
||||
USBD_MSC_BOT_CSWTypeDef csw;
|
||||
|
||||
|
||||
USBD_SCSI_SenseTypeDef scsi_sense [SENSE_LIST_DEEPTH];
|
||||
uint8_t scsi_sense_head;
|
||||
uint8_t scsi_sense_tail;
|
||||
|
||||
|
||||
uint16_t scsi_blk_size[USBD_MSC_MAX_LUN];
|
||||
uint32_t scsi_blk_nbr[USBD_MSC_MAX_LUN];
|
||||
|
||||
|
||||
uint32_t scsi_blk_addr_in_blks;
|
||||
uint32_t scsi_blk_len;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user