From a1ed0deceb8a1300d230b972a19ef5cc9a35102a Mon Sep 17 00:00:00 2001 From: mvandervoord Date: Thu, 14 Oct 2010 12:21:16 +0000 Subject: [PATCH] git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@98 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e --- targets/hitech_picc18.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/targets/hitech_picc18.yml b/targets/hitech_picc18.yml index cbacdd8..d8db435 100644 --- a/targets/hitech_picc18.yml +++ b/targets/hitech_picc18.yml @@ -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: path: cd build && picc18 source_path: 'c:\Projects\NexGen\Prototypes\CMockTest\src\' @@ -6,7 +9,7 @@ compiler: options: - --chip=18F87J10 - --ide=hitide - - --please + - --q #quiet please - --asmlist - --codeoffset=0 - --emi=wordwrite # External memory interface protocol @@ -15,11 +18,12 @@ compiler: - --char=unsigned - -Bl # Large memory model - -G # generate symbol file - - --cp=24 # 24-bit pointers + - --cp=16 # 16-bit pointers - --double=24 - -N255 # 255-char symbol names - --opt=none # Do not use any compiler optimziations - -c # compile only + - -M includes: prefix: '-I' items: @@ -34,10 +38,10 @@ compiler: prefix: '-D' items: - UNITY_INT_WIDTH=16 - - UNITY_POINTER_WIDTH=32 + - UNITY_POINTER_WIDTH=16 - CMOCK_MEM_STATIC - CMOCK_MEM_SIZE=3000 - - __PICC18__ + - _PICC18 object_files: # prefix: '-O' # Hi-Tech doesn't want a prefix. They key off of filename .extensions, instead extension: '.obj'