keyboardio / Kaleidoscope-Bundle-Keyboardio

A Kaleidoscope distribution for the Keyboardio Model 01 and other keyboards.
Other
17 stars 24 forks source link

Added map file creation #25

Closed noseglasses closed 4 years ago

noseglasses commented 4 years ago

A linker .map file will be created as an additional build artifact. This map file can be used for debugging symbol issues or for firmware post-processing.

Signed-off-by: Florian Fleissner florian.fleissner@inpartik.de

noseglasses commented 4 years ago

@obra, is it possible that Travis testing for the bundle is somehow broken?

obra commented 4 years ago

It is, of course, possible, but....it works for everything else.

I wonder if it's testing with too old an Arduino. Do you want to try a PR to bump our arduino dep to 1.8.10?

obra commented 4 years ago

Hm. I worry a little bit about magic action at a distance with something like this. Can you tell me a bit more about how you want to use it?

algernon commented 4 years ago

This just adds a flag, which will create a map file for us, which is useful to see what got linked into the firmware from where, what got discarded, etc. I'm not sure what @noseglasses wants to use it for, but the "Discarded input sections" section of the map is very interesting to me.

So I'm placing a big +1 on this.