start mqtt client (based on paho.mqtt.c), basically works
This commit is contained in:
10
3rd/paho.mqtt.c/cmake/toolchain.linux-arm11.cmake
Normal file
10
3rd/paho.mqtt.c/cmake/toolchain.linux-arm11.cmake
Normal file
@@ -0,0 +1,10 @@
|
||||
# path to compiler and utilities
|
||||
# specify the cross compiler
|
||||
SET(CMAKE_C_COMPILER arm-linux-gnueabihf-gcc)
|
||||
|
||||
# Name of the target platform
|
||||
SET(CMAKE_SYSTEM_NAME Linux)
|
||||
SET(CMAKE_SYSTEM_PROCESSOR arm)
|
||||
|
||||
# Version of the system
|
||||
SET(CMAKE_SYSTEM_VERSION 1)
|
||||
Reference in New Issue
Block a user