PIC24 Support Libraries
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
SCons_build.py File Reference

Given a build environment, this file performs specific builds using the PIC24 library. More...

Go to the source code of this file.

Variables

Setup for building files based on the PIC24 support library
list SCons_build.PIC24SupportLibSources
 Common sources used for the PIC24 support library.
 
list SCons_build.PIC24SupportLibSourcesSmall
 
list SCons_build.PIC24SupportLibSourcesSmall3
 
list SCons_build.PIC24SupportLibSourcesSmall2
 

Example code build

tuple SCons_build.PIC24SupportLibObjects = env.Object(PIC24SupportLibSources)
 Instruct SCons to build the common PIC24 library upon which all the textbook example programs are based. More...
 
tuple SCons_build.PIC24SupportLibObjectsSmall = env.Object(PIC24SupportLibSourcesSmall)
 
tuple SCons_build.PIC24SupportLibObjectsSmall2 = env.Object(PIC24SupportLibSourcesSmall2)
 
string SCons_build.targetName = 'p${MCU}_230400baud_bootldr'
 
def SCons_build.cof2hex
 This functions converts a cof to a hex file. More...
 
def SCons_build.buildProgramWithCommonSources
 This function builds a program which includes the PIC24 library. More...
 
def SCons_build.buildWithCommonSources
 This function takes a list of source files (including wildcards), adds the PIC24 common sources to each item, then uses Program to build each item. More...
 
def SCons_build.buildWithCommonLibs
 This function takes a list of source files (including wildcards), adds the PIC24 common libraries to each item, then uses Program to build each item. More...
 

Detailed Description

Given a build environment, this file performs specific builds using the PIC24 library.

It should be called from an SCons script that exports:

This file delegates to templates/SConscript.py to build all templates.

Definition in file SCons_build.py.