mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-08-15 00:29:02 +00:00
Currently, it is common to see Contiki's core/ interfaces implementations spread in both cpu/ and platform/. We here take one step further starting an effort to centralize all of these in platform's code instead. This commit starts this by adding platform/galileo/core/ and its sys/ subfolder, adding a stubbed mtarch.h and moving clock and rtimer implementations to this new folder. From now on we should concentrate implementation from Contiki's core/ interfaces into the appropriate subfolder in platform/galileo/core/. Note that this is not the current fashion followed on other platforms and cpus folders, as most of them add the core interface implementation into its subfolder directly. For instance, on CC2538DK, core/dev/button-sensor.h is implemented in platform/cc2538dk/dev/ directly, while on Galileo it would sit at platform/galileo/core/dev/. We believe ours is a better approach to organize and escalate a platform's code base. We also remove previous x86 mtarch.h and mtarch.c since they weren't used at all - both native and cooja platforms have their own mtarch implementations. |
||
---|---|---|
.. | ||
apple2enh | ||
atarixl | ||
avr-atmega128rfa1 | ||
avr-raven | ||
avr-ravenlcd | ||
avr-ravenusb | ||
avr-rcb | ||
avr-zigbit | ||
c64 | ||
c128 | ||
cc2530dk | ||
cc2538dk | ||
cooja | ||
cooja-ip64 | ||
econotag | ||
ev-aducrf101mkxz | ||
eval-adf7xxxmb4z | ||
exp5438 | ||
galileo | ||
jn516x | ||
mbxxx | ||
micaz | ||
minimal-net | ||
native | ||
seedeye | ||
sensinode | ||
sky | ||
srf06-cc26xx | ||
stm32nucleo-spirit1 | ||
stm32test | ||
win32 | ||
wismote | ||
z1 | ||
zoul |