Skip to content

Added cc2538-bsl as a submodule + update#4237

Closed
JelmerT wants to merge 3 commits intoRIOT-OS:masterfrom
JelmerT:feature/cc2538-bsl_submodule
Closed

Added cc2538-bsl as a submodule + update#4237
JelmerT wants to merge 3 commits intoRIOT-OS:masterfrom
JelmerT:feature/cc2538-bsl_submodule

Conversation

@JelmerT
Copy link
Copy Markdown
Contributor

@JelmerT JelmerT commented Nov 9, 2015

This PR adds the cc2538-bsl script as a submodule. It follows my repo at https://github.com/JelmerT/cc2538-bsl .

Including the script as a submodule makes it easier to keep the script up to date, and for user to pull in possible bug fixes more easily.
We just added a lot new features to the script and bumped the version to 2.0. One of the main improvements is support for the CC13xx and CC26xx chips.

The submodule will be automatically checked out by git when a user clones a new version of the RIOT repo. For existing clones you might need to use git submodule update --init

I will keep this submodule here up to date on major version changes of the script.

I also updated the RE-MOTE makefile to not force the upload speed when using the script. @alignan can confirm if this doesn't break anything.

@OlegHahm
Copy link
Copy Markdown
Member

OlegHahm commented Nov 9, 2015

@JelmerT, thanks for this proposal. Actually, we decided some time ago not include submodules in RIOT, because they are not so easy to use and may cause several problems, Instead we decided to include external tools as so called "packages". See the documentation in the wiki. Do you think this could be feasible for the bootloader tool as well?

@OlegHahm OlegHahm added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: tools Area: Supplementary tools labels Nov 9, 2015
@JelmerT
Copy link
Copy Markdown
Contributor Author

JelmerT commented Nov 9, 2015

I'll have to look into this. A package seems overkill for a 1 file uploader script.

I'll close this for now and reopen once I have time to write the extra makefiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: tools Area: Supplementary tools Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants