Skip to content

Remove unnecessary rt-crate dependencies #382

@bjoernQ

Description

@bjoernQ
  • we can just remove the rt-crates from the PACs since they are not used there (anymore?)
  • binary crates only need them to use the entry-macro but we can re-export it from the chip specific HALs - as a bonus that way there is no need to differentiate between the two architectures
  • when we re-export from esp-hal-common we also don't need the dependency in the chip-specific HALs

So, in the end only esp-hal-common would depend on the rt-crates which makes maintenance much easier.
For users it also eliminates a source of frustration since having more than one version of an rt-crate in the dependency tree will cause ugly linker errors (plus they don't even need to know that there is an rt-crate involved at all)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions