mirror of https://github.com/rusefi/canable-fw.git
Include and source directories now lower case
This commit is contained in:
parent
9639112dee
commit
75939cf68d
6
Makefile
6
Makefile
|
@ -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):
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
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 */
|
||||
#define SLCAN_MTU 30// (sizeof("T1111222281122334455667788EA5F\r")+1)
|
||||
// maximum rx buffer len: extended CAN frame with timestamp
|
||||
#define SLCAN_MTU 30 // (sizeof("T1111222281122334455667788EA5F\r")+1)
|
||||
|
||||
#define SLCAN_STD_ID_LEN 3
|
||||
#define SLCAN_EXT_ID_LEN 8
|
Loading…
Reference in New Issue