Skip to content

Commit

Permalink
Merge pull request #23 from xmos/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
chrisc-xmos authored Oct 28, 2019
2 parents d8ac6b8 + 7b5a405 commit 51e6a88
Show file tree
Hide file tree
Showing 9 changed files with 49 additions and 126 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Logging change log
==================

3.0.0
-----

* CHANGED: Build files updated to support new "xcommon" behaviour in xwaf.

2.1.1
-----

Expand Down
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ pipeline {
updateViewfiles()
}
cleanup {
cleanWs()
xcoreCleanSandbox()
}
}
}
2 changes: 1 addition & 1 deletion examples/AN00239/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Software Release License Agreement

Copyright (c) 2016-2018, XMOS, All rights reserved.
Copyright (c) 2016-2019, XMOS, All rights reserved.

BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software.

Expand Down
21 changes: 11 additions & 10 deletions examples/AN00239/wscript
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
def configure(conf):
conf.load('xwaf.compiler_xcc')
def options(opt):
opt.load('xwaf.xcommon')

def configure(conf):
conf.load('xwaf.xcommon')

def build(bld):
bld.env.TARGET_ARCH = 'XCORE-200-EXPLORER'
bld.env.XCC_FLAGS = ['-g', '-report', '-Os', '-DDEBUG_PRINT_ENABLE=1']
bld.XSCOPE = 'src/config.xscope'

# Build our program
prog = bld.program(
source=['src/main.xc', 'src/unit.xc'],
depends_on='lib_logging(>=2.1.0)')
bld.do_xcommon()

def dist(ctx):
ctx.load('xwaf.xcommon')

def distcheck(ctx):
ctx.load('xwaf.xcommon')
18 changes: 10 additions & 8 deletions examples/app_debug_printf/wscript
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
def configure(conf):
conf.load('xwaf.compiler_xcc')
def options(opt):
opt.load('xwaf.xcommon')

def configure(conf):
conf.load('xwaf.xcommon')

def build(bld):
bld.env.TARGET_ARCH = 'SLICEKIT-L16'
bld.env.XCC_FLAGS = ['-DDEBUG_PRINT_ENABLE=1']
bld.do_xcommon()

def dist(ctx):
ctx.load('xwaf.xcommon')

# Build our program
prog = bld.program(
source='src/main.xc',
depends_on='lib_logging')
def distcheck(ctx):
ctx.load('xwaf.xcommon')
13 changes: 10 additions & 3 deletions lib_logging/module_build_info
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
VERSION = 3.0.0

DEPENDENT_MODULES =

MODULE_XCC_FLAGS = $(XCC_FLAGS) \
-Os

OPTIONAL_HEADERS += debug_conf.h

INCLUDE_DIRS = api
EXPORT_INCLUDE_DIRS = api

MODULE_XCC_FLAGS = $(XCC_FLAGS) -Os
INCLUDE_DIRS = $(EXPORT_INCLUDE_DIRS)

VERSION = 2.1.1
SOURCE_DIRS = src
94 changes: 0 additions & 94 deletions lib_logging/wscript

This file was deleted.

2 changes: 1 addition & 1 deletion tests/debug_printf_test/LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Software Release License Agreement

Copyright (c) 2015-2017, XMOS, All rights reserved.
Copyright (c) 2015-2019, XMOS, All rights reserved.

BY ACCESSING, USING, INSTALLING OR DOWNLOADING THE XMOS SOFTWARE, YOU AGREE TO BE BOUND BY THE FOLLOWING TERMS. IF YOU DO NOT AGREE TO THESE, DO NOT ATTEMPT TO DOWNLOAD, ACCESS OR USE THE XMOS Software.

Expand Down
18 changes: 10 additions & 8 deletions tests/debug_printf_test/wscript
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
def configure(conf):
conf.load('xwaf.compiler_xcc')
def options(opt):
opt.load('xwaf.xcommon')

def configure(conf):
conf.load('xwaf.xcommon')

def build(bld):
bld.env.TARGET_ARCH = 'SLICEKIT-L16'
bld.env.XCC_FLAGS = ['-DDEBUG_PRINT_ENABLE=1']
bld.do_xcommon()

def dist(ctx):
ctx.load('xwaf.xcommon')

# Build our program
prog = bld.program(
source='src/main.xc',
depends_on='lib_logging')
def distcheck(ctx):
ctx.load('xwaf.xcommon')

0 comments on commit 51e6a88

Please sign in to comment.