Add EOL to non-keyboard files (#24990)

This commit is contained in:
Joel Challis 2025-03-06 23:17:51 +00:00 committed by GitHub
parent 12f9f34fc8
commit 6e1d3d6d07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
119 changed files with 119 additions and 119 deletions

View file

@ -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;
}
}

View file

@ -17,4 +17,4 @@
#include_next <board.h>
#undef STM32_HSE_BYPASS
#undef STM32_HSE_BYPASS

View file

@ -87,4 +87,4 @@
#ifndef USB_VBUS_PIN
# define USB_VBUS_PIN PAL_LINE(GPIOA, 9)
#endif
#endif

View file

@ -46,4 +46,4 @@
# define SPI_USE_WAIT TRUE
#endif
#include_next <halconf.h>
#include_next <halconf.h>

View file

@ -6,4 +6,4 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY
# Shared variables
ALLCSRC += $(BOARDSRC)
ALLINC += $(BOARDINC)
ALLINC += $(BOARDINC)

View file

@ -6,4 +6,4 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY
# Shared variables
ALLCSRC += $(BOARDSRC)
ALLINC += $(BOARDINC)
ALLINC += $(BOARDINC)

View file

@ -21,4 +21,4 @@
#include_next <board.h>
#undef STM32_HSE_BYPASS
#undef STM32_HSE_BYPASS

View file

@ -27,4 +27,4 @@
#if 0
#define STM32_BOOTLOADER_DUAL_BANK TRUE
#define STM32_BOOTLOADER_DUAL_BANK_GPIO B7
#endif
#endif

View file

@ -23,4 +23,4 @@
#define CH_CFG_ST_TIMEDELTA 0
#include_next <chconf.h>
#include_next <chconf.h>

View file

@ -23,4 +23,4 @@
#define CH_CFG_ST_TIMEDELTA 0
#include_next <chconf.h>
#include_next <chconf.h>

View file

@ -20,4 +20,4 @@
struct _reent;
#endif
#include_next <chconf.h>
#include_next <chconf.h>

View file

@ -25,4 +25,4 @@ __attribute__((weak)) void bootloader_jump(void) {
__attribute__((weak)) void mcu_reset(void) {
BKP->DR10 = RTC_BOOTLOADER_JUST_UPLOADED;
NVIC_SystemReset();
}
}

View file

@ -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)

View file

@ -2,4 +2,4 @@ BACKLIGHT_DRIVER ?= pwm
WS2812_DRIVER ?= pwm
SERIAL_DRIVER ?= usart
FLASH_DRIVER ?= spi
EEPROM_DRIVER ?= spi
EEPROM_DRIVER ?= spi

View file

@ -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);
}
}

View file

@ -76,4 +76,4 @@ __attribute__((weak)) usbpd_allowance_t usbpd_get_allowance(void) {
}
return USBPD_500MA;
}
}

View file

@ -19,4 +19,4 @@
void platform_setup(void) {
halInit();
chSysInit();
}
}

View file

@ -18,4 +18,4 @@
void platform_setup(void) {
// do nothing
}
}