Include and source directories now lower case

This commit is contained in:
Ethan Zonca 2016-08-11 22:12:58 -04:00
parent 9639112dee
commit 75939cf68d
23 changed files with 5 additions and 5 deletions

View File

@ -78,7 +78,7 @@ DRIVER_PATH = Drivers/STM32F0xx_HAL_Driver
INCLUDES = -I$(CMSIS_PATH)/Include
INCLUDES += -I$(CMSIS_DEVICE_PATH)/Include
INCLUDES += -I$(DRIVER_PATH)/Inc
INCLUDES += -IInc
INCLUDES += -Iinc
INCLUDES += $(USB_INCLUDES)
INCLUDES += $(USER_INCLUDES)
@ -166,10 +166,10 @@ $(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) $(USB_OBJECTS) $(CUBELIB)
-Map=$(BUILD_DIR)/$(TARGET).map
$(SIZE) $@
$(BUILD_DIR)/%.o: Src/%.c | $(BUILD_DIR)
$(BUILD_DIR)/%.o: src/%.c | $(BUILD_DIR)
$(CC) $(CFLAGS) -Os -c -o $@ $^
$(BUILD_DIR)/%.o: Src/%.s | $(BUILD_DIR)
$(BUILD_DIR)/%.o: src/%.s | $(BUILD_DIR)
$(CC) $(CFLAGS) -c -o $@ $^
$(BUILD_DIR):

View File

@ -4,7 +4,7 @@
int8_t slcan_parse_frame(uint8_t *buf, CanRxMsgTypeDef *frame);
int8_t slcan_parse_str(uint8_t *buf, uint8_t len);
/* maximum rx buffer len: extended CAN frame with timestamp */
// maximum rx buffer len: extended CAN frame with timestamp
#define SLCAN_MTU 30 // (sizeof("T1111222281122334455667788EA5F\r")+1)
#define SLCAN_STD_ID_LEN 3