summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2020-12-11 13:45:24 +1100
committerDrashna Jael're <drashna@live.com>2021-01-12 22:46:07 -0800
commit8d5fa95f4fa9b283daff1e1f7bd7003e2970e223 (patch)
tree8758a2049b0d08cc8c71347f73a4ddc898473ffa
parent63d0fe05bbbb1ad8b0a5af90bccba48d6f06f2bb (diff)
Normalise include statements in core code (#11153)
* Normalise include statements in core code * Missed one
-rw-r--r--drivers/chibios/analog.c2
-rw-r--r--drivers/chibios/i2c_master.h2
-rw-r--r--drivers/chibios/serial.c2
-rw-r--r--drivers/chibios/serial_usart.c4
-rw-r--r--drivers/chibios/spi_master.h2
-rw-r--r--drivers/chibios/ws2812.c4
-rw-r--r--drivers/chibios/ws2812_pwm.c2
-rw-r--r--drivers/eeprom/eeprom_stm32_L0_L1.c2
-rw-r--r--drivers/haptic/solenoid.c2
-rw-r--r--drivers/qwiic/micro_oled.c2
-rw-r--r--platforms/chibios/GENERIC_STM32_F042X6/board/board.c4
-rw-r--r--platforms/chibios/IC_TEENSY_3_1/board/board.c2
-rw-r--r--platforms/chibios/STM32_F103_STM32DUINO/board/board.c2
-rw-r--r--quantum/audio/audio_chibios.c4
-rw-r--r--quantum/audio/luts.h4
-rw-r--r--quantum/fauxclicky.c6
-rw-r--r--quantum/fauxclicky.h2
-rw-r--r--quantum/keymap.h2
-rw-r--r--quantum/process_keycode/process_key_lock.c4
-rw-r--r--quantum/quantum.h2
-rw-r--r--quantum/rgb_matrix.c2
-rw-r--r--quantum/rgblight.c6
-rw-r--r--quantum/serial_link/system/serial_link.c2
-rw-r--r--quantum/serial_link/system/serial_link.h2
-rw-r--r--quantum/split_common/split_util.c2
-rw-r--r--quantum/split_common/transport.h2
-rw-r--r--quantum/via.h2
-rw-r--r--quantum/visualizer/lcd_backlight.h2
-rw-r--r--quantum/visualizer/led_backlight_keyframes.c2
-rw-r--r--quantum/visualizer/visualizer.c2
-rw-r--r--tmk_core/common/action.c2
-rw-r--r--tmk_core/common/chibios/bootloader.c4
-rw-r--r--tmk_core/common/chibios/eeprom_stm32.h4
-rw-r--r--tmk_core/common/chibios/eeprom_teensy.c4
-rw-r--r--tmk_core/common/chibios/flash_stm32.h4
-rw-r--r--tmk_core/common/chibios/sleep_led.c4
-rw-r--r--tmk_core/common/chibios/suspend.c4
-rw-r--r--tmk_core/common/chibios/timer.c2
-rw-r--r--tmk_core/common/eeconfig.c2
-rw-r--r--tmk_core/common/wait.h2
-rw-r--r--tmk_core/protocol/chibios/main.c4
-rw-r--r--tmk_core/protocol/chibios/usb_driver.c2
-rw-r--r--tmk_core/protocol/chibios/usb_driver.h2
-rw-r--r--tmk_core/protocol/chibios/usb_main.c4
-rw-r--r--tmk_core/protocol/chibios/usb_main.h4
-rw-r--r--tmk_core/protocol/lufa/lufa.c2
-rw-r--r--tmk_core/protocol/midi/bytequeue/interrupt_setting.c2
-rw-r--r--tmk_core/protocol/usb_descriptor.h2
48 files changed, 67 insertions, 67 deletions
diff --git a/drivers/chibios/analog.c b/drivers/chibios/analog.c
index 6f6db64010..2b3872afbb 100644
--- a/drivers/chibios/analog.c
+++ b/drivers/chibios/analog.c
@@ -16,7 +16,7 @@
#include "quantum.h"
#include "analog.h"
-#include "ch.h"
+#include <ch.h>
#include <hal.h>
#if !HAL_USE_ADC
diff --git a/drivers/chibios/i2c_master.h b/drivers/chibios/i2c_master.h
index 1b08d33ee6..5743c82d18 100644
--- a/drivers/chibios/i2c_master.h
+++ b/drivers/chibios/i2c_master.h
@@ -24,7 +24,7 @@
*/
#pragma once
-#include "ch.h"
+#include <ch.h>
#include <hal.h>
#ifdef I2C1_BANK
diff --git a/drivers/chibios/serial.c b/drivers/chibios/serial.c
index 26c6806532..54f7e1321f 100644
--- a/drivers/chibios/serial.c
+++ b/drivers/chibios/serial.c
@@ -6,7 +6,7 @@
#include "serial.h"
#include "wait.h"
-#include "hal.h"
+#include <hal.h>
// TODO: resolve/remove build warnings
#if defined(RGBLIGHT_ENABLE) && defined(RGBLED_SPLIT) && defined(PROTOCOL_CHIBIOS) && defined(WS2812_DRIVER_BITBANG)
diff --git a/drivers/chibios/serial_usart.c b/drivers/chibios/serial_usart.c
index 62b4913cbf..ded78410e1 100644
--- a/drivers/chibios/serial_usart.c
+++ b/drivers/chibios/serial_usart.c
@@ -2,8 +2,8 @@
#include "serial.h"
#include "printf.h"
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#ifndef USART_CR1_M0
# define USART_CR1_M0 USART_CR1_M // some platforms (f1xx) dont have this so
diff --git a/drivers/chibios/spi_master.h b/drivers/chibios/spi_master.h
index 0c18587c95..5953bef77f 100644
--- a/drivers/chibios/spi_master.h
+++ b/drivers/chibios/spi_master.h
@@ -18,7 +18,7 @@
#include <ch.h>
#include <hal.h>
-#include <quantum.h>
+#include "quantum.h"
#ifndef SPI_DRIVER
# define SPI_DRIVER SPID2
diff --git a/drivers/chibios/ws2812.c b/drivers/chibios/ws2812.c
index b5b02fdacd..4f32e27d22 100644
--- a/drivers/chibios/ws2812.c
+++ b/drivers/chibios/ws2812.c
@@ -1,7 +1,7 @@
#include "quantum.h"
#include "ws2812.h"
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
/* Adapted from https://github.com/bigjosh/SimpleNeoPixelDemo/ */
diff --git a/drivers/chibios/ws2812_pwm.c b/drivers/chibios/ws2812_pwm.c
index 14be0a9edc..7595e2fa28 100644
--- a/drivers/chibios/ws2812_pwm.c
+++ b/drivers/chibios/ws2812_pwm.c
@@ -1,6 +1,6 @@
#include "ws2812.h"
#include "quantum.h"
-#include "hal.h"
+#include <hal.h>
/* Adapted from https://github.com/joewa/WS2812-LED-Driver_ChibiOS/ */
diff --git a/drivers/eeprom/eeprom_stm32_L0_L1.c b/drivers/eeprom/eeprom_stm32_L0_L1.c
index b62e6ffd76..ed26cc7145 100644
--- a/drivers/eeprom/eeprom_stm32_L0_L1.c
+++ b/drivers/eeprom/eeprom_stm32_L0_L1.c
@@ -17,7 +17,7 @@
#include <stdint.h>
#include <string.h>
-#include "hal.h"
+#include <hal.h>
#include "eeprom_driver.h"
#include "eeprom_stm32_L0_L1.h"
diff --git a/drivers/haptic/solenoid.c b/drivers/haptic/solenoid.c
index 2975ef893a..3e61d5a171 100644
--- a/drivers/haptic/solenoid.c
+++ b/drivers/haptic/solenoid.c
@@ -15,7 +15,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include <timer.h>
+#include "timer.h"
#include "solenoid.h"
#include "haptic.h"
diff --git a/drivers/qwiic/micro_oled.c b/drivers/qwiic/micro_oled.c
index bed6b2507e..f63cf2e643 100644
--- a/drivers/qwiic/micro_oled.c
+++ b/drivers/qwiic/micro_oled.c
@@ -28,7 +28,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "micro_oled.h"
-#include <print.h>
+#include "print.h"
#include <stdlib.h>
#include "util/font5x7.h"
#include "util/font8x16.h"
diff --git a/platforms/chibios/GENERIC_STM32_F042X6/board/board.c b/platforms/chibios/GENERIC_STM32_F042X6/board/board.c
index 7d93b68f9c..3c6f54ef5e 100644
--- a/platforms/chibios/GENERIC_STM32_F042X6/board/board.c
+++ b/platforms/chibios/GENERIC_STM32_F042X6/board/board.c
@@ -19,8 +19,8 @@
* generator plugin. Do not edit manually.
*/
-#include "hal.h"
-#include "stm32_gpio.h"
+#include <hal.h>
+#include <stm32_gpio.h>
/*===========================================================================*/
/* Driver local definitions. */
diff --git a/platforms/chibios/IC_TEENSY_3_1/board/board.c b/platforms/chibios/IC_TEENSY_3_1/board/board.c
index 63e3f64929..36ae8051ee 100644
--- a/platforms/chibios/IC_TEENSY_3_1/board/board.c
+++ b/platforms/chibios/IC_TEENSY_3_1/board/board.c
@@ -13,7 +13,7 @@
See the License for the specific language governing permissions and
limitations under the License.
*/
-#include "hal.h"
+#include <hal.h>
#if HAL_USE_PAL || defined(__DOXYGEN__)
/**
diff --git a/platforms/chibios/STM32_F103_STM32DUINO/board/board.c b/platforms/chibios/STM32_F103_STM32DUINO/board/board.c
index 9135f61364..8a34e81f25 100644
--- a/platforms/chibios/STM32_F103_STM32DUINO/board/board.c
+++ b/platforms/chibios/STM32_F103_STM32DUINO/board/board.c
@@ -14,7 +14,7 @@
limitations under the License.
*/
-#include "hal.h"
+#include <hal.h>
// Value to place in RTC backup register 10 for persistent bootloader mode
#define RTC_BOOTLOADER_FLAG 0x424C
diff --git a/quantum/audio/audio_chibios.c b/quantum/audio/audio_chibios.c
index 36e125d510..66560674d5 100644
--- a/quantum/audio/audio_chibios.c
+++ b/quantum/audio/audio_chibios.c
@@ -15,8 +15,8 @@
*/
#include "audio.h"
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include <string.h>
#include "print.h"
diff --git a/quantum/audio/luts.h b/quantum/audio/luts.h
index 117d74cd00..6fdd3b4635 100644
--- a/quantum/audio/luts.h
+++ b/quantum/audio/luts.h
@@ -19,8 +19,8 @@
# include <avr/interrupt.h>
# include <avr/pgmspace.h>
#else
-# include "ch.h"
-# include "hal.h"
+# include <ch.h>
+# include <hal.h>
#endif
#ifndef LUTS_H
diff --git a/quantum/fauxclicky.c b/quantum/fauxclicky.c
index a57e2ed075..53499c9c1e 100644
--- a/quantum/fauxclicky.c
+++ b/quantum/fauxclicky.c
@@ -15,10 +15,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include <avr/interrupt.h>
#include <avr/io.h>
-#include <timer.h>
-#include <fauxclicky.h>
+#include "timer.h"
+#include "fauxclicky.h"
#include <stdbool.h>
-#include <musical_notes.h>
+#include "musical_notes.h"
bool fauxclicky_enabled = true;
uint16_t note_start = 0;
diff --git a/quantum/fauxclicky.h b/quantum/fauxclicky.h
index 5c056918a7..bfaacf9096 100644
--- a/quantum/fauxclicky.h
+++ b/quantum/fauxclicky.h
@@ -18,7 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#endif
#include "musical_notes.h"
-#include "stdbool.h"
+#include <stdbool.h>
__attribute__((weak)) float fauxclicky_pressed_note[2] = MUSICAL_NOTE(_D4, 0.25);
__attribute__((weak)) float fauxclicky_released_note[2] = MUSICAL_NOTE(_C4, 0.125);
diff --git a/quantum/keymap.h b/quantum/keymap.h
index 34a9c8f8c6..e205924127 100644
--- a/quantum/keymap.h
+++ b/quantum/keymap.h
@@ -25,7 +25,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# include <avr/pgmspace.h>
#elif defined PROTOCOL_CHIBIOS
// We need to ensure that chibios is include before redefining reset
-# include "ch.h"
+# include <ch.h>
#endif
#include "keycode.h"
#include "action_macro.h"
diff --git a/quantum/process_keycode/process_key_lock.c b/quantum/process_keycode/process_key_lock.c
index 602127a74b..4bd58f0c1e 100644
--- a/quantum/process_keycode/process_key_lock.c
+++ b/quantum/process_keycode/process_key_lock.c
@@ -14,8 +14,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#include "inttypes.h"
-#include "stdint.h"
+#include <inttypes.h>
+#include <stdint.h>
#include "process_key_lock.h"
#define BV_64(shift) (((uint64_t)1) << (shift))
diff --git a/quantum/quantum.h b/quantum/quantum.h
index 94188a8543..4472c1c058 100644
--- a/quantum/quantum.h
+++ b/quantum/quantum.h
@@ -21,7 +21,7 @@
# include <avr/interrupt.h>
#endif
#if defined(PROTOCOL_CHIBIOS)
-# include "hal.h"
+# include <hal.h>
# include "chibios_config.h"
#endif
diff --git a/quantum/rgb_matrix.c b/quantum/rgb_matrix.c
index 404e5bc1f9..68690912cd 100644
--- a/quantum/rgb_matrix.c
+++ b/quantum/rgb_matrix.c
@@ -23,7 +23,7 @@
#include <string.h>
#include <math.h>
-#include "lib/lib8tion/lib8tion.h"
+#include <lib/lib8tion/lib8tion.h>
#ifndef RGB_MATRIX_CENTER
const point_t k_rgb_matrix_center = {112, 32};
diff --git a/quantum/rgblight.c b/quantum/rgblight.c
index 4aa5cb4ac9..58dad3c57b 100644
--- a/quantum/rgblight.c
+++ b/quantum/rgblight.c
@@ -24,7 +24,7 @@
# include "eeprom.h"
#endif
#ifdef STM32_EEPROM_ENABLE
-# include "hal.h"
+# include <hal.h>
# include "eeprom_stm32.h"
#endif
#include "wait.h"
@@ -34,7 +34,7 @@
#include "color.h"
#include "debug.h"
#include "led_tables.h"
-#include "lib/lib8tion/lib8tion.h"
+#include <lib/lib8tion/lib8tion.h>
#ifdef VELOCIKEY_ENABLE
# include "velocikey.h"
#endif
@@ -985,7 +985,7 @@ void rgblight_task(void) {
# ifndef RGBLIGHT_BREATHE_TABLE_SIZE
# define RGBLIGHT_BREATHE_TABLE_SIZE 256 // 256 or 128 or 64
# endif
-# include <rgblight_breathe_table.h>
+# include "rgblight_breathe_table.h"
# endif
__attribute__((weak)) const uint8_t RGBLED_BREATHING_INTERVALS[] PROGMEM = {30, 20, 10, 5};
diff --git a/quantum/serial_link/system/serial_link.c b/quantum/serial_link/system/serial_link.c
index c59c068944..f77483ad8c 100644
--- a/quantum/serial_link/system/serial_link.c
+++ b/quantum/serial_link/system/serial_link.c
@@ -24,7 +24,7 @@ SOFTWARE.
#include "report.h"
#include "host_driver.h"
#include "serial_link/system/serial_link.h"
-#include "hal.h"
+#include <hal.h>
#include "serial_link/protocol/byte_stuffer.h"
#include "serial_link/protocol/transport.h"
#include "serial_link/protocol/frame_router.h"
diff --git a/quantum/serial_link/system/serial_link.h b/quantum/serial_link/system/serial_link.h
index f48fbe9ea7..b6a4739575 100644
--- a/quantum/serial_link/system/serial_link.h
+++ b/quantum/serial_link/system/serial_link.h
@@ -36,7 +36,7 @@ host_driver_t* get_serial_link_driver(void);
void serial_link_update(void);
#if defined(PROTOCOL_CHIBIOS)
-# include "ch.h"
+# include <ch.h>
static inline void serial_link_lock(void) { chSysLock(); }
diff --git a/quantum/split_common/split_util.c b/quantum/split_common/split_util.c
index bc486db7a4..8ccc4b71b2 100644
--- a/quantum/split_common/split_util.c
+++ b/quantum/split_common/split_util.c
@@ -12,7 +12,7 @@
#endif
#ifdef PROTOCOL_VUSB
-# include "usbdrv.h"
+# include <usbdrv/usbdrv.h>
#endif
#ifdef EE_HANDS
diff --git a/quantum/split_common/transport.h b/quantum/split_common/transport.h
index ccce57e444..f3e752bf9b 100644
--- a/quantum/split_common/transport.h
+++ b/quantum/split_common/transport.h
@@ -1,6 +1,6 @@
#pragma once
-#include <common/matrix.h>
+#include "common/matrix.h"
void transport_master_init(void);
void transport_slave_init(void);
diff --git a/quantum/via.h b/quantum/via.h
index 012547e055..8c2d545e9d 100644
--- a/quantum/via.h
+++ b/quantum/via.h
@@ -16,7 +16,7 @@
#pragma once
-#include <tmk_core/common/eeconfig.h> // for EECONFIG_SIZE
+#include "tmk_core/common/eeconfig.h" // for EECONFIG_SIZE
// Keyboard level code can change where VIA stores the magic.
// The magic is the build date YYMMDD encoded as BCD in 3 bytes,
diff --git a/quantum/visualizer/lcd_backlight.h b/quantum/visualizer/lcd_backlight.h
index 7b0b6a9fd5..0a1535edf5 100644
--- a/quantum/visualizer/lcd_backlight.h
+++ b/quantum/visualizer/lcd_backlight.h
@@ -24,7 +24,7 @@ SOFTWARE.
#ifndef LCD_BACKLIGHT_H_
#define LCD_BACKLIGHT_H_
-#include "stdint.h"
+#include <stdint.h>
// Helper macros for storing hue, staturation and intensity as unsigned integers
#define LCD_COLOR(hue, saturation, intensity) (hue << 16 | saturation << 8 | intensity)
diff --git a/quantum/visualizer/led_backlight_keyframes.c b/quantum/visualizer/led_backlight_keyframes.c
index d81117d2be..338ada5227 100644
--- a/quantum/visualizer/led_backlight_keyframes.c
+++ b/quantum/visualizer/led_backlight_keyframes.c
@@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#include "gfx.h"
-#include "math.h"
+#include <math.h>
#include "led_backlight_keyframes.h"
static uint8_t fade_led_color(keyframe_animation_t* animation, int from, int to) {
diff --git a/quantum/visualizer/visualizer.c b/quantum/visualizer/visualizer.c
index 9e9cb6d410..709affbb77 100644
--- a/quantum/visualizer/visualizer.c
+++ b/quantum/visualizer/visualizer.c
@@ -26,7 +26,7 @@ SOFTWARE.
#include "visualizer.h"
#include <string.h>
#ifdef PROTOCOL_CHIBIOS
-# include "ch.h"
+# include <ch.h>
#endif
#include "gfx.h"
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index fa87433db2..b87b9e7282 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -48,7 +48,7 @@ int retro_tapping_counter = 0;
#endif
#ifdef FAUXCLICKY_ENABLE
-# include <fauxclicky.h>
+# include "fauxclicky.h"
#endif
#ifdef IGNORE_MOD_TAP_INTERRUPT_PER_KEY
diff --git a/tmk_core/common/chibios/bootloader.c b/tmk_core/common/chibios/bootloader.c
index f6d016ec9d..6cabcc4b81 100644
--- a/tmk_core/common/chibios/bootloader.c
+++ b/tmk_core/common/chibios/bootloader.c
@@ -1,7 +1,7 @@
#include "bootloader.h"
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "wait.h"
/* This code should be checked whether it runs correctly on platforms */
diff --git a/tmk_core/common/chibios/eeprom_stm32.h b/tmk_core/common/chibios/eeprom_stm32.h
index ea0ce06400..373325cd2f 100644
--- a/tmk_core/common/chibios/eeprom_stm32.h
+++ b/tmk_core/common/chibios/eeprom_stm32.h
@@ -24,8 +24,8 @@
#ifndef __EEPROM_H
#define __EEPROM_H
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "flash_stm32.h"
// HACK ALERT. This definition may not match your processor
diff --git a/tmk_core/common/chibios/eeprom_teensy.c b/tmk_core/common/chibios/eeprom_teensy.c
index d436d0cb95..e135e19a21 100644
--- a/tmk_core/common/chibios/eeprom_teensy.c
+++ b/tmk_core/common/chibios/eeprom_teensy.c
@@ -1,5 +1,5 @@
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "eeconfig.h"
diff --git a/tmk_core/common/chibios/flash_stm32.h b/tmk_core/common/chibios/flash_stm32.h
index 33ab7867da..8a874f6065 100644
--- a/tmk_core/common/chibios/flash_stm32.h
+++ b/tmk_core/common/chibios/flash_stm32.h
@@ -23,8 +23,8 @@
extern "C" {
#endif
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
typedef enum { FLASH_BUSY = 1, FLASH_ERROR_PG, FLASH_ERROR_WRP, FLASH_ERROR_OPT, FLASH_COMPLETE, FLASH_TIMEOUT, FLASH_BAD_ADDRESS } FLASH_Status;
diff --git a/tmk_core/common/chibios/sleep_led.c b/tmk_core/common/chibios/sleep_led.c
index df1a1b5fcd..18c6d6e170 100644
--- a/tmk_core/common/chibios/sleep_led.c
+++ b/tmk_core/common/chibios/sleep_led.c
@@ -1,5 +1,5 @@
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "led.h"
#include "sleep_led.h"
diff --git a/tmk_core/common/chibios/suspend.c b/tmk_core/common/chibios/suspend.c
index 64dfc05abc..24efb0ac4c 100644
--- a/tmk_core/common/chibios/suspend.c
+++ b/tmk_core/common/chibios/suspend.c
@@ -1,7 +1,7 @@
/* TODO */
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "matrix.h"
#include "action.h"
diff --git a/tmk_core/common/chibios/timer.c b/tmk_core/common/chibios/timer.c
index ac5a5af638..9f664e1f79 100644
--- a/tmk_core/common/chibios/timer.c
+++ b/tmk_core/common/chibios/timer.c
@@ -1,4 +1,4 @@
-#include "ch.h"
+#include <ch.h>
#include "timer.h"
diff --git a/tmk_core/common/eeconfig.c b/tmk_core/common/eeconfig.c
index 8ae4c30519..9bdf926a5a 100644
--- a/tmk_core/common/eeconfig.c
+++ b/tmk_core/common/eeconfig.c
@@ -7,7 +7,7 @@
# include "oryx.h"
#endif
#ifdef STM32_EEPROM_ENABLE
-# include "hal.h"
+# include <hal.h>
# include "eeprom_stm32.h"
#endif
diff --git a/tmk_core/common/wait.h b/tmk_core/common/wait.h
index c82cd2d65a..f5ef12ac07 100644
--- a/tmk_core/common/wait.h
+++ b/tmk_core/common/wait.h
@@ -12,7 +12,7 @@ extern "C" {
# define wait_ms(ms) _delay_ms(ms)
# define wait_us(us) _delay_us(us)
#elif defined PROTOCOL_CHIBIOS
-# include "ch.h"
+# include <ch.h>
# define wait_ms(ms) \
do { \
if (ms != 0) { \
diff --git a/tmk_core/protocol/chibios/main.c b/tmk_core/protocol/chibios/main.c
index ea8279d7c3..aaadefd8d2 100644
--- a/tmk_core/protocol/chibios/main.c
+++ b/tmk_core/protocol/chibios/main.c
@@ -15,8 +15,8 @@
* GPL v2 or later.
*/
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "usb_main.h"
diff --git a/tmk_core/protocol/chibios/usb_driver.c b/tmk_core/protocol/chibios/usb_driver.c
index 22d3c91f5a..cc0ce7600f 100644
--- a/tmk_core/protocol/chibios/usb_driver.c
+++ b/tmk_core/protocol/chibios/usb_driver.c
@@ -22,7 +22,7 @@
* @{
*/
-#include "hal.h"
+#include <hal.h>
#include "usb_driver.h"
#include <string.h>
diff --git a/tmk_core/protocol/chibios/usb_driver.h b/tmk_core/protocol/chibios/usb_driver.h
index 77dff80669..6d71bcec4f 100644
--- a/tmk_core/protocol/chibios/usb_driver.h
+++ b/tmk_core/protocol/chibios/usb_driver.h
@@ -25,7 +25,7 @@
#ifndef USB_DRIVER_H
# define USB_DRIVER_H
-# include "hal_usb_cdc.h"
+# include <hal_usb_cdc.h>
/*===========================================================================*/
/* Driver constants. */
diff --git a/tmk_core/protocol/chibios/usb_main.c b/tmk_core/protocol/chibios/usb_main.c
index 2ecaaf65dc..6456f26b5b 100644
--- a/tmk_core/protocol/chibios/usb_main.c
+++ b/tmk_core/protocol/chibios/usb_main.c
@@ -25,8 +25,8 @@
* makes the assumption this is safe to avoid littering with preprocessor directives.
*/
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
#include "usb_main.h"
diff --git a/tmk_core/protocol/chibios/usb_main.h b/tmk_core/protocol/chibios/usb_main.h
index d8813f4801..1381d07654 100644
--- a/tmk_core/protocol/chibios/usb_main.h
+++ b/tmk_core/protocol/chibios/usb_main.h
@@ -21,8 +21,8 @@
// TESTING
// extern uint8_t blinkLed;
-#include "ch.h"
-#include "hal.h"
+#include <ch.h>
+#include <hal.h>
/* -------------------------
* General USB driver header
diff --git a/tmk_core/protocol/lufa/lufa.c b/tmk_core/protocol/lufa/lufa.c
index 568d1dd501..ce31e54990 100644
--- a/tmk_core/protocol/lufa/lufa.c
+++ b/tmk_core/protocol/lufa/lufa.c
@@ -61,7 +61,7 @@ extern keymap_config_t keymap_config;
#endif
#ifdef AUDIO_ENABLE
-# include <audio.h>
+# include "audio.h"
#endif
#ifdef BLUETOOTH_ENABLE
diff --git a/tmk_core/protocol/midi/bytequeue/interrupt_setting.c b/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
index 1be1fee973..407cc65f49 100644
--- a/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
+++ b/tmk_core/protocol/midi/bytequeue/interrupt_setting.c
@@ -32,7 +32,7 @@ interrupt_setting_t store_and_clear_interrupt(void) {
void restore_interrupt_setting(interrupt_setting_t setting) { SREG = setting; }
#elif defined(__arm__)
-# include "ch.h"
+# include <ch.h>
interrupt_setting_t store_and_clear_interrupt(void) {
chSysLock();
diff --git a/tmk_core/protocol/usb_descriptor.h b/tmk_core/protocol/usb_descriptor.h
index ac897720f5..109db61b65 100644
--- a/tmk_core/protocol/usb_descriptor.h
+++ b/tmk_core/protocol/usb_descriptor.h
@@ -46,7 +46,7 @@
#include <LUFA/Drivers/USB/USB.h>
#ifdef PROTOCOL_CHIBIOS
-# include "hal.h"
+# include <hal.h>
#endif
#ifdef WEBUSB_ENABLE
#include "webusb_descriptor.h"