# Macros - How to handle and flash

**URL:** <https://community.keyboard.io/t/macros-how-to-handle-and-flash/2977>\
**Category:** Programming\
**Tags:** question\
**Created:** [June 24, 2019, 8:27pm UTC](https://community.keyboard.io/t/macros-how-to-handle-and-flash/2977 "2019-06-24T20:27:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![semtex](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/semtex/32/543_2.png) [@semtex](https://community.keyboard.io/u/semtex)\
**Post date:** [June 24, 2019, 8:27pm UTC](https://community.keyboard.io/t/macros-how-to-handle-and-flash/2977/1 "2019-06-24T20:27:15Z")

</div>

Hi all,  
I would like to add macros to my firmware, so I can execute complex typings (e.g. command line) with push of a button.  
How is the recommended way to handle this and the flashing?  
Do I have to always use the Arduino way? Or can I also use the Chrysalis way?

I have difficulties to decided which way to use.  
I also have the impression that Chrysalis seems to overwrite everything with the firmware update function.

Can someone please provide me some insides?

Best regards

Boris

---

<div class="post-metadata">

**Author:** ![algernon](https://yyz1.discourse-cdn.com/flex031/user_avatar/community.keyboard.io/algernon/32/4404_2.png) [@algernon](https://community.keyboard.io/u/algernon)\
**Post date:** [June 25, 2019, 2:36pm UTC](https://community.keyboard.io/t/macros-how-to-handle-and-flash/2977/2 "2019-06-25T14:36:19Z")

</div>

In this case, there is only one way: Arduino, because Chrysalis does not support custom macros yet.

When you flash a firmware with Chrysalis, that will, indeed, overwrite everything not stored in EEPROM. But you _can_ use custom firmware with Chrysalis, you do not need to use the firmware shipped with it.
