#867136 Impossible to use SDCC with PIC devices as non-free headers are removed

Package:
sdcc
Source:
sdcc
Description:
Small Device C Compiler
Submitter:
Petter Reinholdtsen
Date:
2021-04-20 08:45:03 UTC
Severity:
wishlist
#867136#5
Date:
2017-07-04 05:06:57 UTC
From:
To:
The --use-non-free option for sdcc do not work, making it impossible to
use sdcc to compile code for PIC devices.  I wanted to use it to compile
the firmware for the TellStick Net devices, available from
<URL: https://github.com/telldus/tellstick-net >, which require PIC18
support.

I notice from the changelog that this is a consious choice by the
package maintainers implemented in the 01_disable_non-free patch to
solve <URL: https://bugs.debian.org/597933 >.

While investigating I discovered that the problem is also reported in
Ubuntu as
<URL: https://bugs.launchpad.net/ubuntu/+source/sdcc/+bug/1077918 >.

It would be great if someone made non-free version of the sdcc compiler
or a non-free package with these non-free headers/libraries.

#867136#10
Date:
2018-06-25 00:57:05 UTC
From:
To:
Same here.
I'm actually trying to run the script to generate the header for a pic14(cinc2h.pl), but at least
the devices.txt and pic14devices.txt are missing. So I'll have to fetch
the src package just for those two things ....

#867136#15
Date:
2018-06-25 01:00:46 UTC
From:
To:
Also the browse link on the PTS seems down (getting a 404)
<https://anonscm.debian.org/git/collab-maint/sdcc.git>

#867136#20
Date:
2018-06-25 02:26:58 UTC
From:
To:
Still no luck...
After creating pic16f1703.h, pic16f1703.c, devices.txt and pic14devices.txt  I'm getting
"error 131: cannot generate code for target 'pic14'"
Either the compiler binary is crippled or one of the paths is wrong.

#867136#25
Date:
2021-04-20 08:42:54 UTC
From:
To:
See also the discussion on debian-legal:

https://debian-legal.debian.narkive.com/gGuSWDyP/are-register-names-and-locations-under-copyright

Apparently, the files are not actually non-free (though that might vary
by jurisdiction and opinion), as the non-freeness is based on a
copyright claim to something likely not copyrightable.

Philipp