提交 b7d9d007 编写于 作者: J John Van Enk

Merge branch 'master' of github.com:ThrowTheSwitch/Unity

Conflicts:
	src/unity_internals.h
...@@ -25,7 +25,7 @@ task :prepare_for_tests => TEMP_DIRS ...@@ -25,7 +25,7 @@ task :prepare_for_tests => TEMP_DIRS
include RakefileHelpers include RakefileHelpers
# Load default configuration, for now # Load default configuration, for now
DEFAULT_CONFIG_FILE = 'gcc.yml' DEFAULT_CONFIG_FILE = 'gcc_32.yml'
configure_toolchain(DEFAULT_CONFIG_FILE) configure_toolchain(DEFAULT_CONFIG_FILE)
desc "Test unity with its own unit tests" desc "Test unity with its own unit tests"
......
...@@ -155,6 +155,10 @@ typedef _US64 _U_SINT; ...@@ -155,6 +155,10 @@ typedef _US64 _U_SINT;
// Pointer Support // Pointer Support
//------------------------------------------------------- //-------------------------------------------------------
#ifndef UNITY_POINTER_WIDTH
#define UNITY_POINTER_WIDTH (32)
#endif /* UNITY_POINTER_WIDTH */
#if (UNITY_POINTER_WIDTH == 32) #if (UNITY_POINTER_WIDTH == 32)
typedef _UU32 _UP; typedef _UU32 _UP;
#define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX32 #define UNITY_DISPLAY_STYLE_POINTER UNITY_DISPLAY_STYLE_HEX32
......
...@@ -5,6 +5,7 @@ compiler: ...@@ -5,6 +5,7 @@ compiler:
build_path: &build_path 'build/' build_path: &build_path 'build/'
options: options:
- '-c' - '-c'
- '-m32'
- '-Wall' - '-Wall'
- '-Wno-address' - '-Wno-address'
- '-std=c99' - '-std=c99'
...@@ -18,7 +19,6 @@ compiler: ...@@ -18,7 +19,6 @@ compiler:
defines: defines:
prefix: '-D' prefix: '-D'
items: items:
- UNITY_SUPPORT_64
- UNITY_INCLUDE_DOUBLE - UNITY_INCLUDE_DOUBLE
- UNITY_SUPPORT_TEST_CASES - UNITY_SUPPORT_TEST_CASES
object_files: object_files:
...@@ -29,6 +29,7 @@ linker: ...@@ -29,6 +29,7 @@ linker:
path: gcc path: gcc
options: options:
- -lm - -lm
- '-m32'
includes: includes:
prefix: '-I' prefix: '-I'
object_files: object_files:
...@@ -40,4 +41,4 @@ linker: ...@@ -40,4 +41,4 @@ linker:
destination: *build_path destination: *build_path
colour: true colour: true
:unity: :unity:
:plugins: [] :plugins: []
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册