mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
* DMA buffers regions are automatically rounded up to the next power of 2 via the linker script. This ensures that these buffers, when rounded up, can actually fit into their respective memories. It also ensures that when/if the MPU is used to configure these regions, it will not round up the regions sizes, which may cause the MPU to configure a region bigger than the DMA buffer. * GC blocks can be rearranged in any order, including the main heap/first block. This is very important for boards with limited RAM to avoid fragmenting the contiguous large heap early before it's actually needed. * Moved VOSPI memory to its own section. The offset is no longer required, and the linker script can detect overlaps. * Renamed GC heap memory to allow more than one heap to exist, and added support for it in the common linker script. This change allows adding a second heap for malloc/libc easily if needed. * For STM32 boards, the domain-specific DMA buffers can now be located anywhere within their memory regions, as their MPU regions' base addresses and sizes are all set via linker script variables. Previously, this was defined in headers, and sections could have easily overlapped without warning. |
||
|---|---|---|
| .. | ||
| alloc | ||
| boards | ||
| common | ||
| imlib | ||
| modules | ||
| ports | ||
| sensors | ||
| templates | ||
| Makefile | ||