Difference between revisions of "How to place a function in RAM"
(Redirected page to SEGGER Embedded Studio) |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | #REDIRECT [[SEGGER_Embedded_Studio]] |
||
− | __TOC__ |
||
− | In some instances it is beneficial to run certain code parts in RAM instead of ROM. For this e.g. a function from ROM needs to be copied at some point into RAM for later usage. |
||
− | The following article will explain how this can be accomplished using Embedded Studio. |
||
− | |||
− | In order to put a function into RAM, it needs to be placed into the '''.fast''' section. This is done as follows: |
||
− | __attribute__ ((section(".fast"))) |
||
− | void _Delay(void) { |
||
− | } |
Revision as of 17:57, 23 October 2018
Redirect to: