File tree 13 files changed +7
-12
lines changed
13 files changed +7
-12
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,13 @@ project("Asset Tracker Template")
12
12
# Include files that are common for all modules
13
13
add_subdirectory (src/common)
14
14
15
+ # Add main application source
16
+ target_sources (app PRIVATE src/main.c)
17
+
15
18
# Include mandatory module source folders
16
19
add_subdirectory (src/modules/network)
17
20
add_subdirectory (src/modules/cloud)
18
21
add_subdirectory (src/modules/location )
19
- add_subdirectory (src/modules/app)
20
22
add_subdirectory (src/modules/fota)
21
23
add_subdirectory (src/modules/button)
22
24
Original file line number Diff line number Diff line change @@ -13,12 +13,12 @@ config APP_PAYLOAD_CHANNEL_BUFFER_MAX_SIZE
13
13
Maximum size of the buffer sent over the payload channel.
14
14
Contains encoded CBOR data sampled and encoded in the various modules.
15
15
16
+ rsource "src/Kconfig.main"
16
17
rsource "src/modules/battery/Kconfig.battery"
17
18
rsource "src/modules/network/Kconfig.network"
18
19
rsource "src/modules/cloud/Kconfig.cloud"
19
20
rsource "src/modules/location/Kconfig.location"
20
21
rsource "src/modules/led/Kconfig.led"
21
- rsource "src/modules/app/Kconfig.app"
22
22
rsource "src/modules/fota/Kconfig.fota"
23
23
rsource "src/modules/environmental/Kconfig.environmental"
24
24
rsource "src/modules/shell/Kconfig.shell"
File renamed without changes.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ target_sources(app
17
17
PRIVATE
18
18
src/main.c
19
19
src/checks.c
20
- ${ASSET_TRACKER_TEMPLATE_DIR} /app/src/modules/app/app .c
20
+ ${ASSET_TRACKER_TEMPLATE_DIR} /app/src/main .c
21
21
${ASSET_TRACKER_TEMPLATE_DIR} /app/src/common/message_channel.c
22
22
)
23
23
@@ -40,7 +40,7 @@ target_link_options(app PRIVATE --whole-archive)
40
40
41
41
add_compile_options (-Wno-return-type )
42
42
43
- set_property (SOURCE ${ASSET_TRACKER_TEMPLATE_DIR} /app/src/modules/app/app .c PROPERTY COMPILE_FLAGS
43
+ set_property (SOURCE ${ASSET_TRACKER_TEMPLATE_DIR} /app/src/main .c PROPERTY COMPILE_FLAGS
44
44
"-include ${CMAKE_CURRENT_SOURCE_DIR} /src/redef.h" )
45
45
46
46
# Options that cannot be passed through Kconfig fragments
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
tests :
2
- asset_tracker_template.fw.app :
2
+ asset_tracker_template.fw.main :
3
3
platform_allow :
4
4
- native_sim
5
5
- native_sim/native/64
You can’t perform that action at this time.
0 commit comments