![Silicon Laboratories Si4012 Programming Manual Download Page 28](http://html1.mh-extra.com/html/silicon-laboratories/si4012/si4012_programming-manual_1272046028.webp)
A N 7 4 6
28
Rev. 0.1
5.4.1. Porting the Project for another MCU
The porting of an example project to an MCU of choice can be done easily thanks to the layered approach of the
project structure. This reduces the effort required to compile the code for other architecture, as only the low-level
functions must be modified.
The following drivers shall be modified:
compiler_defs.h, hardware_defs.h, platform_defs.h, application_defs.h
This header files contains definitions for the 8051 architecture and the SiLabs hardware platform. This may
be modified according to the new architecture and hardware.
spi.c, spi.h
The SPI driver module shall be supplied to enable the communication with the radio.
radio_hal.c, radio_hal.h
The radio hardware abstraction layer may be adjusted, as the GPIOs, nIRQ and SDN pins are defined in
this file.
The above mentioned files may not cover all requirements for porting the project to other MCU, as it depends on
what is to be ported and which other drivers are used by the project.
The compiler toolchain setup, the appropriate startup codes, and linker scripts are out of the scope of this chapter;
the user is responsible for providing them as appropriate for the given architecture.
Summary of Contents for Si4012
Page 14: ...AN746 14 Rev 0 1...
Page 18: ...AN746 18 Rev 0 1...
Page 29: ...AN746 Rev 0 1 29 NOTES...