Putting The Source Code To System; Serial Port Test; Setup Serial Port - Advantech RSB-4221 User Manual

Risc 3.5inch sbc based on ti sitara am3358 cortex a8 1ghz high performance processor
Hide thumbs Also See for RSB-4221:
Table of Contents

Advertisement

4.7.2

Putting the Source Code to System

1.
Put whole package directory to BSP's folder:
./android/packages/apps/
2.
Createafile,Android.mk,atpackagedirectory;thecontentslooklikebelow:
LOCAL_PATH:=$(callmy?dir)
include$(CLEAR_VARS) LOCAL_MODULE_TAGS:=optional
LOCAL_SRC_FILES:=$(callall?java?files?under,src)
LOCAL_PACKAGE_NAME:=PROJECT_NAME_HERE
LOCAL_CERTIFICATE:=platform
include$(BUILD_PACKAGE)
#Usethefollowingincludetomakeourtestapk.
include$(callall-makefiles-under,$(LOCAL_PATH))
3.
Editfollowingfile:
./android/device/Advantech/rsb4221/device.mk
toinsertcorrectprojectname:
PRODUCT_PACKAGES+=\
4.8

Serial Port Test

4.8.1

Setup Serial Port

1.
Click Serial Port.
2.
Click Setup.
PROJECT_NAME_HERE\
librxtxSerial\
SerialJ
43
RSB-4221 User Manual

Advertisement

Table of Contents
loading

Table of Contents