| 
    Zephyr Project API
    3.4.0
    
   A Scalable Open Source RTOS 
   | 
 
Go to the source code of this file.
Macros | |
| #define | K_APP_DMEM_SECTION(id) data_smem_##id##_data | 
| Name of the data section for a particular partition.  More... | |
| #define | K_APP_BMEM_SECTION(id) data_smem_##id##_bss | 
| Name of the bss section for a particular partition.  More... | |
| #define | K_APP_DMEM(id) Z_GENERIC_SECTION(K_APP_DMEM_SECTION(id)) | 
| Place data in a partition's data section.  More... | |
| #define | K_APP_BMEM(id) Z_GENERIC_SECTION(K_APP_BMEM_SECTION(id)) | 
| Place data in a partition's bss section.  More... | |
| #define | K_APPMEM_PARTITION_DEFINE(name) | 
| Define an application memory partition with linker support.  More... | |
| #define K_APP_BMEM | ( | id | ) | Z_GENERIC_SECTION(K_APP_BMEM_SECTION(id)) | 
Place data in a partition's bss section.
Globals tagged with this will end up in the bss section for the specified memory partition. This data will be zeroed at boot.
| id | Name of the memory partition to associate this data | 
| #define K_APP_BMEM_SECTION | ( | id | ) | data_smem_##id##_bss | 
Name of the bss section for a particular partition.
Useful for defining memory pools, or any other macro that takes a section name as a parameter.
| id | Partition name | 
| #define K_APP_DMEM | ( | id | ) | Z_GENERIC_SECTION(K_APP_DMEM_SECTION(id)) | 
Place data in a partition's data section.
Globals tagged with this will end up in the data section for the specified memory partition. This data should be initialized to some desired value.
| id | Name of the memory partition to associate this data | 
| #define K_APP_DMEM_SECTION | ( | id | ) | data_smem_##id##_data | 
Name of the data section for a particular partition.
Useful for defining memory pools, or any other macro that takes a section name as a parameter.
| id | Partition name | 
| #define K_APPMEM_PARTITION_DEFINE | ( | name | ) | 
Define an application memory partition with linker support.
Defines a k_mem_paritition with the provided name. This name may be used with the K_APP_DMEM and K_APP_BMEM macros to place globals automatically in this partition.
NOTE: placeholder char variable is defined here to prevent build errors if a partition is defined but nothing ever placed in it.
| name | Name of the k_mem_partition to declare |