some pic18 platform code
core platform definition updated