Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
img.c File Reference
Image routines. More...
Go to the source code of this file.
Functions | |
PmReturn_t | img_findInPaths (pPmObj_t pname, PmMemSpace_t *r_memspace, uint8_t const **r_imgaddr) |
Iterates over all paths in the paths array until the named module is found. | |
PmReturn_t | img_appendToPath (PmMemSpace_t memspace, uint8_t *paddr) |
Appends the given memspace and address to the image path array. |
Detailed Description
Image routines.
Created to eliminate a circular include among mem, string and obj.
Definition in file img.c.
Function Documentation
PmReturn_t img_appendToPath | ( | PmMemSpace_t | memspace, |
uint8_t * | paddr | ||
) |
PmReturn_t img_findInPaths | ( | pPmObj_t | pname, |
PmMemSpace_t * | r_memspace, | ||
uint8_t const ** | r_imgaddr | ||
) |
Iterates over all paths in the paths array until the named module is found.
Returns the memspace,address of the head of the module.
- Parameters:
-
pname Pointer to the name of the desired module r_memspace Return by reference the memory space of the module r_imgaddr Return by reference the address of the module's image
- Returns:
- Return status
Generated on Tue Jul 12 2022 17:07:01 by
