While writing codes, a lot of times I need to do some math calculation which I did on paper/calculator only to get some constant values (e.g. hardware register settings, etc.). Either you realize it or not, these kind of calculation tasks can be really simply done using the C preprocessor to get the job done.
The CC3000 SDK (Software Development Kit) contains examples for MSP-EXP430F5529 development kit + CC3000EM. The MSP-EXP430F5529 (TI e-Store price: 175 USD) is far more expensive than the MSP-EXP430F5529LP Launchpad (TI e-Store price: 112.99 USD), and the CC3000EM is no longer available, replaced by the CC3000BOOST. This short guide shows how to modify the examples delivered in the CC3000 SDK (for MSP-EXP430F5529+CC3000EM), so the same code can run on the MSP-EXP430F5529LP Launchpad + CC3000BOOST boosterpack.