Skip to content

Commit caea64c

Browse files
chore: remove src/ from build directory
1 parent 7d13241 commit caea64c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ include(pico_sdk_import.cmake)
44

55
project(microcontroller_firmware)
66

7-
add_subdirectory("src/dshot")
8-
add_subdirectory("src/pwm")
7+
add_subdirectory("src/dshot" "dshot")
8+
add_subdirectory("src/pwm" "pwm")

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ build:
1313
cmake --build $(BUILD_DIR)
1414

1515
flash-dshot: build
16-
picotool load $(BUILD_DIR)/src/dshot/dshot.uf2 -f
16+
picotool load $(BUILD_DIR)/dshot/dshot.uf2 -f
1717

1818
flash-pwm: build
19-
picotool load $(BUILD_DIR)/src/pwm/pwm.uf2 -f
19+
picotool load $(BUILD_DIR)/pwm/pwm.uf2 -f
2020

2121
clean:
2222
rm -rf $(BUILD_DIR)

0 commit comments

Comments
 (0)