Alex,
> > Can you clarify "local modifications"?
>
> Any modification you may have done to files in Modules/, e.g.
> CMakeForceCompiler.cmake now comes with cmake.
>
> Your FreescaleCHC12 files are still required.
Ah, OK, CMakeForceCompiler.cmake was the only modification I'd made.
I'll test a
On Tuesday 03 July 2007 07:50, Trevor Kellaway wrote:
> Alex,
>
> > > > I still recommend to name the system "Generic", and now that you
> > > > gave your toolchain an id ("FreescaleCHC12"), the cmake
> >
> > files can be
> >
> > > > renamed Generic-FreescaleCHC12-C.cmake and
> > > > Generic-Freesc
Alex,
> > > I still recommend to name the system "Generic", and now that you
> > > gave your toolchain an id ("FreescaleCHC12"), the cmake
> files can be
> > > renamed Generic-FreescaleCHC12-C.cmake and
> > > Generic-FreescaleCHC12-CXX.cmake (the settings for C and C++ are
> > > separated if
On Sunday 01 July 2007 14:59, Trevor Kellaway wrote:
> Alex,
>
> > I still recommend to name the system "Generic", and now that
> > you gave your toolchain an id ("FreescaleCHC12"), the cmake
> > files can be renamed Generic-FreescaleCHC12-C.cmake and
> > Generic-FreescaleCHC12-CXX.cmake (the setti
Alex,
> I still recommend to name the system "Generic", and now that
> you gave your toolchain an id ("FreescaleCHC12"), the cmake
> files can be renamed Generic-FreescaleCHC12-C.cmake and
> Generic-FreescaleCHC12-CXX.cmake (the settings for C and C++
> are separated if you have a compiler id
On Saturday 23 June 2007 07:54, Trevor Kellaway wrote:
> Alex,
>
> > > > Can't you move the following three also in the toolchain file ?
> > > > If they are already in the cache, you could try the FORCE option.
> > > > SET (HC12_PIPER "piper" CACHE STRING "Freescale tool...")
> > > > SET (CMAKE_A
Alex,
> > Please have a look at the attached file and put it into your
> > cmake/Modules/ directory and let me know what you think.
> >
> > It includes three simple macros, with these you can change your
> > toolchain file to:
Tested this, and it works OK, apart from a typo in the last line of
Alex,
> ---...
> > Please have a look at the attached file and put it into your
> > cmake/Modules/ directory and let me know what you think.
>
> ...
> Any news ?
I'll check it this weekend (work is currently too hectic to allow
otherwise).
- TrevK
_
Hi Trevor,
On Saturday 16 June 2007 11:27, Trevor Kellaway wrote:
> Alex,
>
> > Please update to current cvsand use "Generic" as
> > CMAKE_SYSTEM_NAME, there is now a Generic.cmake in cmake.
> >
> > ...
> >
> > > > SET (CMAKE_C_OUTPUT_EXTENSION ".o"CACHE STRING "C ...")
> > > > SET (CMAKE_CX
Alex,
> Not too long ago I also did some programming e.g. on a PIC16,
> which had 2k word program memory (2 k word != 2048 byte,
> since one word is 14 bit) and 256 byte (not KB ! ;-) of RAM.
FYI, using my previous patch method I have the Microchip PIC18 compiler
working under CMake, although
On Tuesday 12 June 2007 16:21, Trevor Kellaway wrote:
> Alex,
>
> > I had another look at Freescale-chc12.cmake.
> >
> > I guess you have different projects using this controller ?
>
> Yes, each system will generally have its own custom link.prm.
>
> > In the file you have the cache variables HC12_
Alex,
> I had another look at Freescale-chc12.cmake.
>
> I guess you have different projects using this controller ?
Yes, each system will generally have its own custom link.prm.
> In the file you have the cache variables HC12_LINK_PRM_FILE,
> HC12_MEMORY_MODEL_LETTER and HC12_CORE. I guess th
On Sunday 10 June 2007 17:38, Trevor Kellaway wrote:
> Note that in my example Freescale.cmake and Freescale-chc12-hc12.cmake
> are effectively empty, as all content seems to logically belong in
> Freescale-chc12.cmake in this case.
I had another look at Freescale-chc12.cmake.
I guess you have di
Hi,
On Monday 11 June 2007 18:15, Trevor Kellaway wrote:
> Alex,
>
> > Please update to current cvsand use "Generic" as
> > CMAKE_SYSTEM_NAME, there is now a Generic.cmake in cmake.
>
> I still think I should use vendor ("Freescale") instead of "Generic", as
> "Generic-chc12" may not be unique, it
Alex,
> Please update to current cvsand use "Generic" as
> CMAKE_SYSTEM_NAME, there is now a Generic.cmake in cmake.
I still think I should use vendor ("Freescale") instead of "Generic", as
"Generic-chc12" may not be unique, it is just luck that two different
vendors have differently named compi
Hi,
On Monday 11 June 2007 10:16, Trevor Kellaway wrote:
> Alex,
>
...
> > Paths in cmake files should always have forward slashes, also
> > on Windows. If they come from the "outside" (files, env vars,
> > etc.), they have to be converted using FILE(TO_CMAKE_PATH ...)
>
> Agreed, but why can't Cm
Alex,
> > It appears that the module path has to now use forward
> slashes, this
> > is a bit unfriendly for native Windows users.
>
> Paths in cmake files should always have forward slashes, also
> on Windows. If they come from the "outside" (files, env vars,
> etc.), they have to be convert
Hi,
On Sunday 10 June 2007 17:38, Trevor Kellaway wrote:
> Alex,
>
> > I checked in a change in cvs yesterday.
> >
> > Now cmake tries to load:
> >
> > Platform/CMAKE_SYSTEM.cmake
> > Platform/CMAKE_SYSTEM-.cmake
> > Platform/CMAKE_SYSTEM--CMAKE_SYSTEM_PROCESSOR.cmake
> >
> > Let me know how this
Hi Trevor,
On Monday 28 May 2007 13:24, Trevor Kellaway wrote:
> Alex,
>
> > > Attached is an example set of scripts for adding tool chain support
> > > for Freescale HC12 embedded 16-bit microcontroller. This is
> >
> > intended
> >
> > > as a demonstration to others for how to add additional too
Alex,
> > I've just tried this, adding "SET (CMAKE_C_COMPILER "chc12" CACHE
> > STRING "Tool chain C compiler")" and removing
> > CMAKE_SKIP_ASSEMBLY_SOURCE_RULES and
> > CMAKE_SKIP_PREPROCESSED_SOURCE_RULES, but the makefile
> still contains
> > the .i and .s rules, so this doesn't appear to
Hi,
On Monday 28 May 2007 13:24, Trevor Kellaway wrote:
> Alex,
...
> No problem, when everything is stable I was intending to create a Wiki
> page for this, with extracts from this example.
>
> > Some questions/notes:
> > You are using HC12_CORE. I'm still wondering whether
> > standardizing on C
Alex,
> Why are CMAKE_C_COMPILER, CMAKE_CXX_COMPILER not in the
> toolchain file ?
> This would then automatically disable also
> CMAKE_SKIP_ASSEMBLY_SOURCE_RULES,
> CMAKE_SKIP_PREPROCESSED_SOURCE_RULES (which you do currently
> manually).
I've just tried this, adding "SET (CMAKE_C_COMPILER
Alex,
> > Attached is an example set of scripts for adding tool chain support
> > for Freescale HC12 embedded 16-bit microcontroller. This is
> intended
> > as a demonstration to others for how to add additional tool chain
> > support (see the ReadMe.txt in the ZIP).
> >
>
> Thanks for your e
Hi Trevor,
On Monday 28 May 2007 11:48, Trevor Kellaway wrote:
> Alex,
>
> I've rebuilt with cmake version 2.5-20070527 and all seems OK.
>
> Attached is an example set of scripts for adding tool chain support for
> Freescale HC12 embedded 16-bit microcontroller. This is intended as a
> demonstrat
24 matches
Mail list logo