V
V
Vezd2014-08-19 09:40:03
Atmel AVR
Vezd, 2014-08-19 09:40:03

How to allocate an array in flash memory in Atmel Studio 6?

For example, there is an array

unsigned int tabz[] = {64, 128, 256, 512, 1024, 2048, 4096};

In CodeVisionAVR, to place this array in flash, you need to write this:
flash unsigned int tabz[] = {64, 128, 256, 512, 1024, 2048, 4096};

This is not possible in Atmel Studio 6. How to allocate an array in flash memory in Atmel Studio 6?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question