[chronojump] Fixed sdcc 3.0 <-> 2.8 on compiling C firmwares
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] Fixed sdcc 3.0 <-> 2.8 on compiling C firmwares
- Date: Thu, 17 Jan 2013 19:06:39 +0000 (UTC)
commit 8224e597f2d31e50af6ea703d1e58bb96e29e79f
Author: Xavier de Blas <xaviblas gmail com>
Date: Thu Jan 17 20:04:39 2013 +0100
Fixed sdcc 3.0 <-> 2.8 on compiling C firmwares
.../chronopic-firmware-20MHz.c | 3 ++-
.../chronopic-firmware-c/chronopic-firmware-4MHz.c | 2 +-
.../chronopic-firmware-c/howto_compile.txt | 16 ++++++++++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
---
diff --git a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
index 694c2ba..70cbaae 100644
--- a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
+++ b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-20MHz.c
@@ -35,7 +35,8 @@ History:
*/
//-- this PIC is going to be used:
-#include <pic16f876A.h>
+//#include <pic16f876A.h>
+#include <pic16f876a.h>
//*****************************************
diff --git a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-4MHz.c b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-4MHz.c
index ab826e4..ef03ce2 100644
--- a/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-4MHz.c
+++ b/chronopic-firmware/chronopic-firmware-c/chronopic-firmware-4MHz.c
@@ -18,7 +18,7 @@ History:
*/
//-- this PIC is going to be used:
-#include <pic16f876A.h>
+#include <pic16f876a.h>
//*****************************************
diff --git a/chronopic-firmware/chronopic-firmware-c/howto_compile.txt b/chronopic-firmware/chronopic-firmware-c/howto_compile.txt
index 9ef7bea..7dc288a 100644
--- a/chronopic-firmware/chronopic-firmware-c/howto_compile.txt
+++ b/chronopic-firmware/chronopic-firmware-c/howto_compile.txt
@@ -1,2 +1,18 @@
sdcc -mpic14 -p16f876a -Wl-m -Wl-ainhx8m chronopic-firmware-4MHz.c
+
then record with chronopic-firmwarecord
+
+IMPORTANT:
+there's a bug:
+https://bugs.launchpad.net/ubuntu/+source/sdcc/+bug/1077918
+that makes compiling with pics impossible.
+Solution is to manually (dpkg -i) install lenny packages:
+
+http://archive.debian.net/lenny/i386/sdcc/download
+http://archive.debian.net/lenny/electronics/sdcc-libraries
+
+this sdcc-libraries (2.8.0) has
+pic16f876a.h
+pic16f876a.lib
+
+but all the 3.0 and above doesn't have them
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]