Skip to content

Commit

Permalink
Merge pull request #227 from xmos/release/v0.3.0
Browse files Browse the repository at this point in the history
Release/v0.3.0
  • Loading branch information
shuchitak authored Mar 25, 2022
2 parents 1ef5305 + 3d9bb73 commit d8878de
Show file tree
Hide file tree
Showing 309 changed files with 10,993 additions and 21,693 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/ci.yml

This file was deleted.

9 changes: 3 additions & 6 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
[submodule "examples/bare-metal/shared_src/xscope_fileio"]
path = examples/bare-metal/shared_src/xscope_fileio
url = [email protected]:xmos/xscope_fileio
[submodule "xcore_sdk"]
path = xcore_sdk
url = [email protected]:xmos/xcore_sdk
[submodule "xmos_cmake_toolchain"]
path = xmos_cmake_toolchain
url = [email protected]:xmos/xmos_cmake_toolchain
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Avona Reference Design Change Log
=================================

0.3.0
-----

* ADDED: Support for VAD.
* CHANGED: xcore_sdk no longer a submodule of avona.

0.2.0
-----

Expand Down
53 changes: 17 additions & 36 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 3.20)
cmake_minimum_required(VERSION 3.21)

## Disable in-source build.
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
Expand All @@ -7,48 +7,29 @@ endif()

project(sw_avona)

## Set up the build options
include(etc/build_options.cmake)
enable_language(CXX C ASM)

## Fetch the Unity repo as a dependency

find_package( Python3 COMPONENTS Interpreter )

## Compile flags for C/C++ for all libs and apps (for all platforms)
list(APPEND COMPILE_FLAGS -Os -g -MMD )
list(APPEND COMPILE_FLAGS -Wno-format -Wall )

## Platform-specific C/C++ compile flags

if(CMAKE_SYSTEM_NAME STREQUAL XCORE_XS3A)
set(XCORE_TARGET "XCORE-AI-EXPLORER")
#list(APPEND COMPILE_FLAGS -march=xs3a -mcmodel=large)
else()
list(APPEND COMPILE_FLAGS -DX86_BUILD=1)
endif()
## CMake configuration stuff

set( CMAKE_CXX_STANDARD 11 )
set( CMAKE_CXX_STANDARD_REQUIRED ON )
set( CMAKE_CXX_EXTENSIONS OFF )
## Add libs and apps
add_subdirectory( modules )

add_compile_options( ${COMPILE_FLAGS} )
if(PROJECT_IS_TOP_LEVEL)
find_package( Python3 COMPONENTS Interpreter )

## Add libs and apps
add_subdirectory( xcore_sdk EXCLUDE_FROM_ALL)
## Compile flags for C/C++ for all apps (for all platforms)
list(APPEND COMPILE_FLAGS -MMD )
list(APPEND COMPILE_FLAGS -Wno-format -Wall )

message( STATUS "System name ${CMAKE_SYSTEM_NAME}" )
message( STATUS "target name ${XCORE_TARGET}" )
message( STATUS "System name ${CMAKE_SYSTEM_NAME}" )

add_subdirectory( modules )
## Platform-specific C/C++ compile flags
if(CMAKE_SYSTEM_NAME STREQUAL XCORE_XS3A)
set(XCORE_TARGET "XCORE-AI-EXPLORER")
else()
list(APPEND COMPILE_FLAGS -DX86_BUILD=1)
endif()

if ( ${AVONA_BUILD_EXAMPLES} )
add_compile_options( ${COMPILE_FLAGS} )
add_subdirectory( examples )
endif()

## Get build dependencies

if ( ${AVONA_BUILD_TESTS} )
include(etc/fetch_deps.cmake)
add_subdirectory( test )
endif()
2 changes: 1 addition & 1 deletion CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#* @@keithm-xmos @mbruno-xmos @xmos-jmccarthy

/.github/ @keithm-xmos
#/.github/
Loading

0 comments on commit d8878de

Please sign in to comment.