for development purposes to observe how much memory (particularly stack) is being used by code. Proper AVR code should avoid use of new, malloc, etc., and instead use either pre-allocated static variables or stack. Примечание
Requires M100_FREE_MEMORY_WATCHER. Использование
M100 [C<n>] [D] [F] Параметры [C<n>]
Corrupt ‘n’ locations in the free memory pool and report the locations of the corruption. This is useful to check the correctness of the M100 D and M100 F commands.
[D]
Dump the free memory block from __brkval to the stack pointer.
[F]
Return the number of free bytes in the memory pool along with other vital statistics that define the memory pool.
Initialize the free memory pool so it can be watched and print vital statistics that define the free memory pool.
Загрузка…
На данном сайте используются файлы cookie, чтобы персонализировать контент и сохранить Ваш вход в систему, если Вы зарегистрируетесь.
Продолжая использовать этот сайт, Вы соглашаетесь на использование наших файлов cookie.