Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for updating CLR and deploy app using serial port #210

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

josesimoes
Copy link
Member

Description

  • Add options to update nano device connected to serial port.
  • Move (and rename Esp32ClrFile to ClrFile) to allow reuse from all platforms.
  • Update code accordingly.
  • Improve all methods connecting to nano device so that device watchers aren't started anymore and a specific serial port is used.
  • Add fwVersion and clrFile parameters to UpdateDeviceClrAsync. Implement support for those.
  • FirmwarePackageFactory now accepts fwVersion parameter.
  • Clean-up code in FirmwarePackageFactory and add missing license header.
  • Update README with new options to update nano device using serial port.

Motivation and Context

  • Allow updating the CLR and deploying an application using the Wire Protocol port instead of a dedicated connection (JTAG or JLink).
  • Get the connected device details using the Wire Protocol port.

How Has This Been Tested?

Screenshots

Types of changes

  • Improvement (non-breaking change that improves a feature, code or algorithm)
  • Bug fix (non-breaking change which fixes an issue with code or algorithm)
  • New feature (non-breaking change which adds functionality to code)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Config and build (change in the configuration and build system, has no impact on code or features)
  • Dependencies (update dependencies and changes associated, has no impact on code or features)
  • Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
  • Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

  • My code follows the code style of this project (only if there are changes in source code).
  • My changes require an update to the documentation (there are changes that require the docs website to be updated).
  • I have updated the documentation accordingly (the changes require an update on the docs in this repo).
  • I have read the CONTRIBUTING document.
  • I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
  • I have added new tests to cover my changes.

- Add options to update nano device connected to serial port.
- Move (and rename Esp32ClrFile to ClrFile) to allow reuse from all platforms.
- Update code accordingly.
- Improve all methods connecting to nano device so that device watchers aren't started anymore and a specific serial port is used.
- Add fwVersion and clrFile parameters to UpdateDeviceClrAsync. Implement support for those.
- FirmwarePackageFactory now accepts fwVersion parameter.
- Clean-up code in FirmwarePackageFactory and add missing license header.
- Update README with new options to update nano device using serial port.
@josesimoes josesimoes force-pushed the add-update-nanodevice branch from 328cab0 to 819e191 Compare April 27, 2023 09:32
@josesimoes josesimoes merged commit a59f518 into nanoframework:main Apr 27, 2023
@josesimoes josesimoes deleted the add-update-nanodevice branch April 27, 2023 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants