You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
patacongo c47d8cb7f6 Kconfig update 13 years ago
..
include Completes coding of the PWM module 13 years ago
src Completes coding of the PWM module 13 years ago
Kconfig Add kconfig documentation 13 years ago
Make.defs Add support for the Atollic Pro toolchain; Change extension .ihx to .hex to be better compatible with most of the rest of the world 13 years ago
README.txt Completes coding of the PWM module 13 years ago
appconfig Completes coding of the PWM module 13 years ago
defconfig Kconfig update 13 years ago
sdcc-2.6.0.patch Completes coding of the PWM module 13 years ago
setenv.sh Completes coding of the PWM module 13 years ago

README.txt

pjrc-8051 README
^^^^^^^^^^^^^^^^

This port uses the PJRC 87C52 development system and the SDCC toolchain.

The PJRC 87C52 development system can be obtained from http://www.pjrc.com/.

The SDCC toolchain is available from http://sdcc.sourceforge.net/. All
testing has been performed using verison 2.6.0 of the SDDC toolchain.

Building the SDCC toolchain
^^^^^^^^^^^^^^^^^^^^^^^^^^^

The SDCC toolchain is built with the standard configure/make/make install
sequence. However, some special actions are required to generate libraries
compatible with this build. First start with the usual steps

download
unpack
cd sdcc
./configure
make

But before installing, we need to apply a patch to the SDCC 2.6.0 source.
WARNING: This patch is specific to the particular combination of CFLAGS
that are used in the compilation. If you change Make.defs, then you will
likely have to change the patch as well.

Apply sdcc-2.6.0.patch
cd sdcc/device/lib
make model-mcs51-stack-auto

Then

cd sdcc
make install