Fix README typos
lv_conf_checker.py: change requirement of python 3.6 to >=3.6
contrib/itmdump.c: fix implicit declaration warning
contrib/itmdump.c: fix implicit declaration warning
As of r12014, I think this still happens. I attach an example where 2 very similar expressions raise the warning or not, in case that helps. Simply compiled using: sdcc main.c unsigned char a = 0x80 | 0x00 | (0x01 << 2); //warning 158 unsigned char b = 0x80 | (0x01 << 2); //no warning Many thanks!
tcl/interface/ftdi: Add Steppenprobe open hardware interface
tcl/interface/ftdi: Add Steppenprobe open hardware interface
Thank you very much for all the work on this to both of you. I had given up any hope of seeing stable pic ports but we may be closer than ever. I don't normally use the pic14 port but I've been using the pic16 port for some time and if you implement some changes, I can help testing my code to make sure everything works OK still. Thanks!
src/jtag/drivers/ftdi: fix swd pin comment and links
src/jtag/drivers/ftdi: remove pin 1 comment
src/jtag/drivers/ftdi: fix swd pin comment and links
Hi, Terry. You can see this repo with tutorial-like examples to get started with PIC devices and SDCC. https://github.com/diegoherranz/sdcc-examples Cheers, Diego
trim/strip on generate-cases.py
Hi, Have you tried using the new (although a few years old) pragma style? Example taken from section 4.6.17 on the SDCC manual. It will most surely need changes for your PIC: #pragma config CP0=OFF,OSCS=ON,OSC=LP,BOR=ON,BORV=25,WDT=ON,WDTPS=128,CCP2MUX=ON #pragma config STVR=ON That information is passed to GPUTILS, which knows about all those options (see https://sourceforge.net/p/gputils/code/HEAD/tree/trunk/gputils/header/p18f97j60.inc#l2281), so it should work even if the SDCC header is wrong...
Hi, pic14 and pic16 ports are non-free because of licence requirements by Microchip (header files), so if you've installed the sdcc package from debian repos, it won't work. You would need the sdcc-non-free package which you said it's not available (I don't know its status). I'd recommend you to install SDCC from source. You can find a tutorial for the installation and some PIC examples here: https://github.com/diegoherranz/sdcc-examples Hope it helps. Cheers, Diego
Incorrect duplicate symbol error
tcl/interface/ftdi: improve minimodule config
I've just seen Raphael has replied. A slightly longer answer :) I use linux so some...
Hi, Can you provide a minimum example so we can try to reproduce the error? Dieg...
Thanks.
Hi Ben, Check the comment header in sdcc/device/lib/isinf.c. It says NaN (Not a Number)....
You're right. They showed up as long dashes already on the PDF. Anyway, I've seen...
https://sourceforge.net/p/sdcc/code/9724/tree/trunk/sdcc/doc/sdccman.lyx?diff=513f4d42271846342871488b:9723&diformat=sidebyside...
Thanks, Phillip, for this! I've just noticed that in the documentation, many double...
Update default C standard in help dialog
Simulation time cycles in decimal by default
Thanks Károly!
I think it's not needed. Reading http://linux.die.net/man/3/getopt_long: If getopt()...
Out of curiosity, why the leading '?' in /trunk/gputils/gputils/gpdasm.c?
C89 style comments to prevent warnings
0 is for reset vector, 1 for high priority interrupts and 2 for low priority interrupts....
Have a look at section "4.6.18.3 Signals" of the manual ( http://sdcc.sourceforge.net/doc/sdccman.pdf)....
See https://github.com/diegoherranz/sdcc-examples for instructions on how to isntall...
Less optimal code generation in 3.5.0 (vs 3.4.0)
I think it's actually the other way around, make SDCC build run on older distributions....
I agree. Diego
I agree that Raphael's solution is best but I don't know if we have the time to implement...
Several things: 1) Can you post the compilation command you´re running and the sdcc...
This bug has been open for almost 4 years. I'd love to have it addressed before 3.5.0...
This bug has been open for almost 4 years. I'd love to have it addressed before 3.5.0...
Which compile command are you executing? Here you can find up-to-date examples for...
Don't know, but the version available on Debian is 0.13.7 (as far as I know) which...
Good. It would be fine if we finally enable regression tests on pic16. gputils is...
Going back to this, reading the manual at revision 1111, I still don't understand...
Going back to this, reading the manual at revision 1111, I still don't understand...
Going back to this, reading the manual at revision 1111, I still don't understand...
Going back to this, reading the manual at revision 1111, I still don't understand...
Going back to this, reading the manual at revision 1111, I still don't understand...
You're welcome. I'm glad it worked for you. Regards, Diego
If it is a hard-coded requirement, there's nothing left to do, hehe! About having...
If it is a hard-coded requirement, there's nothing left to do, hehe! About having...
Don't know about the error but why not downloading a pre-compiled SDCC? http://sourceforge.net/projects/sdcc/files/sdcc-linux-x86/3.2.0/...
For PICs you need "--use-non-free" option. It seems that it was added to piklab on...
Attach your code if you want help. Anyway, SDCC 2.5 is extremely old. Please try...
Add #pragma config for PIC14 port
Because probably nobody has time to switch PIC16 port to use standard libraries,...
Update Fuses section on documentation
Thank you very much Károly! I will report to SDCC to "hide" these warnings. Still...
Thanks for your fast reply. On 17 Oct 2014 19:38, Molnár Károly molnarkaroly@users.sf.net...
More info: gpasm says: [...] seven_seg.asm:284:Message[1301] Using default destination...
Question on "Using default destination of 0 (Access Bank)."
Man pages outdated
It's not a hint but a comment in case it's useful for you: Converting Assembly to...
This is such a recurrent question... Should we create a F.A.Q. on the web or the...
Egan, I misread it as a question instead of a bug report. I would have deleted my...
As long as I know, extended instructions for pic 16 port have never worked well on...
As long as I know, extended instructions for pic 16 port have never worked well on...
[PIC16] Bit toggle optimized only sometimes
Try adding this line: #include <pic16regs.h> More info: You can also do #include...
Can you attach test.c? Due to sourceforge formatting the include part can't be r...
It looks like you're missing the --use-non-free needed for PIC libraries due to Microchip...
Really sad news... My sympathies to his family. R.I.P.
I attach the comparison of device/lib/_strncpy.c and a modified version swapping...
[PIC16] strncpy doesn't follow ANSI standard
I'll try to help with this as much as my time allows. Regards, Diego On Fri, Dec...
Can you try to run SDCC from shell? $ "/opt/sdcc-3.3.0/bin/sdcc" --debug-ralloc --use-non-free...
Now that SDCC 3.4.0 it's on sight, could we address this? What's needed? Thanks a...