Skip to content

Root-App/pxbee-open-close

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pxbee-blink-led

Programmable XBee Blink Led project that can be built under Linux or Mac OS X. Meant to be used as a boilerplate for new projects without running CodeWarrior.

Getting Started

Linux 32bit

make

Linux 64bit

You need to install 32bit compatibility. For example in Ubuntu:

sudo apt-get install lib32stdc++6

Verify that the compiler is able to execute:

./hc08c/bin/chc08 -Lic

You should be able to compile the project:

make

Mac OS X

As the project depends on the Linux 32bit compiler/linker, the OS X compatibility is achieved through Docker. You need to have a working Docker installation prior to building this project. To get started, download Docker. After you have a working Docker environment (you can successfully run: docker version). You can build the compiler image included in this project:

make builddocker

After this you can compile the project by executing:

make dall

Outcome

The expected outcome of the compiler and linker will be an .abs file that is input to the burner that will generate the final application binary obj/blink_led.bin and in Motorola format application coupled with the bootloader obj/blink_led.s19. Use these files to test the application on hardware.

The application will blink a LED connected to pin 7 with 125ms interval.

Cleaning

make clean

Taking it forward

  • include/xbee_config.h - This is the Programmable XBEE Project settings
  • src/main.c - The main() loop

Additional Information

S2C - https://www.digi.com/resources/documentation/digidocs/pdfs/90002002.pdf Grove - https://www.digi.com/resources/documentation/digidocs/pdfs/90001457-13.pdf SDK - http://exsilium.github.io/xbee-sdk-doc/group__api__gpios__gpio.html Transmit - https://www.digi.com/support/forum/46911/how-to-use-built-in-xbee-programmable-zdo-zcl-support Cluster ID info - http://www.zigbee.org/~zigbeeor/wp-content/uploads/2014/10/07-5123-06-zigbee-cluster-library-specification.pdf

License

Source files include a header of copyright and license.

Includes the full Digi XBee SDK version 1.6.0 sources (latest at the time of commit).

Includes the necessary build binaries:

HI-CROSS+ ANSI-C Compiler for HC08 V-5.0.39, Dec 13 2011
HI-CROSS+ SmartLinker V-5.0.48, Dec 13 2011
HI-CROSS+ Burner V-5.0.16, Dec 13 2011
(c) Copyright Freescale 1987-2010

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages