I am working on creating a port for LPC1347 to contiki-os. I have 2 questions:
1: What i do not understand is how would the os know what architecture the hardware follows ie, whether is Harvard architecture or Neumann architecture. The microcontroller has 2 srams, so does the compiler or linker provide the libraries(addresses of memories) for the OS? Also, how does the OS know the address of RAM, is it provided by linker?
2: Contiki does not have device/peripheral driver API so how do i work about adding peripherals? I see there are functions like leds_toggle in apps/shell/shell-blink.c . My question is how can i know what libraries are/would be required to run a basic LED program.