es-ude / EmbeddedSystemsBuildScripts

Bazel build scripts used for all projects of the embedded systems department
MIT License
4 stars 5 forks source link

Introduce baud rate constraints and configs #21

Open glencoe opened 4 years ago

glencoe commented 4 years ago

Use repository_ctx to create baud rate constraints and configs. See

AvrToolchain/platforms/cpu_frequency/cpu_frequency.bzl.tpl

and

https://github.com/es-ude/EmbeddedSystemsBuildScripts/blob/33f86525f2d5f200a87ce47cd4a3a51821f174d9/AvrToolchain/platforms/platforms.bzl#L4

or reference