HelTecAutomation / CubeCell-Arduino

Heltec CubeCell Series (based on ASR6501, ASR6502 chip) Arduino support.
248 stars 137 forks source link

Provide source code for gcc toolchain #281

Open onitake opened 9 months ago

onitake commented 9 months ago

This is a follow-up to #105 (and possibly #80 ).

As per the conditions of the GPL, you're obliged to provide source code for a software that contains GPL code, if requested. It doesn't matter if you modified the original code or not, but if you do, the modifications must be released under the GPL as well.

As the GNU Compiler Collection (gcc) is released under the the GPL, I'm formally requesting the source code for the toolchain downloadable from https://resource.heltec.cn/download/gcc-arm-none-eabi-8-2019-q3-update-linux.tar.gz .

Judging by the file names, it looks like you're distributing the GNU Arm Embedded Toolchain from https://developer.arm.com/downloads/-/gnu-rm#panel7a . If this is the case, I think it would be sufficient to copy the source package from ARM to your download server. This will ensure it remains downloadable when ARM removes the download or the ARM website is inaccessible for some reason. Nonetheless, I think it would be polite that you mention in your documentation that the CubeCell SDK uses the GNU Arm Embedded Toolchain and link to the ARM website. Maybe also mention that new versions can be downloaded from there, if you want to support this.

Furthermore, I was wondering if you could release the source code for CubeCellflash, CubeCellelftool and flash6601. As you mentioned in https://github.com/HelTecAutomation/CubeCell-Arduino/issues/80#issuecomment-618162467 , these tools contain trade secrets (a custom bootloader?) and you're not ready to release them as open source yet. Has this changed?

onitake commented 9 months ago

FYI: The PlatformIO documentation explicitly mentions the ARM GNU toolchain: https://docs.platformio.org/en/latest/platforms/heltec-cubecell.html#packages