About microcontroller independent libraries

Is it possible to create microcontroller independent library??
if yes then how? I mean each time we create new project it asks for a controller selection. but what if i do not use controller specific registers and all?? then is it possible to use this lib file

for other controllers??? or is there any other way to do it???


More questions in this forum