diff options
| author | Joel Challis <git@zvecr.com> | 2025-03-06 23:17:51 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-06 23:17:51 +0000 |
| commit | 6e1d3d6d077f50cb61d37f8310162b38b109fa87 (patch) | |
| tree | 65eb42f93e90b6649d927718d7adacad9dbeb7d5 /platforms | |
| parent | 12f9f34fc82e3bab7c92f488a1528592c4bc9628 (diff) | |
Add EOL to non-keyboard files (#24990)
Diffstat (limited to 'platforms')
18 files changed, 18 insertions, 18 deletions
diff --git a/platforms/avr/drivers/i2c_master.c b/platforms/avr/drivers/i2c_master.c index 64083d862a..9136f4a7b9 100644 --- a/platforms/avr/drivers/i2c_master.c +++ b/platforms/avr/drivers/i2c_master.c | |||
| @@ -315,4 +315,4 @@ __attribute__((weak)) i2c_status_t i2c_ping_address(uint8_t address, uint16_t ti | |||
| 315 | i2c_status_t status = i2c_start(address, timeout); | 315 | i2c_status_t status = i2c_start(address, timeout); |
| 316 | i2c_stop(); | 316 | i2c_stop(); |
| 317 | return status; | 317 | return status; |
| 318 | } \ No newline at end of file | 318 | } |
diff --git a/platforms/chibios/boards/BONSAI_C4/configs/board.h b/platforms/chibios/boards/BONSAI_C4/configs/board.h index 372b9bb8bc..81c80b2773 100644 --- a/platforms/chibios/boards/BONSAI_C4/configs/board.h +++ b/platforms/chibios/boards/BONSAI_C4/configs/board.h | |||
| @@ -17,4 +17,4 @@ | |||
| 17 | 17 | ||
| 18 | #include_next <board.h> | 18 | #include_next <board.h> |
| 19 | 19 | ||
| 20 | #undef STM32_HSE_BYPASS \ No newline at end of file | 20 | #undef STM32_HSE_BYPASS |
diff --git a/platforms/chibios/boards/BONSAI_C4/configs/config.h b/platforms/chibios/boards/BONSAI_C4/configs/config.h index e933cd6fd1..e0e95eda25 100644 --- a/platforms/chibios/boards/BONSAI_C4/configs/config.h +++ b/platforms/chibios/boards/BONSAI_C4/configs/config.h | |||
| @@ -87,4 +87,4 @@ | |||
| 87 | 87 | ||
| 88 | #ifndef USB_VBUS_PIN | 88 | #ifndef USB_VBUS_PIN |
| 89 | # define USB_VBUS_PIN PAL_LINE(GPIOA, 9) | 89 | # define USB_VBUS_PIN PAL_LINE(GPIOA, 9) |
| 90 | #endif \ No newline at end of file | 90 | #endif |
diff --git a/platforms/chibios/boards/BONSAI_C4/configs/halconf.h b/platforms/chibios/boards/BONSAI_C4/configs/halconf.h index 6bab6fbcff..55bafe5cfa 100644 --- a/platforms/chibios/boards/BONSAI_C4/configs/halconf.h +++ b/platforms/chibios/boards/BONSAI_C4/configs/halconf.h | |||
| @@ -46,4 +46,4 @@ | |||
| 46 | # define SPI_USE_WAIT TRUE | 46 | # define SPI_USE_WAIT TRUE |
| 47 | #endif | 47 | #endif |
| 48 | 48 | ||
| 49 | #include_next <halconf.h> \ No newline at end of file | 49 | #include_next <halconf.h> |
diff --git a/platforms/chibios/boards/GENERIC_STM32_F405XG/board/board.mk b/platforms/chibios/boards/GENERIC_STM32_F405XG/board/board.mk index 6c837bb8ee..00cc9b20b2 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F405XG/board/board.mk +++ b/platforms/chibios/boards/GENERIC_STM32_F405XG/board/board.mk | |||
| @@ -6,4 +6,4 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY | |||
| 6 | 6 | ||
| 7 | # Shared variables | 7 | # Shared variables |
| 8 | ALLCSRC += $(BOARDSRC) | 8 | ALLCSRC += $(BOARDSRC) |
| 9 | ALLINC += $(BOARDINC) \ No newline at end of file | 9 | ALLINC += $(BOARDINC) |
diff --git a/platforms/chibios/boards/GENERIC_STM32_F407XE/board/board.mk b/platforms/chibios/boards/GENERIC_STM32_F407XE/board/board.mk index 6c837bb8ee..00cc9b20b2 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F407XE/board/board.mk +++ b/platforms/chibios/boards/GENERIC_STM32_F407XE/board/board.mk | |||
| @@ -6,4 +6,4 @@ BOARDINC = $(CHIBIOS)/os/hal/boards/ST_STM32F4_DISCOVERY | |||
| 6 | 6 | ||
| 7 | # Shared variables | 7 | # Shared variables |
| 8 | ALLCSRC += $(BOARDSRC) | 8 | ALLCSRC += $(BOARDSRC) |
| 9 | ALLINC += $(BOARDINC) \ No newline at end of file | 9 | ALLINC += $(BOARDINC) |
diff --git a/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/board.h b/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/board.h index a0d53d86e7..c2f25db810 100644 --- a/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/board.h +++ b/platforms/chibios/boards/GENERIC_STM32_F407XE/configs/board.h | |||
| @@ -21,4 +21,4 @@ | |||
| 21 | 21 | ||
| 22 | #include_next <board.h> | 22 | #include_next <board.h> |
| 23 | 23 | ||
| 24 | #undef STM32_HSE_BYPASS \ No newline at end of file | 24 | #undef STM32_HSE_BYPASS |
diff --git a/platforms/chibios/boards/GENERIC_STM32_G474XE/configs/config.h b/platforms/chibios/boards/GENERIC_STM32_G474XE/configs/config.h index eb74d68e85..da0a634bb5 100644 --- a/platforms/chibios/boards/GENERIC_STM32_G474XE/configs/config.h +++ b/platforms/chibios/boards/GENERIC_STM32_G474XE/configs/config.h | |||
| @@ -27,4 +27,4 @@ | |||
| 27 | #if 0 | 27 | #if 0 |
| 28 | #define STM32_BOOTLOADER_DUAL_BANK TRUE | 28 | #define STM32_BOOTLOADER_DUAL_BANK TRUE |
| 29 | #define STM32_BOOTLOADER_DUAL_BANK_GPIO B7 | 29 | #define STM32_BOOTLOADER_DUAL_BANK_GPIO B7 |
| 30 | #endif \ No newline at end of file | 30 | #endif |
diff --git a/platforms/chibios/boards/GENERIC_WB32_F3G71XX/configs/chconf.h b/platforms/chibios/boards/GENERIC_WB32_F3G71XX/configs/chconf.h index e4afddb6a5..fa0b6f11d0 100644 --- a/platforms/chibios/boards/GENERIC_WB32_F3G71XX/configs/chconf.h +++ b/platforms/chibios/boards/GENERIC_WB32_F3G71XX/configs/chconf.h | |||
| @@ -23,4 +23,4 @@ | |||
| 23 | 23 | ||
| 24 | #define CH_CFG_ST_TIMEDELTA 0 | 24 | #define CH_CFG_ST_TIMEDELTA 0 |
| 25 | 25 | ||
| 26 | #include_next <chconf.h> \ No newline at end of file | 26 | #include_next <chconf.h> |
diff --git a/platforms/chibios/boards/GENERIC_WB32_FQ95XX/configs/chconf.h b/platforms/chibios/boards/GENERIC_WB32_FQ95XX/configs/chconf.h index e4afddb6a5..fa0b6f11d0 100644 --- a/platforms/chibios/boards/GENERIC_WB32_FQ95XX/configs/chconf.h +++ b/platforms/chibios/boards/GENERIC_WB32_FQ95XX/configs/chconf.h | |||
| @@ -23,4 +23,4 @@ | |||
| 23 | 23 | ||
| 24 | #define CH_CFG_ST_TIMEDELTA 0 | 24 | #define CH_CFG_ST_TIMEDELTA 0 |
| 25 | 25 | ||
| 26 | #include_next <chconf.h> \ No newline at end of file | 26 | #include_next <chconf.h> |
diff --git a/platforms/chibios/boards/SIPEED_LONGAN_NANO/configs/chconf.h b/platforms/chibios/boards/SIPEED_LONGAN_NANO/configs/chconf.h index 6e5adb0fe1..ca0348e4e0 100644 --- a/platforms/chibios/boards/SIPEED_LONGAN_NANO/configs/chconf.h +++ b/platforms/chibios/boards/SIPEED_LONGAN_NANO/configs/chconf.h | |||
| @@ -20,4 +20,4 @@ | |||
| 20 | struct _reent; | 20 | struct _reent; |
| 21 | #endif | 21 | #endif |
| 22 | 22 | ||
| 23 | #include_next <chconf.h> \ No newline at end of file | 23 | #include_next <chconf.h> |
diff --git a/platforms/chibios/bootloaders/stm32duino.c b/platforms/chibios/bootloaders/stm32duino.c index e2db7fa16c..cc3f6be2df 100644 --- a/platforms/chibios/bootloaders/stm32duino.c +++ b/platforms/chibios/bootloaders/stm32duino.c | |||
| @@ -25,4 +25,4 @@ __attribute__((weak)) void bootloader_jump(void) { | |||
| 25 | __attribute__((weak)) void mcu_reset(void) { | 25 | __attribute__((weak)) void mcu_reset(void) { |
| 26 | BKP->DR10 = RTC_BOOTLOADER_JUST_UPLOADED; | 26 | BKP->DR10 = RTC_BOOTLOADER_JUST_UPLOADED; |
| 27 | NVIC_SystemReset(); | 27 | NVIC_SystemReset(); |
| 28 | } \ No newline at end of file | 28 | } |
diff --git a/platforms/chibios/converters/promicro_to_bonsai_c4/_pin_defs.h b/platforms/chibios/converters/promicro_to_bonsai_c4/_pin_defs.h index 7e6b8ddaf2..deb0628ef8 100644 --- a/platforms/chibios/converters/promicro_to_bonsai_c4/_pin_defs.h +++ b/platforms/chibios/converters/promicro_to_bonsai_c4/_pin_defs.h | |||
| @@ -37,4 +37,4 @@ | |||
| 37 | // If this is undesirable, either B0 or B5 can be redefined by | 37 | // If this is undesirable, either B0 or B5 can be redefined by |
| 38 | // using #undef and #define to change its assignment | 38 | // using #undef and #define to change its assignment |
| 39 | #define B0 PAL_LINE(GPIOB, 2) | 39 | #define B0 PAL_LINE(GPIOB, 2) |
| 40 | #define D5 PAL_LINE(GPIOB, 2) \ No newline at end of file | 40 | #define D5 PAL_LINE(GPIOB, 2) |
diff --git a/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk b/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk index 5f49b17f8a..beefb9de23 100644 --- a/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk +++ b/platforms/chibios/converters/promicro_to_bonsai_c4/post_converter.mk | |||
| @@ -2,4 +2,4 @@ BACKLIGHT_DRIVER ?= pwm | |||
| 2 | WS2812_DRIVER ?= pwm | 2 | WS2812_DRIVER ?= pwm |
| 3 | SERIAL_DRIVER ?= usart | 3 | SERIAL_DRIVER ?= usart |
| 4 | FLASH_DRIVER ?= spi | 4 | FLASH_DRIVER ?= spi |
| 5 | EEPROM_DRIVER ?= spi \ No newline at end of file | 5 | EEPROM_DRIVER ?= spi |
diff --git a/platforms/chibios/drivers/i2c_master.c b/platforms/chibios/drivers/i2c_master.c index 1d7fe27633..20850859b5 100644 --- a/platforms/chibios/drivers/i2c_master.c +++ b/platforms/chibios/drivers/i2c_master.c | |||
| @@ -206,4 +206,4 @@ __attribute__((weak)) i2c_status_t i2c_ping_address(uint8_t address, uint16_t ti | |||
| 206 | // This approach may produce false negative results for I2C devices that do not respond to a register 0 read request. | 206 | // This approach may produce false negative results for I2C devices that do not respond to a register 0 read request. |
| 207 | uint8_t data = 0; | 207 | uint8_t data = 0; |
| 208 | return i2c_read_register(address, 0, &data, sizeof(data), timeout); | 208 | return i2c_read_register(address, 0, &data, sizeof(data), timeout); |
| 209 | } \ No newline at end of file | 209 | } |
diff --git a/platforms/chibios/drivers/usbpd_stm32g4.c b/platforms/chibios/drivers/usbpd_stm32g4.c index 21b8f6db95..7603b5627b 100644 --- a/platforms/chibios/drivers/usbpd_stm32g4.c +++ b/platforms/chibios/drivers/usbpd_stm32g4.c | |||
| @@ -76,4 +76,4 @@ __attribute__((weak)) usbpd_allowance_t usbpd_get_allowance(void) { | |||
| 76 | } | 76 | } |
| 77 | 77 | ||
| 78 | return USBPD_500MA; | 78 | return USBPD_500MA; |
| 79 | } \ No newline at end of file | 79 | } |
diff --git a/platforms/chibios/platform.c b/platforms/chibios/platform.c index d4a229f278..e559f178cd 100644 --- a/platforms/chibios/platform.c +++ b/platforms/chibios/platform.c | |||
| @@ -19,4 +19,4 @@ | |||
| 19 | void platform_setup(void) { | 19 | void platform_setup(void) { |
| 20 | halInit(); | 20 | halInit(); |
| 21 | chSysInit(); | 21 | chSysInit(); |
| 22 | } \ No newline at end of file | 22 | } |
diff --git a/platforms/test/platform.c b/platforms/test/platform.c index 8ddceeda8f..3e35b4fe4c 100644 --- a/platforms/test/platform.c +++ b/platforms/test/platform.c | |||
| @@ -18,4 +18,4 @@ | |||
| 18 | 18 | ||
| 19 | void platform_setup(void) { | 19 | void platform_setup(void) { |
| 20 | // do nothing | 20 | // do nothing |
| 21 | } \ No newline at end of file | 21 | } |
