BigW Consortium Gitlab

Commit 1b0e71d9 by David Frey

Merge branch 'submodules'

parents 0b680aff 85970446
# Ignore apps & samples directories (contains other git repos)
apps
samples
[submodule "apps/ArduinoBridge"]
path = apps/ArduinoBridge
url = git://github.com/mangOH/ArduinoBridge
[submodule "apps/DataRouter"]
path = apps/DataRouter
url = git://github.com/mangOH/DataRouter
[submodule "apps/MqttClient"]
path = apps/MqttClient
url = git://github.com/mangOH/MqttClient
[submodule "apps/GpioExpander"]
path = apps/GpioExpander
url = git://github.com/mangOH/GpioExpander
[submodule "apps/MuxControl"]
path = apps/MuxControl
url = git://github.com/mangOH/MuxControl
[submodule "apps/SocialService"]
path = apps/SocialService
url = git://github.com/mangOH/SocialService
[submodule "samples/TemperatureMonitor"]
path = samples/TemperatureMonitor
url = git://github.com/mangOH/TemperatureMonitor
[submodule "samples/RelayControl"]
path = samples/RelayControl
url = git://github.com/mangOH/RelayControl
[submodule "samples/Demos"]
path = samples/Demos
url = git://github.com/mangOH/Demos
TARGET:=wp85
# Load default PA definitions from main Legato Makefile
$(shell grep 'export PA_DIR .*' $(LEGATO_ROOT)/Makefile > legatoDefs.mk)
$(shell grep 'export .*_PA_.* .*' $(LEGATO_ROOT)/Makefile >> legatoDefs.mk)
-include legatoDefs.mk
# Default targets definitions from Framework
-include targetDefs.$(TARGET)
.PHONY: all $(TARGET)
all: $(TARGET)
$(TARGET):
export MANGOH_ROOT=$(shell pwd) && \
mksys -t $(TARGET) \
-i "$(LEGATO_ROOT)/interfaces/supervisor" \
-i "$(LEGATO_ROOT)/interfaces/positioning" \
-i "$(LEGATO_ROOT)/interfaces/airVantage" \
-i "$(LEGATO_ROOT)/interfaces/modemServices" \
-i "$(LEGATO_ROOT)/interfaces" \
-i "$(LEGATO_ROOT)/interfaces/atServices" \
-i "$(LEGATO_ROOT)/interfaces/wifi" \
-i "$(LEGATO_ROOT)/interfaces/secureStorage" \
-i "$(LEGATO_ROOT)/interfaces/logDaemon" \
-s "$(LEGATO_ROOT)/modules/WiFi/service" \
-s "$(LEGATO_ROOT)/components" \
-s "$(LEGATO_ROOT)/modules/WiFi/apps/tools/wifi" \
-s "$(LEGATO_ROOT)/apps/platformServices/airVantage" \
-s "$(LEGATO_ROOT)/apps/platformServices" \
-s "$(LEGATO_ROOT)/apps/tools" \
-C -g -X -g -L -g \
mangOH_Green.sdef
#mangOH_Red.sdef
clean:
rm -rf /tmp/mkbuild_* _build_* *.update legatoDefs.mk
# MangOH
Base project containing apps playing with MangOH hardware
## Setup
### Linux
Open a terminal and load Legato development environment
* `source ~/legato/packages/legato.sdk.latest/resources/configlegatoenv`
### Windows
Launch the **Legato Command Line** shortcut to load the Legato development environment
### Get the source code
Clone this repository and initialize the sub-modules
* `git clone git://github.com/swiDeveloperStudio/mangOH`
* `cd mangOH`
* `./setup.sh`
### Build
Build the MangOH Legato system
* `make all`
Subproject commit 76f7560f98cb96b7e3f05797cfbdee0ed3f42c6b
Subproject commit 78c752542592fb552bd8fc67b1f7673f8bab3938
Subproject commit 6c2a73960adcce119d86fd0251171424ea106412
Subproject commit b39ab64dfcfb7682ceeadb094a03a91b7e61c4f4
Subproject commit 187d483d7b726f5e7d66cae14c9d756aa83f1c70
Subproject commit 29c01ea6f23f4b46d9dd735a87c53eed043c310a
......@@ -5,6 +5,12 @@
// Copyright (C) Sierra Wireless Inc. Use of this work is subject to license.
//--------------------------------------------------------------------------------------------------
buildVars:
{
LEGATO_WIFI_ROOT = $LEGATO_ROOT/modules/WiFi
LEGATO_WIFI_PA = ti
}
apps:
{
// Platform services.
......
Subproject commit 45f6c4323e353541f526f5d764e90a5509b4a924
Subproject commit 8b5a8385d582c928ba6fdd97ffbcd4227a487ba6
Subproject commit b5c9b7fd80058063ac9ba3bd0128283ea697fe07
#!/bin/sh
set -e
git submodule sync --recursive
git submodule update --init --recursive
# Root directory for MangOH code
export MANGOH_ROOT = $(LEGATO_ROOT)/../mangOH
# Override the default sdef file to use the MangOH one
export SDEF_TO_USE = $(MANGOH_ROOT)/mangOH_Green.sdef
#export SDEF_TO_USE = $(MANGOH_ROOT)/mangOH_Red.sdef
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment