|
PIC24 Support Libraries
|
This file provides an automated build process for the libraries included in this collection. More...
Go to the source code of this file.
Functions | |
| def | SConstruct.buildTargetsSConscript |
| Call SConscript with a specific buildTargets value. | |
Variables | |
| list | SConstruct.archiveFiles |
| Define what parts of the source tree should be inclued in a .zip distribution. More... | |
| string | SConstruct.archiveFileName = 'build/pic24_code_examples.zip' |
| Select the file name for the .zip archive. | |
| tuple | SConstruct.zipNode = env.Zip(archiveFileName, archiveFiles) |
| Create a target which zips up these files; otherwise, create compilation targets. More... | |
Create a Microchip MCC24 (PIC24F/H) Construction Environment | |
Make sure SCons is recent enough. | |
| tuple | SConstruct.opts = Variables() |
| Define command-line options to set processor, bootloader. | |
| tuple | SConstruct.allowed_values = ('msu','none') |
| tuple | SConstruct.env |
| tuple | SConstruct.incDirs = Split( """include /usr/pic30-elf/include /usr/share/pic30-support/generic/h /usr/share/pic30-support/pic24h/h """) |
| tuple | SConstruct.libDirs = Split( """. lib """) |
| SConstruct.CPPPATH = incDirs, | |
| Change linux-specific environment variables. | |
| string | SConstruct.CC = 'pic30-elf-gcc' |
| SConstruct.LIBPATH = libDirs, | |
| string | SConstruct.AR = 'pic30-elf-ar' |
| string | SConstruct.LINK = 'pic30-elf-gcc' |
| tuple | SConstruct.b2h |
| tuple | SConstruct.dict = env.Dictionary() |
| string | SConstruct.LINKFLAGS = '-mcpu=${MCU} -Wl,--heap=100,$LINKERSCRIPT' |
| string | SConstruct.LINKERSCRIPT = '--script=lib/lkr' |
This file provides an automated build process for the libraries included in this collection.
To use:
SCons, which builds everything.The build process can be modified by passing options to SCons. See SCons –help for options specific to this build and SCons -H for generic SCons options.
Definition in file SConstruct.py.
1.8.4