veecle / veecle-pxros

A runtime for writing automotive and industrial Rust on top of HighTec's safety kernel for the Infineon AURIX™ Platform.
https://www.veecle.io/aurix
Apache License 2.0
13 stars 3 forks source link

Bug: Example MPU 4.1 broken due to missing linker script support #4

Open arctic-alpaca opened 5 months ago

arctic-alpaca commented 5 months ago

Example 4.1 tries to read the flag from https://github.com/veecle/veecle-pxros/blob/cd807ed36a9d46fb8428cc7647899072090742dc/examples/example-mpu/src/ex4_1.rs#L7 which should refer to https://github.com/veecle/veecle-pxros/blob/cd807ed36a9d46fb8428cc7647899072090742dc/examples/example-mpu/src/backend.rs#L11-L13. Due to there being no linker script entry, the flag is not included at the expected location and example 4.1 fails.

We should either revamp the example or include optional linker script support again.