File tree 3 files changed +13
-17
lines changed
3 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -10,28 +10,28 @@ project(arduino-lib-builder)
10
10
idf_build_get_property(elf EXECUTABLE GENERATOR_EXPRESSION)
11
11
12
12
add_custom_command (
13
- OUTPUT "idf_libs"
13
+ OUTPUT "idf_libs"
14
14
COMMAND ${CMAKE_SOURCE_DIR} /tools/copy-libs.sh ${IDF_TARGET} "${CONFIG_LIB_BUILDER_FLASHMODE} " "${CONFIG_SPIRAM_MODE_OCT} " "${CONFIG_IDF_TARGET_ARCH_XTENSA} "
15
- DEPENDS ${elf}
16
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
15
+ DEPENDS ${elf}
16
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
17
17
VERBATIM
18
18
)
19
19
add_custom_target (idf-libs DEPENDS "idf_libs" )
20
20
21
21
add_custom_command (
22
- OUTPUT "copy_bootloader"
22
+ OUTPUT "copy_bootloader"
23
23
COMMAND ${CMAKE_SOURCE_DIR} /tools/copy-bootloader.sh ${IDF_TARGET} "${CONFIG_LIB_BUILDER_FLASHMODE} " "${CONFIG_LIB_BUILDER_FLASHFREQ} "
24
- DEPENDS bootloader
25
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
24
+ DEPENDS bootloader
25
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
26
26
VERBATIM
27
27
)
28
28
add_custom_target (copy-bootloader DEPENDS "copy_bootloader" )
29
29
30
30
add_custom_command (
31
- OUTPUT "mem_variant"
31
+ OUTPUT "mem_variant"
32
32
COMMAND ${CMAKE_SOURCE_DIR} /tools/copy-mem-variant.sh ${IDF_TARGET} "${CONFIG_LIB_BUILDER_FLASHMODE} " "${CONFIG_SPIRAM_MODE_OCT} "
33
33
DEPENDS ${elf}
34
- WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
34
+ WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
35
35
VERBATIM
36
36
)
37
37
add_custom_target (mem-variant DEPENDS "mem_variant" )
Original file line number Diff line number Diff line change @@ -51,10 +51,10 @@ while getopts ":A:I:i:c:t:b:sd" opt; do
51
51
;;
52
52
b )
53
53
b=$OPTARG
54
- if [ " $b " != " build" ] &&
55
- [ " $b " != " menuconfig" ] &&
56
- [ " $b " != " idf_libs" ] &&
57
- [ " $b " != " copy_bootloader" ] &&
54
+ if [ " $b " != " build" ] &&
55
+ [ " $b " != " menuconfig" ] &&
56
+ [ " $b " != " idf_libs" ] &&
57
+ [ " $b " != " copy_bootloader" ] &&
58
58
[ " $b " != " mem_variant" ]; then
59
59
print_help
60
60
fi
@@ -92,7 +92,7 @@ if [ "$BUILD_TYPE" != "all" ]; then
92
92
print_help
93
93
fi
94
94
configs=" configs/defconfig.common;configs/defconfig.$TARGET "
95
-
95
+
96
96
# Target Features Configs
97
97
for target_json in ` jq -c ' .targets[]' configs/builds.json` ; do
98
98
target=$( echo " $target_json " | jq -c ' .target' | tr -d ' "' )
Original file line number Diff line number Diff line change @@ -11,10 +11,6 @@ pio_archive_path="dist/framework-arduinoespressif32-$idf_version_string.tar.gz"
11
11
mkdir -p dist && rm -rf " $archive_path " " $build_archive_path "
12
12
13
13
cd out
14
- echo " Show files from folder out"
15
- ls
16
- echo " Show Arduino directory"
17
- ls ../components/arduino
18
14
echo " Creating framework-arduinoespressif32"
19
15
cp -rf ../components/arduino arduino-esp32
20
16
rm -rf arduino-esp32/docs
You can’t perform that action at this time.
0 commit comments