Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contiki awa support #90

Open
wants to merge 4 commits into
base: creator
Choose a base branch
from

Conversation

cheekyhalf
Copy link

@cheekyhalf cheekyhalf commented Mar 21, 2017

No description provided.

@Ham22
Copy link
Member

Ham22 commented Mar 22, 2017

Hello, could you please take a look at the Jenkinsfile in the top level and add a suitable CI build/test for this new app and example (possibly even for the Docker version too but we could add that later if need be).

@Shpinkso Shpinkso mentioned this pull request Mar 22, 2017

CONTIKI_WITH_IPV6 = 1
CONTIKI_WITH_RPL = 0
USE_CA8210 = 1

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

USE_CA8210 has been dropped in 3f12666. Moreover being the example in generic directory it should work non Cascoda platforms.

all: $(CONTIKI_PROJECT)

$(CONTIKI_PROJECT).hex: $(CONTIKI_PROJECT)
xc32-bin2hex $(CONTIKI_PROJECT).$(TARGET)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

example app here should be TARGET independent. you cannot hardcode it only for xc32 cross compiler.

## Running under Docker

The app can also be built to run on a linux host, and can be built
and run under Docker. The only requirement for this is to have

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure whether we want to add dockerized environment, .vscode related files into generic contiki examples. Generally all these examples should be built on linux host machine, with all the supported TARGETS. if there is something TARGET specific example then it should be moved to platforms/$(TARGET)/apps.

CI or dockerized test setup may be sit in a different repo but not in contiki examples. It needs a design discussion if you want to push inside the contiki examples.

CONTIKI_PROJECT=awa-lwm2m
CONTIKI=../..
TARGET?=mikro-e
PAN_ID=0xaaaa
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do not hardcode the pan ids!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants