Last active
April 10, 2019 17:40
-
-
Save pferreir/8bb61f27d9f88678f36c769417bc34e4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [package] | |
| authors = ["John Doe <doe@example.com>"] | |
| edition = "2018" | |
| readme = "README.md" | |
| name = "embed" | |
| version = "0.1.0" | |
| [dependencies] | |
| cortex-m = "0.5.8" | |
| cortex-m-rt = "0.6.7" | |
| cortex-m-semihosting = "0.3.2" | |
| embedded-hal = "0.2.2" | |
| panic-semihosting = "0.5.1" | |
| panic-halt = "0.2.0" | |
| # Uncomment for the allocator example. | |
| # alloc-cortex-m = "0.3.5" | |
| # Uncomment for the device example. | |
| [dependencies.stm32f4xx-hal] | |
| features = ["stm32f407"] | |
| path = "../stm32f4xx-hal" | |
| # this lets you use `cargo fix`! | |
| [[bin]] | |
| name = "embed" | |
| test = false | |
| bench = false | |
| [profile.release] | |
| codegen-units = 1 # better optimizations | |
| debug = true # symbols are nice and they don't increase the size on Flash | |
| lto = true # better optimizations |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment