nf-interpreter icon indicating copy to clipboard operation
nf-interpreter copied to clipboard

Improvements in network boot

Open antoniofagundes opened this issue 1 year ago • 1 comments

Description

  • Replace deprecated lwIP calls with correct ones.
  • DHCP is now started in ChibiOS regardless of network being up or not.

Motivation and Context

  • Need to use current lwIP API.
  • DHCP start/restart on network up/down is now properly handled by lwIP, so better to just start it at network start.

How Has This Been Tested?

  • Running TLS sample on NESHTEC_NESHNODE_V1.

Screenshots

Types of changes

  • [x] 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)
  • [ ] Dev Containers (changes related with Dev Containers, has no impact on code or features)
  • [ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
  • [ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist

  • [x] 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).
  • [x] I have read the CONTRIBUTING document.
  • [x] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).

cc @thwr

antoniofagundes avatar Apr 24 '24 13:04 antoniofagundes

Tested that it is able to connect to a network on an ORGPAL_THREE (built image locally) = SUCCESS.

networkfusion avatar Apr 25 '24 23:04 networkfusion