This commit is contained in:
j3d1 2023-02-12 07:40:58 +01:00
parent 94bdb71820
commit c4c414ebd3
57 changed files with 49795 additions and 3 deletions

View file

@ -1,3 +1,2 @@
build/
compile_commands.json
.idea/

View file

@ -197,7 +197,14 @@ $(BUILD_DIR)/%.bin: $(BUILD_DIR)/%.elf | $(BUILD_DIR)
$(BIN) $< $@
$(BUILD_DIR):
mkdir $@
mkdir $@
#######################################
# flash the program
#######################################
flash: $(BUILD_DIR)/$(TARGET).bin
st-flash --connect-under-reset write $(BUILD_DIR)/$(TARGET).bin 0x8000000
#######################################
# clean up