Add EOL to non-keyboard files (#24990)
This commit is contained in:
parent
12f9f34fc8
commit
6e1d3d6d07
119 changed files with 119 additions and 119 deletions
|
@ -315,4 +315,4 @@ __attribute__((weak)) i2c_status_t i2c_ping_address(uint8_t address, uint16_t ti
|
|||
i2c_status_t status = i2c_start(address, timeout);
|
||||
i2c_stop();
|
||||
return status;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,4 +17,4 @@
|
|||
|
||||
#include_next <board.h>
|
||||
|
||||
#undef STM32_HSE_BYPASS
|
||||
#undef STM32_HSE_BYPASS
|
||||
|
|
|
@ -87,4 +87,4 @@
|
|||
|
||||
#ifndef USB_VBUS_PIN
|
||||
# define USB_VBUS_PIN PAL_LINE(GPIOA, 9)
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -46,4 +46,4 @@
|
|||
# define SPI_USE_WAIT TRUE
|
||||
#endif
|
||||
|
||||
#include_next <halconf.h>
|
||||
#include_next <halconf.h>
|
||||
|
|
|
@ -6,4 +6,4 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY
|
|||
|
||||
# Shared variables
|
||||
ALLCSRC += $(BOARDSRC)
|
||||
ALLINC += $(BOARDINC)
|
||||
ALLINC += $(BOARDINC)
|
||||
|
|
|
@ -6,4 +6,4 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY
|
|||
|
||||
# Shared variables
|
||||
ALLCSRC += $(BOARDSRC)
|
||||
ALLINC += $(BOARDINC)
|
||||
ALLINC += $(BOARDINC)
|
||||
|
|
|
@ -21,4 +21,4 @@
|
|||
|
||||
#include_next <board.h>
|
||||
|
||||
#undef STM32_HSE_BYPASS
|
||||
#undef STM32_HSE_BYPASS
|
||||
|
|
|
@ -27,4 +27,4 @@
|
|||
#if 0
|
||||
#define STM32_BOOTLOADER_DUAL_BANK TRUE
|
||||
#define STM32_BOOTLOADER_DUAL_BANK_GPIO B7
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#define CH_CFG_ST_TIMEDELTA 0
|
||||
|
||||
#include_next <chconf.h>
|
||||
#include_next <chconf.h>
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
|
||||
#define CH_CFG_ST_TIMEDELTA 0
|
||||
|
||||
#include_next <chconf.h>
|
||||
#include_next <chconf.h>
|
||||
|
|
|
@ -20,4 +20,4 @@
|
|||
struct _reent;
|
||||
#endif
|
||||
|
||||
#include_next <chconf.h>
|
||||
#include_next <chconf.h>
|
||||
|
|
|
@ -25,4 +25,4 @@ __attribute__((weak)) void bootloader_jump(void) {
|
|||
__attribute__((weak)) void mcu_reset(void) {
|
||||
BKP->DR10 = RTC_BOOTLOADER_JUST_UPLOADED;
|
||||
NVIC_SystemReset();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -37,4 +37,4 @@
|
|||
// If this is undesirable, either B0 or B5 can be redefined by
|
||||
// using #undef and #define to change its assignment
|
||||
#define B0 PAL_LINE(GPIOB, 2)
|
||||
#define D5 PAL_LINE(GPIOB, 2)
|
||||
#define D5 PAL_LINE(GPIOB, 2)
|
||||
|
|
|
@ -2,4 +2,4 @@ BACKLIGHT_DRIVER ?= pwm
|
|||
WS2812_DRIVER ?= pwm
|
||||
SERIAL_DRIVER ?= usart
|
||||
FLASH_DRIVER ?= spi
|
||||
EEPROM_DRIVER ?= spi
|
||||
EEPROM_DRIVER ?= spi
|
||||
|
|
|
@ -206,4 +206,4 @@ __attribute__((weak)) i2c_status_t i2c_ping_address(uint8_t address, uint16_t ti
|
|||
// This approach may produce false negative results for I2C devices that do not respond to a register 0 read request.
|
||||
uint8_t data = 0;
|
||||
return i2c_read_register(address, 0, &data, sizeof(data), timeout);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,4 +76,4 @@ __attribute__((weak)) usbpd_allowance_t usbpd_get_allowance(void) {
|
|||
}
|
||||
|
||||
return USBPD_500MA;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
void platform_setup(void) {
|
||||
halInit();
|
||||
chSysInit();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,4 +18,4 @@
|
|||
|
||||
void platform_setup(void) {
|
||||
// do nothing
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue