mirror of
https://github.com/hathach/tinyusb.git
synced 2025-01-17 05:32:55 +08:00
fix trailing space and new line
temporarily disable codespell
This commit is contained in:
parent
2faad42cb1
commit
3623ba1884
@ -13,11 +13,11 @@ repos:
|
||||
|
||||
- repo: local
|
||||
hooks:
|
||||
- id: codespell
|
||||
name: codespell
|
||||
entry: codespell
|
||||
types_or: [c, header]
|
||||
language: system
|
||||
#- id: codespell
|
||||
# name: codespell
|
||||
# entry: codespell
|
||||
# types_or: [c, header]
|
||||
# language: system
|
||||
|
||||
- id: unit-test
|
||||
name: unit-test
|
||||
|
@ -15,4 +15,3 @@ python:
|
||||
submodules:
|
||||
include: []
|
||||
recursive: false
|
||||
|
@ -31,4 +31,3 @@ if __name__ == '__main__':
|
||||
plt.ylabel('Amplitude')
|
||||
plt.title('MicNode 4 Channel')
|
||||
plt.show()
|
||||
|
@ -35,4 +35,3 @@ if __name__ == '__main__':
|
||||
|
||||
samples = np.array(myrecording)
|
||||
np.savetxt('Output.csv', samples, delimiter=",", fmt='%s')
|
||||
|
@ -35,4 +35,3 @@ if __name__ == '__main__':
|
||||
|
||||
samples = np.array(myrecording)
|
||||
np.savetxt('Output.csv', samples, delimiter=",", fmt='%s')
|
||||
|
@ -65,4 +65,3 @@ function isDevice(board,d){
|
||||
// product id 0xff is matches all
|
||||
return d.vendorId==board[0] && (d.productId==board[1] || board[1] == 0xFFFF);
|
||||
}
|
||||
|
||||
|
@ -68,4 +68,3 @@ void tuh_msc_umount_cb(uint8_t dev_addr)
|
||||
(void) dev_addr;
|
||||
printf("A MassStorage device is unmounted\r\n");
|
||||
}
|
||||
|
||||
|
@ -254,4 +254,3 @@ void chip_reboot(void)
|
||||
dbg_memory_copy(0xfe, 0, 0, 255);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -165,6 +165,3 @@ SECTIONS
|
||||
} >RAM
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
@ -36,8 +36,3 @@
|
||||
|
||||
|
||||
#endif /* __CH32V30x_CONF_H */
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -45,5 +45,3 @@ __attribute__((used)) void HardFault_Handler_impl(void)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -14,5 +14,3 @@
|
||||
|
||||
|
||||
#endif /* __CH32V30x_IT_H */
|
||||
|
||||
|
||||
|
@ -377,8 +377,3 @@ extern uint32_t __get_SP(void);
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@ -25,6 +25,3 @@ extern void SystemCoreClockUpdate(void);
|
||||
#endif
|
||||
|
||||
#endif /*__CH32V30x_SYSTEM_H */
|
||||
|
||||
|
||||
|
||||
|
@ -242,4 +242,3 @@ SECTIONS
|
||||
/* Check that intvect is at the beginning of RAM */
|
||||
ASSERT(__intvect_start__ == ORIGIN(RAM), "intvect is not at beginning of RAM")
|
||||
}
|
||||
|
||||
|
@ -242,4 +242,3 @@ SECTIONS
|
||||
/* Check that intvect is at the beginning of RAM */
|
||||
ASSERT(__intvect_start__ == ORIGIN(RAM), "intvect is not at beginning of RAM")
|
||||
}
|
||||
|
||||
|
@ -150,4 +150,3 @@ int board_uart_write(void const * buf, int len)
|
||||
(void) buf; (void) len;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -5,4 +5,3 @@ idf_component_register(SRCS "${component_srcs}"
|
||||
PRIV_INCLUDE_DIRS ""
|
||||
PRIV_REQUIRES "driver"
|
||||
REQUIRES "")
|
||||
|
||||
|
@ -21,4 +21,3 @@ UF2_FAMILY_ID = 0xbfdd4eee
|
||||
$(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin
|
||||
@echo CREATE $@
|
||||
$(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -b 0x0 -c -o $@ $^
|
||||
|
||||
|
@ -150,4 +150,3 @@ int board_uart_write(void const * buf, int len)
|
||||
(void) buf; (void) len;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -5,4 +5,3 @@ idf_component_register(SRCS "${component_srcs}"
|
||||
PRIV_INCLUDE_DIRS ""
|
||||
PRIV_REQUIRES "driver"
|
||||
REQUIRES "")
|
||||
|
||||
|
@ -23,4 +23,3 @@ UF2_FAMILY_ID = 0xc47e5767
|
||||
$(BUILD)/$(PROJECT).uf2: $(BUILD)/$(PROJECT).bin
|
||||
@echo CREATE $@
|
||||
$(PYTHON) $(TOP)/tools/uf2/utils/uf2conv.py -f $(UF2_FAMILY_ID) -b 0x0 -c -o $@ $^
|
||||
|
||||
|
@ -214,4 +214,3 @@ SECTIONS
|
||||
|
||||
ASSERT(__StackLimit >= __HeapLimit, "region m_data overflowed with stack and heap")
|
||||
}
|
||||
|
||||
|
@ -231,4 +231,3 @@ SECTIONS
|
||||
|
||||
ASSERT(__StackLimit >= __HeapLimit, "region m_data overflowed with stack and heap")
|
||||
}
|
||||
|
||||
|
@ -8,4 +8,3 @@ JLINK_DEVICE = ATSAMD21G18
|
||||
# flash using dfu-util
|
||||
flash: $(BUILD)/$(PROJECT).bin
|
||||
dfu-util -a 0 -d 1d50:615c -D $< || dfu-util -a 0 -d 16d0:05a5 -D $<
|
||||
|
||||
|
@ -31,4 +31,3 @@
|
||||
|
||||
// UART
|
||||
#define UART_SERCOM 0
|
||||
|
||||
|
@ -2,4 +2,3 @@ CFLAGS += -D__SAMD21E18A__ -DCFG_EXAMPLE_VIDEO_READONLY
|
||||
|
||||
# All source paths should be relative to the top level.
|
||||
LD_FILE = $(BOARD_PATH)/trinket_m0.ld
|
||||
|
||||
|
@ -7,4 +7,3 @@ LD_FILE = $(BOARD_PATH)/$(BOARD).ld
|
||||
JLINK_DEVICE = ATSAMD51J19
|
||||
|
||||
flash: flash-bossac
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -318,4 +318,3 @@
|
||||
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -185,5 +185,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -185,5 +185,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -185,5 +185,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -185,5 +185,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -186,5 +186,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -16,4 +16,3 @@ JLINK_DEVICE = stm32h750ibk6_m7
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
||||
|
@ -172,5 +172,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -169,5 +169,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -169,5 +169,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -19,4 +19,3 @@ JLINK_DEVICE = stm32h745xi_m7
|
||||
|
||||
# flash target using on-board stlink
|
||||
flash: flash-stlink
|
||||
|
||||
|
@ -171,5 +171,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -335,4 +335,3 @@
|
||||
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
||||
|
||||
|
@ -165,5 +165,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -180,5 +180,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -179,5 +179,3 @@ SECTIONS
|
||||
|
||||
.ARM.attributes 0 : { *(.ARM.attributes) }
|
||||
}
|
||||
|
||||
|
||||
|
@ -503,4 +503,3 @@
|
||||
#endif
|
||||
|
||||
#endif /* STM32U5xx_HAL_CONF_H */
|
||||
|
||||
|
@ -167,5 +167,3 @@ SECTIONS
|
||||
MB_MEM1 (NOLOAD) : { *(MB_MEM1) } >RAM_SHARED
|
||||
MB_MEM2 (NOLOAD) : { _sMB_MEM2 = . ; *(MB_MEM2) ; _eMB_MEM2 = . ; } >RAM_SHARED
|
||||
}
|
||||
|
||||
|
||||
|
@ -175,4 +175,3 @@ uint32_t board_millis (void)
|
||||
return system_ticks;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -5,5 +5,3 @@ Most of the files there can't be redistributed.
|
||||
Registers definition file `DA1469xAB.h` and some **ARM** originated headers are have licenses that allow
|
||||
for redistribution.
|
||||
Whole SDK repository can be downloaded from Dialog Semiconductor web page `https://www.dialog.com`
|
||||
|
||||
|
||||
|
@ -24,4 +24,3 @@
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
---------------------------------------------------------------------------*/
|
||||
|
||||
|
@ -268,4 +268,3 @@
|
||||
|
||||
|
||||
#endif /* __CMSIS_COMPILER_H */
|
||||
|
||||
|
@ -344,4 +344,3 @@ __STATIC_INLINE void ARM_MPU_Load_NS(uint32_t rnr, ARM_MPU_Region_t const* table
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -225,4 +225,3 @@ SECTIONS
|
||||
/* Check that intvect is at the beginning of RAM */
|
||||
ASSERT(__intvect_start__ == ORIGIN(RAM), "intvect is not at beginning of RAM")
|
||||
}
|
||||
|
||||
|
@ -162,4 +162,3 @@ void mcu_gpio_exit_sleep(void);
|
||||
#endif
|
||||
|
||||
#endif /* __MCU_MCU_H_ */
|
||||
|
||||
|
@ -366,4 +366,3 @@ R0.15 (November 6, 2022)
|
||||
Fixed f_mkfs() creates broken exFAT volume when the size of volume is >= 2^32 sectors.
|
||||
Fixed string functions cannot write the unicode characters not in BMP when FF_LFN_UNICODE == 2 (UTF-8).
|
||||
Fixed a compatibility issue in identification of GPT header.
|
||||
|
||||
|
@ -18,4 +18,3 @@ FILES
|
||||
module is only a generic file system layer and it does not depend on any specific
|
||||
storage device. You need to provide a low level disk I/O module written to
|
||||
control the storage device that attached to the target system.
|
||||
|
||||
|
@ -226,4 +226,3 @@ DRESULT disk_ioctl (
|
||||
|
||||
return RES_PARERR;
|
||||
}
|
||||
|
||||
|
@ -7081,4 +7081,3 @@ FRESULT f_setcp (
|
||||
return FR_OK;
|
||||
}
|
||||
#endif /* FF_CODE_PAGE == 0 */
|
||||
|
||||
|
@ -205,4 +205,3 @@ void ff_mutex_give (
|
||||
}
|
||||
|
||||
#endif /* FF_FS_REENTRANT */
|
||||
|
||||
|
@ -316,4 +316,3 @@ typedef struct TU_ATTR_PACKED
|
||||
TU_VERIFY_STATIC(sizeof(usbtmc_read_stb_interrupt_488_t) == 2u, "struct wrong length");
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -874,4 +874,3 @@ void dcd_int_disable (uint8_t rhport)
|
||||
}
|
||||
|
||||
#endif // #if OPT_MCU_ESP32S2 || OPT_MCU_ESP32S3
|
||||
|
||||
|
@ -44,4 +44,3 @@ void hcd_int_disable(uint8_t rhport)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -575,4 +575,3 @@ void dcd_int_handler(uint8_t rhport)
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -715,4 +715,3 @@ void hcd_int_handler(uint8_t hostid)
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -1379,4 +1379,3 @@ static bool dcd_read_packet_memory_ff(tu_fifo_t * ff, uint16_t src, uint16_t wNB
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -59,4 +59,3 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *Data, size_t Size) {
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -71,4 +71,3 @@ RNDIS_PACKET_TYPE_FUNCTIONAL="\x00\x00\x40\x00"
|
||||
# NIC driver frames that a Token Ring NIC receives.
|
||||
RNDIS_PACKET_TYPE_MAC_FRAME="\x00\x00\x80\x00"
|
||||
RNDIS_PACKET_TYPE_NO_LOCAL="\x00\x01\x00\x00"
|
||||
|
||||
|
@ -132,4 +132,3 @@ endif
|
||||
ifneq ($(LOGGER),)
|
||||
CMAKE_DEFSYM += -DLOGGER=$(LOGGER)
|
||||
endif
|
||||
|
||||
|
@ -96,4 +96,3 @@ module Ceedling
|
||||
DEFAULT_CEEDLING_CONFIG[:plugins][:load_paths] << gem_dir
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -379,4 +379,3 @@ class Configurator
|
||||
|
||||
|
||||
end
|
||||
|
||||
|
@ -146,4 +146,3 @@ class FileFinder
|
||||
return @file_finder_helper.find_file_in_collection(file_path, file_list, complain)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -52,5 +52,3 @@ class FileFinderHelper
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
@ -16,4 +16,3 @@ def par_map(n, things, &block)
|
||||
end
|
||||
threads.each { |t| t.join }
|
||||
end
|
||||
|
||||
|
@ -23,4 +23,3 @@ rule(/#{PROJECT_TEST_PREPROCESS_INCLUDES_PATH}\/.+/ => [
|
||||
]) do |file|
|
||||
@ceedling[:generator].generate_shallow_includes_list(TEST_SYM, file.source)
|
||||
end
|
||||
|
||||
|
@ -96,4 +96,3 @@ namespace RELEASE_SYM do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
@ -12,4 +12,3 @@ rule(/#{PROJECT_RELEASE_DEPENDENCIES_PATH}\/#{'.+\\'+EXTENSION_DEPENDENCIES}$/ =
|
||||
@ceedling[:file_path_utils].form_release_build_c_object_filepath(dep.source),
|
||||
dep.name)
|
||||
end
|
||||
|
||||
|
@ -70,4 +70,3 @@ namespace TEST_SYM do
|
||||
@ceedling[:test_invoker].setup_and_invoke([test.source])
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -12,4 +12,3 @@ rule(/#{PROJECT_TEST_DEPENDENCIES_PATH}\/#{'.+\\'+EXTENSION_DEPENDENCIES}$/ => [
|
||||
@ceedling[:file_path_utils].form_test_build_c_object_filepath(dep.source),
|
||||
dep.name)
|
||||
end
|
||||
|
||||
|
@ -113,4 +113,3 @@ task :summary do
|
||||
puts "\nNOTE: Summaries may be out of date with project sources.\n\n"
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -109,5 +109,3 @@ namespace :files do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
||||
|
@ -27,4 +27,3 @@ task RELEASE_SYM => [:directories] do
|
||||
@ceedling[:plugin_manager].post_release
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -59,4 +59,3 @@ namespace TEST_SYM do
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
|
@ -37,4 +37,3 @@ class Beep < Plugin
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -12,4 +12,3 @@ BRANCHES: <%=sprintf(format_string, hash[:coverage][:branches])%>%
|
||||
% else
|
||||
BRANCHES: none
|
||||
% end
|
||||
|
||||
|
@ -89,4 +89,3 @@ class CommandHooks < Plugin
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -12,4 +12,3 @@ BRANCHES: <%=sprintf(format_string, hash[:coverage][:branches])%>%
|
||||
% else
|
||||
BRANCHES: none
|
||||
% end
|
||||
|
||||
|
@ -115,5 +115,3 @@ Your options are as follows:
|
||||
- `:camel` - camelFilesAreSimilarButStartLow
|
||||
- `:snake` - snake_case_is_all_lower_and_uses_underscores
|
||||
- `:caps` - CAPS_FEELS_LIKE_YOU_ARE_SCREAMING
|
||||
|
||||
|
||||
|
@ -56,4 +56,3 @@ IGNORED: <%=sprintf(format_string, ignored)%>
|
||||
|
||||
No tests executed.
|
||||
% end
|
||||
|
||||
|
@ -75,4 +75,3 @@ SUBPROJECTS_PATHS.each do |subproj|
|
||||
# Finally, add the static library to our RELEASE build dependency list
|
||||
task RELEASE_SYM => ["#{subproj_build_root}/#{subproj_name}#{EXTENSION_SUBPROJECTS}"]
|
||||
end
|
||||
|
||||
|
@ -43,4 +43,3 @@ void Throw(CEXCEPTION_T ExceptionID)
|
||||
} <- finish off that local scope we created to have our own variables
|
||||
if (CExceptionFrames[CEXCEPTION_GET_ID].Exception != CEXCEPTION_NONE) <- start the actual 'catch' processing if we have an exception id saved away
|
||||
*/
|
||||
|
||||
|
@ -213,4 +213,3 @@ void CMock_Guts_MemFreeFinal(void)
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
@ -33,4 +33,3 @@ module DIY #:nodoc:#
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user