Skip to content

AmbiqAI/nsx-utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nsx-utils

nsx-utils contains low-level utility code reused across NSX bare-metal apps.

Contents:

  • timers and timing helpers
  • PMU and performance profiling helpers
  • energy and power measurement helpers
  • optional heap helpers used by selected integrations

Public interfaces live in includes-api/. The module is CMake-first and intended to be vendored into generated apps.

Malloc and Free work as usual:

// Some compilers need this to be word aligned uint8_t ucHeap[NS_RPC_MALLOC_SIZE_IN_K*1024] __attribute__ ((aligned (4))); void *memPtr = ns_malloc(requested_size); // do stuff with memPtr ns_free(memPtr); // put allocated block back into free heap

About

NSX low-level timing, PMU, and utility helpers for Ambiq applications

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors