add doc for bsp_usart, bsp_can and dji_motor

This commit is contained in:
NeoZng
2022-11-11 21:00:02 +08:00
parent 00298e9bfe
commit a1509ee665
12 changed files with 519 additions and 19 deletions

View File

@@ -255,7 +255,7 @@ $(BUILD_DIR)/%.o: %.s Makefile | $(BUILD_DIR)
$(BUILD_DIR)/$(TARGET).elf: $(OBJECTS) Makefile
@$(CC) $(OBJECTS) $(LDFLAGS) -o $@
$(SZ) $@
@$(SZ) $@
$(BUILD_DIR)/%.hex: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
$(HEX) $< $@
@@ -264,13 +264,13 @@ $(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
$(BIN) $< $@
$(BUILD_DIR):
@mkdir $@
mkdir $@
#######################################
# clean up
#######################################
clean:
-rm -fR $(BUILD_DIR)
-rm -r $(BUILD_DIR)
#######################################
# dependencies