I've written some code that extends the functionality of the ERL library:
- add functions to relocate an ERL at a specific memory address (ERLs are relocated at a dynamic memory address by default.)
- add ability to clear ERL bytes on unload
liberl.patch.tar.gz (apply both patches)
Here is a sample project that demonstrates how to use the new *_to_addr functions. I find them very useful - if you know what you're doing. ;)
--------------
Besides, this is a small (unrelated) fix that allows debug.h and hwbp.h to be included at the same time:
hwbp.h.patch.gz