git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@98 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e

This commit is contained in:
mvandervoord
2010-10-14 12:21:16 +00:00
parent 33fa00d518
commit a1ed0deceb

View File

@ -1,3 +1,6 @@
# rumor has it that this yaml file works for the standard edition of the
# hitech PICC18 compiler, but not the pro version.
#
compiler: compiler:
path: cd build && picc18 path: cd build && picc18
source_path: 'c:\Projects\NexGen\Prototypes\CMockTest\src\' source_path: 'c:\Projects\NexGen\Prototypes\CMockTest\src\'
@ -6,7 +9,7 @@ compiler:
options: options:
- --chip=18F87J10 - --chip=18F87J10
- --ide=hitide - --ide=hitide
- --please - --q #quiet please
- --asmlist - --asmlist
- --codeoffset=0 - --codeoffset=0
- --emi=wordwrite # External memory interface protocol - --emi=wordwrite # External memory interface protocol
@ -15,11 +18,12 @@ compiler:
- --char=unsigned - --char=unsigned
- -Bl # Large memory model - -Bl # Large memory model
- -G # generate symbol file - -G # generate symbol file
- --cp=24 # 24-bit pointers - --cp=16 # 16-bit pointers
- --double=24 - --double=24
- -N255 # 255-char symbol names - -N255 # 255-char symbol names
- --opt=none # Do not use any compiler optimziations - --opt=none # Do not use any compiler optimziations
- -c # compile only - -c # compile only
- -M
includes: includes:
prefix: '-I' prefix: '-I'
items: items:
@ -34,10 +38,10 @@ compiler:
prefix: '-D' prefix: '-D'
items: items:
- UNITY_INT_WIDTH=16 - UNITY_INT_WIDTH=16
- UNITY_POINTER_WIDTH=32 - UNITY_POINTER_WIDTH=16
- CMOCK_MEM_STATIC - CMOCK_MEM_STATIC
- CMOCK_MEM_SIZE=3000 - CMOCK_MEM_SIZE=3000
- __PICC18__ - _PICC18
object_files: object_files:
# prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead # prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead
extension: '.obj' extension: '.obj'