Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
k-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈伟灿
k-sdk
Commits
8977eafa
Commit
8977eafa
authored
Mar 03, 2022
by
黄振令
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.编译错误解决
parent
461bdffa
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
application/kcloud/kk_info_report.c
application/kcloud/kk_info_report.c
+5
-3
application/oled/iot.mk
application/oled/iot.mk
+6
-0
No files found.
application/kcloud/kk_info_report.c
View file @
8977eafa
...
...
@@ -18,6 +18,7 @@
#include "kk_log.h"
#include "kk_hal.h"
#include "mqtt_api.h"
#if CONFIG_NX5_PLATFORM
static
pthread_mutex_t
s_data_mutex
;
extern
int
kk_get_gw_status
(
void
);
#define TO_OLED_NANOMSG_SOCKET_ADDR "ipc:///tmp/oled_pair.ipc"
...
...
@@ -170,3 +171,4 @@ int kk_info_report_start(void)
pthread_attr_destroy
(
&
info_report_attr
);
return
0
;
}
#endif
\ No newline at end of file
application/oled/iot.mk
View file @
8977eafa
...
...
@@ -10,6 +10,12 @@ ifeq ($(CONFIG_MODEL),x86)
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_ubuntu
else
ifeq
($(CONFIG_MODEL),nx5)
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_nx5
else
ifeq
($(CONFIG_MODEL),8197)
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_8197
else
ifeq
($(CONFIG_MODEL),a133)
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_a133
else
ifeq
($(CONFIG_MODEL),a133_ndk)
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg_a133
else
LDFLAGS
+=
-L
$(TOP_DIR)
/common/nanomsg
-lnanomsg
endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment