background image

 

Product revision: 2 

 

2019-10-23 

 

 

 

 
 

 

 

 

 

 

 

 

 

 
 

 

Getting started guide

 

Crosslink TG 

 
 

 

 

 

 

 

 

 

 www.crosscontrol.com 

Содержание CrossLink TG

Страница 1: ...Product revision 2 2019 10 23 Getting started guide Crosslink TG www crosscontrol com...

Страница 2: ...remote device IP address 9 2 4 Scanning for a Device 10 3 Create and Deploy a Console Application 11 4 Auto starting an application during boot 14 5 Security 14 5 1 Using the uncomplicated firewall 1...

Страница 3: ...n shell and editing the file etc ssh sshd_config In the Authentication section enable root login as below Authentication PermitRootLogin yes Do not connect a device directly to the Internet without ch...

Страница 4: ...osslink tg sdk_1 0 0 1_all deb Reading database 141169 files and directories currently installed Preparing to unpack crosslink tg sdk_1 0 0 1_all deb Setting up crosslink tg sdk 1 0 0 1 ccs LinX VM Th...

Страница 5: ...com 5 A typical Hello World application written in Qt for CrossLink TG The Qt Creator must be configured with the newly installed Qt libraries in order to be able to use it correctly Step 1 Open Tools...

Страница 6: ...Crosslink TG and compiler path to opt TG gcc linaro 5 3 2016 02 x86_64_arm linux gnueabihf bin arm linux gnueabihf gcc Press Apply and then repeat for C compiler Add GCC C Set name GCC Crosslink TG a...

Страница 7: ...2 Set the debugger Switch to the debugger tab and select the debugger opt TG gcc linaro 5 3 2016 02 x86_64_arm linux gnueabihf bin arm linux gnueabihf gdb Step 3 Configure Qt Switch to the Qt Version...

Страница 8: ...t revision 2 1 Getting started guide 2019 10 31 www crosscontrol com 8 Step 4 Create the complete Kit Switch to the Kits tab and press Add button to create the build kit for Crosslink TG It should be...

Страница 9: ...started guide 2019 10 31 www crosscontrol com 9 Press Ok and the setup is complete 2 3 Set remote device IP address To deploy and test an application on the CrossLink TG some settings need to be set i...

Страница 10: ...vice The Crosslink TG will broadcast its IP address It can be read from the virtual machine with the application opt bin snb_reader The virtual machine may need to use a bridged adapter instead of the...

Страница 11: ...ol com 11 3 Create and Deploy a Console Application To create a hello world application from Qt Creator it must be a console application since there is no graphical interface available for the Crossli...

Страница 12: ...Crosslink TG Product revision 2 1 Getting started guide 2019 10 31 www crosscontrol com 12 Press Choose Press Next and select the qmake build system Then select the newly created Crosslink TG Kit...

Страница 13: ...rosscontrol com 13 Press Next Select the option to enable version control if needed and then Finish Create a C Hello world application and press the green Run button to deploy it to the Crosslink TG I...

Страница 14: ...target Service ExecStart opt bin myApplication Install multi user target corresponds to run level 3 WantedBy multi user target You must also create as root user a file named myapplication service in f...

Страница 15: ...to the device will be disabled when the firewall is enabled To allow SSH login ufw allow ssh This enables ssh traffic on port 22 It is also possible to specify port number but ufw uses many common ke...

Отзывы: