From 9bb51087bff66798bd24a018e4262072e6aa79d5 Mon Sep 17 00:00:00 2001 From: Nicolas Tsiftes Date: Wed, 28 Jun 2017 15:57:13 +0200 Subject: [PATCH] Renamed the drivers directory to arch to reflect that this is the main place for architecture-dependent functionality. --- .gitmodules | 8 ++++---- Makefile.include | 12 ++++++------ {drivers => arch}/cpu/arm/arm.txt | 0 .../cpu/arm/common/CMSIS/cmsis_armcc.h | 0 .../cpu/arm/common/CMSIS/cmsis_armcc_V6.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/cmsis_gcc.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/core.txt | 0 {drivers => arch}/cpu/arm/common/CMSIS/core_cm0.h | 0 .../cpu/arm/common/CMSIS/core_cm0plus.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/core_cm3.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/core_cm4.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/core_cm7.h | 0 .../cpu/arm/common/CMSIS/core_cmFunc.h | 0 .../cpu/arm/common/CMSIS/core_cmInstr.h | 0 .../cpu/arm/common/CMSIS/core_cmSimd.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/core_sc000.h | 0 {drivers => arch}/cpu/arm/common/CMSIS/core_sc300.h | 0 .../cpu/arm/common/SD-card/Makefile.sdcard | 0 .../cpu/arm/common/SD-card/cfs-sdcard.c | 0 {drivers => arch}/cpu/arm/common/SD-card/config.h | 0 .../cpu/arm/common/SD-card/efs-sdcard.h | 0 {drivers => arch}/cpu/arm/common/SD-card/efsl_spi.h | 0 {drivers => arch}/cpu/arm/common/SD-card/sdcard.h | 0 .../cpu/arm/common/dbg-io/dbg-printf.c | 0 .../cpu/arm/common/dbg-io/dbg-putchar.c | 0 {drivers => arch}/cpu/arm/common/dbg-io/dbg-puts.c | 0 .../cpu/arm/common/dbg-io/dbg-snprintf.c | 0 .../cpu/arm/common/dbg-io/dbg-sprintf.c | 0 {drivers => arch}/cpu/arm/common/dbg-io/strformat.c | 0 {drivers => arch}/cpu/arm/common/dbg-io/strformat.h | 0 {drivers => arch}/cpu/arm/common/sys/mtarch.c | 0 {drivers => arch}/cpu/arm/common/sys/mtarch.h | 0 {drivers => arch}/cpu/arm/common/usb/Makefile.usb | 0 .../arm/common/usb/cdc-acm/cdc-acm-descriptors.c | 0 .../usb/cdc-acm/cdc-acm-string-descriptors.xml | 0 .../cpu/arm/common/usb/cdc-acm/cdc-acm.c | 0 .../cpu/arm/common/usb/cdc-acm/cdc-acm.h | 0 {drivers => arch}/cpu/arm/common/usb/cdc-acm/cdc.h | 0 {drivers => arch}/cpu/arm/common/usb/descriptors.h | 0 .../cpu/arm/common/usb/msc/msc-descriptors.c | 0 .../arm/common/usb/msc/msc-string-descriptors.xml | 0 .../cpu/arm/common/usb/msc/rbc_const.h | 0 .../cpu/arm/common/usb/msc/rbc_struct.h | 0 .../cpu/arm/common/usb/msc/scsi_command.h | 0 .../cpu/arm/common/usb/msc/scsi_sense.h | 0 .../cpu/arm/common/usb/msc/scsi_struct.h | 0 .../cpu/arm/common/usb/msc/spc2_const.h | 0 .../cpu/arm/common/usb/msc/spc2_struct.h | 0 .../cpu/arm/common/usb/msc/usb-msc-bulk.c | 0 .../cpu/arm/common/usb/msc/usb-msc-bulk.h | 0 {drivers => arch}/cpu/arm/common/usb/msc/usb-rbc.c | 0 .../cpu/arm/common/usb/string-descriptors.dtd | 0 .../cpu/arm/common/usb/string-descriptors.h | 0 .../cpu/arm/common/usb/string-descriptors.xslt | 0 {drivers => arch}/cpu/arm/common/usb/usb-api.h | 0 {drivers => arch}/cpu/arm/common/usb/usb-arch.h | 0 {drivers => arch}/cpu/arm/common/usb/usb-core.c | 0 {drivers => arch}/cpu/arm/common/usb/usb-core.h | 0 {drivers => arch}/cpu/arm/common/usb/usb.h | 0 {drivers => arch}/cpu/arm/openocd/arm7_wig.cfg | 0 .../cpu/arm/openocd/target/stm32F10xxx.cfg | 0 {drivers => arch}/cpu/cc2538/Makefile.cc2538 | 6 +++--- {drivers => arch}/cpu/cc2538/cc2538.lds | 0 {drivers => arch}/cpu/cc2538/cc2538_cm3.h | 0 {drivers => arch}/cpu/cc2538/cfs-coffee-arch.c | 0 {drivers => arch}/cpu/cc2538/cfs-coffee-arch.h | 0 {drivers => arch}/cpu/cc2538/clock.c | 0 {drivers => arch}/cpu/cc2538/cpu.h | 0 {drivers => arch}/cpu/cc2538/dbg.c | 0 {drivers => arch}/cpu/cc2538/dbg.h | 0 {drivers => arch}/cpu/cc2538/debug-uart.h | 0 {drivers => arch}/cpu/cc2538/dev/adc.c | 0 {drivers => arch}/cpu/cc2538/dev/adc.h | 0 {drivers => arch}/cpu/cc2538/dev/aes.c | 0 {drivers => arch}/cpu/cc2538/dev/aes.h | 0 {drivers => arch}/cpu/cc2538/dev/ana-regs.h | 0 {drivers => arch}/cpu/cc2538/dev/bignum-driver.c | 0 {drivers => arch}/cpu/cc2538/dev/bignum-driver.h | 0 {drivers => arch}/cpu/cc2538/dev/cbc-mac.c | 0 {drivers => arch}/cpu/cc2538/dev/cbc-mac.h | 0 {drivers => arch}/cpu/cc2538/dev/cbc.c | 0 {drivers => arch}/cpu/cc2538/dev/cbc.h | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-aes-128.c | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-aes-128.h | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-ccm-star.c | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-ccm-star.h | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-dev.h | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-rf.c | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-rf.h | 0 {drivers => arch}/cpu/cc2538/dev/cc2538-sensors.h | 0 .../cpu/cc2538/dev/cc2538-temp-sensor.c | 0 .../cpu/cc2538/dev/cc2538-temp-sensor.h | 0 {drivers => arch}/cpu/cc2538/dev/ccm.c | 0 {drivers => arch}/cpu/cc2538/dev/ccm.h | 0 {drivers => arch}/cpu/cc2538/dev/cctest.h | 0 {drivers => arch}/cpu/cc2538/dev/crypto.c | 0 {drivers => arch}/cpu/cc2538/dev/crypto.h | 0 {drivers => arch}/cpu/cc2538/dev/ctr.c | 0 {drivers => arch}/cpu/cc2538/dev/ctr.h | 0 {drivers => arch}/cpu/cc2538/dev/ecb.c | 0 {drivers => arch}/cpu/cc2538/dev/ecb.h | 0 {drivers => arch}/cpu/cc2538/dev/ecc-algorithm.c | 0 {drivers => arch}/cpu/cc2538/dev/ecc-algorithm.h | 0 {drivers => arch}/cpu/cc2538/dev/ecc-curve.c | 0 {drivers => arch}/cpu/cc2538/dev/ecc-curve.h | 0 {drivers => arch}/cpu/cc2538/dev/ecc-driver.c | 0 {drivers => arch}/cpu/cc2538/dev/ecc-driver.h | 0 {drivers => arch}/cpu/cc2538/dev/flash.h | 0 {drivers => arch}/cpu/cc2538/dev/gcm.c | 0 {drivers => arch}/cpu/cc2538/dev/gcm.h | 0 {drivers => arch}/cpu/cc2538/dev/gpio.c | 0 {drivers => arch}/cpu/cc2538/dev/gpio.h | 0 {drivers => arch}/cpu/cc2538/dev/gptimer.h | 0 {drivers => arch}/cpu/cc2538/dev/i2c.c | 0 {drivers => arch}/cpu/cc2538/dev/i2c.h | 0 {drivers => arch}/cpu/cc2538/dev/ioc.c | 0 {drivers => arch}/cpu/cc2538/dev/ioc.h | 0 {drivers => arch}/cpu/cc2538/dev/nvic.c | 0 {drivers => arch}/cpu/cc2538/dev/nvic.h | 0 {drivers => arch}/cpu/cc2538/dev/pka.c | 0 {drivers => arch}/cpu/cc2538/dev/pka.h | 0 {drivers => arch}/cpu/cc2538/dev/pwm.c | 0 {drivers => arch}/cpu/cc2538/dev/pwm.h | 0 {drivers => arch}/cpu/cc2538/dev/random.c | 0 {drivers => arch}/cpu/cc2538/dev/rfcore-ffsm.h | 0 {drivers => arch}/cpu/cc2538/dev/rfcore-sfr.h | 0 {drivers => arch}/cpu/cc2538/dev/rfcore-xreg.h | 0 {drivers => arch}/cpu/cc2538/dev/rfcore.h | 0 {drivers => arch}/cpu/cc2538/dev/rom-util.h | 0 {drivers => arch}/cpu/cc2538/dev/sha256.c | 0 {drivers => arch}/cpu/cc2538/dev/sha256.h | 0 {drivers => arch}/cpu/cc2538/dev/smwdthrosc.h | 0 {drivers => arch}/cpu/cc2538/dev/soc-adc.h | 0 {drivers => arch}/cpu/cc2538/dev/spi.c | 0 {drivers => arch}/cpu/cc2538/dev/ssi.h | 0 {drivers => arch}/cpu/cc2538/dev/sys-ctrl.c | 0 {drivers => arch}/cpu/cc2538/dev/sys-ctrl.h | 0 {drivers => arch}/cpu/cc2538/dev/uart.c | 0 {drivers => arch}/cpu/cc2538/dev/uart.h | 0 {drivers => arch}/cpu/cc2538/dev/uart1.h | 0 {drivers => arch}/cpu/cc2538/dev/udma.c | 0 {drivers => arch}/cpu/cc2538/dev/udma.h | 0 {drivers => arch}/cpu/cc2538/dev/usb-regs.h | 0 {drivers => arch}/cpu/cc2538/dev/vdd3-sensor.c | 0 {drivers => arch}/cpu/cc2538/dev/vdd3-sensor.h | 0 {drivers => arch}/cpu/cc2538/dev/watchdog.c | 0 {drivers => arch}/cpu/cc2538/ieee-addr.c | 0 {drivers => arch}/cpu/cc2538/ieee-addr.h | 0 {drivers => arch}/cpu/cc2538/lpm.c | 0 {drivers => arch}/cpu/cc2538/lpm.h | 0 {drivers => arch}/cpu/cc2538/reg.h | 0 {drivers => arch}/cpu/cc2538/rtimer-arch.c | 0 {drivers => arch}/cpu/cc2538/rtimer-arch.h | 0 {drivers => arch}/cpu/cc2538/slip-arch.c | 0 {drivers => arch}/cpu/cc2538/soc.c | 0 {drivers => arch}/cpu/cc2538/soc.h | 0 {drivers => arch}/cpu/cc2538/spi-arch.h | 0 {drivers => arch}/cpu/cc2538/startup-gcc.c | 0 .../cpu/cc2538/usb/cdc-acm-descriptors.c | 0 {drivers => arch}/cpu/cc2538/usb/usb-arch.c | 0 {drivers => arch}/cpu/cc2538/usb/usb-serial.c | 0 {drivers => arch}/cpu/cc2538/usb/usb-serial.h | 0 {drivers => arch}/cpu/cc253x/8051def.h | 0 {drivers => arch}/cpu/cc253x/Makefile.cc253x | 2 +- .../cpu/cc253x/Makefile.customrules-cc253x | 0 {drivers => arch}/cpu/cc253x/bank-alloc.py | 0 {drivers => arch}/cpu/cc253x/cc253x.h | 0 {drivers => arch}/cpu/cc253x/dev/cc2530-rf.c | 0 {drivers => arch}/cpu/cc253x/dev/cc2530-rf.h | 0 {drivers => arch}/cpu/cc253x/dev/clock-isr.h | 0 {drivers => arch}/cpu/cc253x/dev/clock.c | 0 {drivers => arch}/cpu/cc253x/dev/dma.c | 0 {drivers => arch}/cpu/cc253x/dev/dma.h | 0 {drivers => arch}/cpu/cc253x/dev/dma_intr.c | 0 {drivers => arch}/cpu/cc253x/dev/lpm.h | 0 {drivers => arch}/cpu/cc253x/dev/port.h | 0 {drivers => arch}/cpu/cc253x/dev/port2-intr.c | 0 {drivers => arch}/cpu/cc253x/dev/port2.c | 0 {drivers => arch}/cpu/cc253x/dev/port2.h | 0 {drivers => arch}/cpu/cc253x/dev/random.c | 0 {drivers => arch}/cpu/cc253x/dev/uart-intr.c | 0 {drivers => arch}/cpu/cc253x/dev/uart.h | 0 {drivers => arch}/cpu/cc253x/dev/uart0.c | 0 {drivers => arch}/cpu/cc253x/dev/uart0.h | 0 {drivers => arch}/cpu/cc253x/dev/uart1.c | 0 {drivers => arch}/cpu/cc253x/dev/uart1.h | 0 {drivers => arch}/cpu/cc253x/dev/watchdog.c | 0 {drivers => arch}/cpu/cc253x/mtarch.h | 0 {drivers => arch}/cpu/cc253x/rtimer-arch.c | 0 {drivers => arch}/cpu/cc253x/rtimer-arch.h | 0 {drivers => arch}/cpu/cc253x/segment.rules | 0 {drivers => arch}/cpu/cc253x/sfr-bits.h | 0 {drivers => arch}/cpu/cc253x/soc.c | 0 {drivers => arch}/cpu/cc253x/soc.h | 0 {drivers => arch}/cpu/cc253x/stack.c | 0 {drivers => arch}/cpu/cc253x/stack.h | 0 {drivers => arch}/cpu/cc253x/usb/Makefile.usb | 0 .../cpu/cc253x/usb/cdc-acm-descriptors.c | 0 .../cpu/cc253x/usb/common/cdc-acm/cdc-acm.c | 0 .../cpu/cc253x/usb/common/cdc-acm/cdc-acm.h | 0 .../cpu/cc253x/usb/common/cdc-acm/cdc.h | 0 .../cpu/cc253x/usb/common/descriptors.h | 0 .../cpu/cc253x/usb/common/string-descriptors.h | 0 {drivers => arch}/cpu/cc253x/usb/common/usb-api.h | 0 {drivers => arch}/cpu/cc253x/usb/common/usb-arch.h | 0 {drivers => arch}/cpu/cc253x/usb/common/usb-core.c | 0 {drivers => arch}/cpu/cc253x/usb/common/usb-core.h | 0 {drivers => arch}/cpu/cc253x/usb/common/usb.h | 0 {drivers => arch}/cpu/cc253x/usb/usb-arch.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/Makefile.cc13xx | 0 {drivers => arch}/cpu/cc26xx-cc13xx/Makefile.cc26xx | 0 .../cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx | 4 ++-- {drivers => arch}/cpu/cc26xx-cc13xx/cc26xx.ld | 0 {drivers => arch}/cpu/cc26xx-cc13xx/clock.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dbg.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/debug-uart.h | 0 .../cpu/cc26xx-cc13xx/dev/adc-sensor.c | 0 .../cpu/cc26xx-cc13xx/dev/adc-sensor.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/aux-ctrl.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/aux-ctrl.h | 0 .../cpu/cc26xx-cc13xx/dev/batmon-sensor.c | 0 .../cpu/cc26xx-cc13xx/dev/batmon-sensor.h | 0 .../cpu/cc26xx-cc13xx/dev/cc26xx-uart.c | 0 .../cpu/cc26xx-cc13xx/dev/cc26xx-uart.h | 0 .../cpu/cc26xx-cc13xx/dev/contiki-watchdog.c | 0 .../cpu/cc26xx-cc13xx/dev/gpio-interrupt.c | 0 .../cpu/cc26xx-cc13xx/dev/gpio-interrupt.h | 0 .../cpu/cc26xx-cc13xx/dev/oscillators.c | 0 .../cpu/cc26xx-cc13xx/dev/oscillators.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-rtc.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-rtc.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-trng.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-trng.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/dev/uart1.h | 0 .../cpu/cc26xx-cc13xx/fault-handlers.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/ieee-addr.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/ieee-addr.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/lib/cc13xxware | 0 {drivers => arch}/cpu/cc26xx-cc13xx/lib/cc26xxware | 0 {drivers => arch}/cpu/cc26xx-cc13xx/lpm.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/lpm.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/mtarch.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/putchar.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/random.c | 0 .../cpu/cc26xx-cc13xx/rf-core/api/ieee_cmd.h | 0 .../cpu/cc26xx-cc13xx/rf-core/api/ieee_mailbox.h | 0 .../cpu/cc26xx-cc13xx/rf-core/dot-15-4g.h | 0 .../cpu/cc26xx-cc13xx/rf-core/ieee-mode.c | 0 .../cpu/cc26xx-cc13xx/rf-core/prop-mode-tx-power.c | 0 .../cpu/cc26xx-cc13xx/rf-core/prop-mode.c | 0 .../cpu/cc26xx-cc13xx/rf-core/prop-mode.h | 0 .../cpu/cc26xx-cc13xx/rf-core/rf-ble.c | 0 .../cpu/cc26xx-cc13xx/rf-core/rf-ble.h | 0 .../cpu/cc26xx-cc13xx/rf-core/rf-core.c | 0 .../cpu/cc26xx-cc13xx/rf-core/rf-core.h | 0 .../cpu/cc26xx-cc13xx/rf-core/rf-switch.h | 0 .../cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c | 0 .../cpu/cc26xx-cc13xx/rf-core/smartrf-settings.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/rtimer-arch.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/rtimer-arch.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/slip-arch.c | 0 {drivers => arch}/cpu/cc26xx-cc13xx/ti-lib-rom.h | 0 {drivers => arch}/cpu/cc26xx-cc13xx/ti-lib.h | 0 {drivers => arch}/cpu/msp430/Makefile.msp430 | 2 +- {drivers => arch}/cpu/msp430/button.c | 0 {drivers => arch}/cpu/msp430/cc2420-arch-sfd.c | 0 {drivers => arch}/cpu/msp430/cc2420-arch-sfd.h | 0 {drivers => arch}/cpu/msp430/cc2420-arch.c | 0 {drivers => arch}/cpu/msp430/cc2520-arch-sfd.c | 0 {drivers => arch}/cpu/msp430/cc2520-arch-sfd.h | 0 {drivers => arch}/cpu/msp430/cc2520-arch.c | 0 {drivers => arch}/cpu/msp430/dev/button.h | 0 {drivers => arch}/cpu/msp430/dev/flash.h | 0 {drivers => arch}/cpu/msp430/dev/hwconf.h | 0 {drivers => arch}/cpu/msp430/dev/lpm.h | 0 {drivers => arch}/cpu/msp430/dev/uart0-putchar.c | 0 {drivers => arch}/cpu/msp430/dev/uart0.h | 0 {drivers => arch}/cpu/msp430/dev/uart1-putchar.c | 0 {drivers => arch}/cpu/msp430/dev/uart1.h | 0 {drivers => arch}/cpu/msp430/f1xxx/clock.c | 0 {drivers => arch}/cpu/msp430/f1xxx/msp430.c | 0 {drivers => arch}/cpu/msp430/f1xxx/rtimer-arch.c | 0 {drivers => arch}/cpu/msp430/f1xxx/spi.c | 0 {drivers => arch}/cpu/msp430/f1xxx/uart1.c | 0 {drivers => arch}/cpu/msp430/f2xxx/msp430.c | 0 {drivers => arch}/cpu/msp430/f2xxx/spi.c | 0 {drivers => arch}/cpu/msp430/f2xxx/uart0.c | 0 {drivers => arch}/cpu/msp430/f2xxx/uart1.c | 0 {drivers => arch}/cpu/msp430/f5xxx/clock.c | 0 {drivers => arch}/cpu/msp430/f5xxx/msp430.c | 0 {drivers => arch}/cpu/msp430/f5xxx/rtimer-arch.c | 0 {drivers => arch}/cpu/msp430/f5xxx/spi.c | 0 {drivers => arch}/cpu/msp430/f5xxx/uart0.c | 0 {drivers => arch}/cpu/msp430/f5xxx/uart1.c | 0 {drivers => arch}/cpu/msp430/flash.c | 0 {drivers => arch}/cpu/msp430/isr_compat.h | 0 {drivers => arch}/cpu/msp430/leds-arch.c | 0 {drivers => arch}/cpu/msp430/lpm.c | 0 {drivers => arch}/cpu/msp430/minileds.c | 0 {drivers => arch}/cpu/msp430/msp430def.h | 0 {drivers => arch}/cpu/msp430/mtarch.c | 0 {drivers => arch}/cpu/msp430/mtarch.h | 0 {drivers => arch}/cpu/msp430/rom.c | 0 {drivers => arch}/cpu/msp430/rtimer-arch.h | 0 {drivers => arch}/cpu/msp430/slip_uart0.c | 0 {drivers => arch}/cpu/msp430/slip_uart1.c | 0 {drivers => arch}/cpu/msp430/uip-ipchksum.c | 0 {drivers => arch}/cpu/msp430/watchdog.c | 0 {drivers => arch}/cpu/native/Makefile.native | 0 {drivers => arch}/cpu/native/dev/eeprom.c | 0 {drivers => arch}/cpu/native/dev/uart1.h | 0 {drivers => arch}/cpu/native/mtarch.c | 0 {drivers => arch}/cpu/native/mtarch.h | 0 {drivers => arch}/cpu/native/net/README-WPCAP.md | 0 {drivers => arch}/cpu/native/net/linuxradio-drv.c | 0 {drivers => arch}/cpu/native/net/linuxradio-drv.h | 0 {drivers => arch}/cpu/native/net/tapdev-drv.c | 0 {drivers => arch}/cpu/native/net/tapdev-drv.h | 0 {drivers => arch}/cpu/native/net/tapdev.c | 0 {drivers => arch}/cpu/native/net/tapdev.h | 0 {drivers => arch}/cpu/native/net/tapdev6.c | 0 {drivers => arch}/cpu/native/net/tapdev6.h | 0 {drivers => arch}/cpu/native/net/wpcap-drv.c | 0 {drivers => arch}/cpu/native/net/wpcap-drv.h | 0 {drivers => arch}/cpu/native/net/wpcap.c | 0 {drivers => arch}/cpu/native/net/wpcap.h | 0 {drivers => arch}/cpu/native/rtimer-arch.c | 0 {drivers => arch}/cpu/native/rtimer-arch.h | 0 {drivers => arch}/cpu/native/watchdog.c | 0 {drivers => arch}/cpu/nrf52832/Makefile.nrf52832 | 0 {drivers => arch}/cpu/nrf52832/ble/ble-core.c | 0 {drivers => arch}/cpu/nrf52832/ble/ble-core.h | 0 {drivers => arch}/cpu/nrf52832/ble/ble-mac.c | 0 {drivers => arch}/cpu/nrf52832/ble/ble-mac.h | 0 {drivers => arch}/cpu/nrf52832/dev/clock.c | 0 {drivers => arch}/cpu/nrf52832/dev/lpm.h | 0 {drivers => arch}/cpu/nrf52832/dev/random.c | 0 {drivers => arch}/cpu/nrf52832/dev/uart0.c | 0 {drivers => arch}/cpu/nrf52832/dev/uart0.h | 0 {drivers => arch}/cpu/nrf52832/dev/watchdog.c | 0 .../cpu/nrf52832/ld/nrf52-pca10036-sd.ld | 0 .../cpu/nrf52832/ld/nrf52-pca10040-sd.ld | 0 {drivers => arch}/cpu/nrf52832/ld/nrf52.ld | 0 {drivers => arch}/cpu/nrf52832/mtarch.h | 0 {drivers => arch}/cpu/nrf52832/putchar.c | 0 {drivers => arch}/cpu/nrf52832/rtimer-arch.c | 0 {drivers => arch}/cpu/nrf52832/rtimer-arch.h | 0 {drivers => arch}/cpu/x86/Makefile.x86_common | 0 {drivers => arch}/cpu/x86/Makefile.x86_quarkX1000 | 8 ++++---- {drivers => arch}/cpu/x86/bootstrap_quarkX1000.S | 0 {drivers => arch}/cpu/x86/dma.h | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/nmi.c | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/nmi.h | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/pci.c | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/pci.h | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/pic.c | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/pic.h | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/pit.c | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/pit.h | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/rtc.c | 0 {drivers => arch}/cpu/x86/drivers/legacy_pc/rtc.h | 0 .../cpu/x86/drivers/legacy_pc/shared-isr.c | 0 .../cpu/x86/drivers/legacy_pc/shared-isr.h | 0 .../cpu/x86/drivers/legacy_pc/uart-16x50.c | 0 .../cpu/x86/drivers/legacy_pc/uart-16x50.h | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/eth.c | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/eth.h | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/gpio.c | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/gpio.h | 0 .../cpu/x86/drivers/quarkX1000/i2c-registers.h | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/i2c.c | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/i2c.h | 0 .../cpu/x86/drivers/quarkX1000/imr-conf.c | 0 .../cpu/x86/drivers/quarkX1000/imr-conf.h | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/imr.c | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/imr.h | 0 .../cpu/x86/drivers/quarkX1000/msg-bus.c | 0 .../cpu/x86/drivers/quarkX1000/msg-bus.h | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/uart.c | 0 {drivers => arch}/cpu/x86/drivers/quarkX1000/uart.h | 0 {drivers => arch}/cpu/x86/helpers.S | 0 {drivers => arch}/cpu/x86/helpers.h | 0 {drivers => arch}/cpu/x86/init/common/cpu.c | 0 {drivers => arch}/cpu/x86/init/common/cpu.h | 0 {drivers => arch}/cpu/x86/init/common/gdt.c | 0 {drivers => arch}/cpu/x86/init/common/gdt.h | 0 {drivers => arch}/cpu/x86/init/common/idt.c | 0 {drivers => arch}/cpu/x86/init/common/idt.h | 0 {drivers => arch}/cpu/x86/init/common/interrupt.h | 0 {drivers => arch}/cpu/x86/init/common/irq.h | 0 {drivers => arch}/cpu/x86/init/legacy_pc/irq.c | 0 {drivers => arch}/cpu/x86/mm/README.md | 0 {drivers => arch}/cpu/x86/mm/gdt-layout.h | 0 {drivers => arch}/cpu/x86/mm/ldt-layout.h | 0 {drivers => arch}/cpu/x86/mm/multi-segment.c | 0 {drivers => arch}/cpu/x86/mm/multi-segment.h | 0 {drivers => arch}/cpu/x86/mm/paging-prot-domains.c | 0 {drivers => arch}/cpu/x86/mm/paging-prot-domains.h | 0 {drivers => arch}/cpu/x86/mm/paging.h | 0 {drivers => arch}/cpu/x86/mm/prot-domains.c | 0 {drivers => arch}/cpu/x86/mm/prot-domains.h | 0 {drivers => arch}/cpu/x86/mm/segmentation.h | 0 {drivers => arch}/cpu/x86/mm/stacks.c | 0 {drivers => arch}/cpu/x86/mm/stacks.h | 0 {drivers => arch}/cpu/x86/mm/swseg-prot-domains.c | 0 {drivers => arch}/cpu/x86/mm/swseg-prot-domains.h | 0 {drivers => arch}/cpu/x86/mm/syscalls-int-asm.S | 0 {drivers => arch}/cpu/x86/mm/syscalls-int.c | 0 {drivers => arch}/cpu/x86/mm/syscalls-int.h | 0 {drivers => arch}/cpu/x86/mm/syscalls.h | 0 {drivers => arch}/cpu/x86/mm/tss-prot-domains-asm.S | 0 {drivers => arch}/cpu/x86/mm/tss-prot-domains.c | 0 {drivers => arch}/cpu/x86/mm/tss-prot-domains.h | 0 {drivers => arch}/cpu/x86/mm/tss.c | 0 {drivers => arch}/cpu/x86/mm/tss.h | 0 {drivers => arch}/cpu/x86/quarkX1000.ld | 0 {drivers => arch}/cpu/x86/quarkX1000_dma.ld | 0 {drivers => arch}/cpu/x86/quarkX1000_multi_seg.ld | 0 {drivers => arch}/cpu/x86/quarkX1000_paging.ld | 0 {drivers => arch}/cpu/x86/startup.h | 0 {drivers => arch}/cpu/x86/uefi/bootstrap_uefi.c | 0 {drivers => arch}/cpu/x86/uefi/build_uefi.sh | 0 {drivers => arch}/dev/bme280/README.bme280 | 0 {drivers => arch}/dev/bme280/bme280-arch.h | 0 {drivers => arch}/dev/bme280/bme280-sensor.c | 0 {drivers => arch}/dev/bme280/bme280-sensor.h | 0 {drivers => arch}/dev/bme280/bme280.c | 0 {drivers => arch}/dev/bme280/bme280.h | 0 .../dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c | 0 .../dev/cc1200/cc1200-868-fsk-1-2kbps.c | 0 {drivers => arch}/dev/cc1200/cc1200-arch.h | 0 {drivers => arch}/dev/cc1200/cc1200-conf.h | 0 {drivers => arch}/dev/cc1200/cc1200-const.h | 0 {drivers => arch}/dev/cc1200/cc1200-rf-cfg.h | 0 {drivers => arch}/dev/cc1200/cc1200.c | 0 {drivers => arch}/dev/cc2420/cc2420.c | 0 {drivers => arch}/dev/cc2420/cc2420.h | 0 {drivers => arch}/dev/cc2420/cc2420_const.h | 0 {drivers => arch}/dev/disk/disk.h | 0 {drivers => arch}/dev/disk/mmc/mmc-arch.h | 0 {drivers => arch}/dev/disk/mmc/mmc.c | 0 {drivers => arch}/dev/disk/mmc/mmc.h | 0 {drivers => arch}/dev/ds2411/ds2411.c | 0 {drivers => arch}/dev/ds2411/ds2411.h | 0 .../dev/enc28j60/enc28j60-ip64-driver.c | 0 .../dev/enc28j60/enc28j60-ip64-driver.h | 0 {drivers => arch}/dev/enc28j60/enc28j60.c | 0 {drivers => arch}/dev/enc28j60/enc28j60.h | 0 {drivers => arch}/dev/sht11/sht11-sensor.c | 0 {drivers => arch}/dev/sht11/sht11-sensor.h | 0 {drivers => arch}/dev/sht11/sht11.c | 0 {drivers => arch}/dev/sht11/sht11.h | 0 .../platform/cc2538dk/Makefile.cc2538dk | 2 +- {drivers => arch}/platform/cc2538dk/README.md | 0 {drivers => arch}/platform/cc2538dk/contiki-conf.h | 0 {drivers => arch}/platform/cc2538dk/contiki-main.c | 0 .../platform/cc2538dk/dev/als-sensor.c | 0 .../platform/cc2538dk/dev/als-sensor.h | 0 {drivers => arch}/platform/cc2538dk/dev/board.h | 0 .../platform/cc2538dk/dev/button-sensor.c | 0 .../platform/cc2538dk/dev/button-sensor.h | 0 {drivers => arch}/platform/cc2538dk/dev/leds-arch.c | 0 .../platform/cc2538dk/dev/smartrf-sensors.c | 0 .../platform/cooja-ip64/Makefile.cooja-ip64 | 2 +- .../cooja-ip64/Makefile.customrules-cooja-ip64 | 0 .../platform/cooja-ip64/contiki-cooja-ip64-main.c | 0 {drivers => arch}/platform/cooja-ip64/ip64-conf.h | 0 .../platform/cooja-ip64/subplatform-conf.h | 0 {drivers => arch}/platform/cooja/Makefile.cooja | 4 ++-- .../platform/cooja/Makefile.customrules-cooja | 0 {drivers => arch}/platform/cooja/cfs/cfs-cooja.c | 0 {drivers => arch}/platform/cooja/contiki-conf.h | 0 .../platform/cooja/contiki-cooja-main.c | 0 {drivers => arch}/platform/cooja/dev/beep.c | 0 {drivers => arch}/platform/cooja/dev/beep.h | 0 .../platform/cooja/dev/button-sensor.c | 0 .../platform/cooja/dev/button-sensor.h | 0 {drivers => arch}/platform/cooja/dev/cooja-radio.c | 0 {drivers => arch}/platform/cooja/dev/cooja-radio.h | 0 {drivers => arch}/platform/cooja/dev/eeprom.c | 0 {drivers => arch}/platform/cooja/dev/ip.c | 0 {drivers => arch}/platform/cooja/dev/ip.h | 0 {drivers => arch}/platform/cooja/dev/leds-arch.c | 0 {drivers => arch}/platform/cooja/dev/moteid.c | 0 {drivers => arch}/platform/cooja/dev/moteid.h | 0 {drivers => arch}/platform/cooja/dev/pir-sensor.c | 0 {drivers => arch}/platform/cooja/dev/pir-sensor.h | 0 {drivers => arch}/platform/cooja/dev/rs232.c | 0 {drivers => arch}/platform/cooja/dev/rs232.h | 0 {drivers => arch}/platform/cooja/dev/uart1.h | 0 {drivers => arch}/platform/cooja/dev/vib-sensor.c | 0 {drivers => arch}/platform/cooja/dev/vib-sensor.h | 0 {drivers => arch}/platform/cooja/dev/watchdog.c | 0 {drivers => arch}/platform/cooja/lib/simEnvChange.c | 0 {drivers => arch}/platform/cooja/lib/simEnvChange.h | 0 {drivers => arch}/platform/cooja/mtarch.c | 0 {drivers => arch}/platform/cooja/mtarch.h | 0 {drivers => arch}/platform/cooja/net/init-net.h | 0 {drivers => arch}/platform/cooja/net/uip-driver.c | 0 {drivers => arch}/platform/cooja/net/uip-driver.h | 0 {drivers => arch}/platform/cooja/rtimer-arch.c | 0 {drivers => arch}/platform/cooja/rtimer-arch.h | 0 {drivers => arch}/platform/cooja/slip-arch.c | 0 {drivers => arch}/platform/cooja/sys/clock.c | 0 {drivers => arch}/platform/cooja/sys/cooja_mt.c | 0 {drivers => arch}/platform/cooja/sys/cooja_mt.h | 0 {drivers => arch}/platform/cooja/sys/cooja_mtarch.c | 0 {drivers => arch}/platform/cooja/sys/cooja_mtarch.h | 0 {drivers => arch}/platform/cooja/sys/log.c | 0 {drivers => arch}/platform/cooja/sys/node-id.h | 0 .../platform/cooja/testapps/hello-world.c | 0 .../platform/cooja/testapps/testbutton.c | 0 {drivers => arch}/platform/cooja/testapps/testcfs.c | 0 .../platform/cooja/testapps/testctimer.c | 0 .../platform/cooja/testapps/testetimer.c | 0 .../platform/cooja/testapps/testsensors.c | 0 .../platform/cooja/testapps/testserial.c | 0 {drivers => arch}/platform/cooja/testapps/testuip.c | 0 .../platform/galileo/Makefile.customrules-galileo | 2 +- {drivers => arch}/platform/galileo/Makefile.galileo | 6 +++--- {drivers => arch}/platform/galileo/README.md | 0 .../platform/galileo/bsp/docker/Dockerfile | 0 .../platform/galileo/bsp/grub/build_grub.sh | 0 .../platform/galileo/bsp/libc/build_newlib.sh | 0 .../galileo/bsp/libc/patches/large64_files.patch | 0 .../bsp/libc/patches/newlib_add_i586_elf.patch | 0 .../bsp/libc/patches/stdio_strengthen_syms.patch | 0 .../platform/galileo/bsp/openocd-scripts/debug.cfg | 0 {drivers => arch}/platform/galileo/contiki-conf.h | 0 {drivers => arch}/platform/galileo/contiki-main.c | 0 {drivers => arch}/platform/galileo/core/sys/clock.c | 0 .../platform/galileo/core/sys/mtarch.h | 0 .../platform/galileo/core/sys/rtimer-arch.c | 0 .../platform/galileo/core/sys/rtimer-arch.h | 0 .../platform/galileo/drivers/cy8c9540a.c | 0 .../platform/galileo/drivers/cy8c9540a.h | 0 .../platform/galileo/drivers/galileo-gen1-pinmux.c | 0 .../platform/galileo/drivers/galileo-gen2-pinmux.c | 0 .../platform/galileo/drivers/galileo-gpio.c | 0 .../platform/galileo/drivers/galileo-gpio.h | 0 .../platform/galileo/drivers/galileo-pinmux.h | 0 .../platform/galileo/drivers/gpio-pcal9535a.c | 0 .../platform/galileo/drivers/gpio-pcal9535a.h | 0 .../platform/galileo/drivers/pwm-pca9685.c | 0 .../platform/galileo/drivers/pwm-pca9685.h | 0 {drivers => arch}/platform/galileo/net/eth-conf.c | 0 {drivers => arch}/platform/galileo/net/eth-conf.h | 0 .../platform/galileo/newlib-syscalls.c | 0 {drivers => arch}/platform/jn516x/App_Stack_Size.ld | 0 {drivers => arch}/platform/jn516x/Makefile.jn516x | 0 {drivers => arch}/platform/jn516x/README.md | 0 {drivers => arch}/platform/jn516x/contiki-conf.h | 0 .../platform/jn516x/contiki-jn516x-main.c | 0 {drivers => arch}/platform/jn516x/dev/clock.c | 0 .../platform/jn516x/dev/dongle/README.md | 0 .../platform/jn516x/dev/dongle/leds-arch.c | 0 .../platform/jn516x/dev/dr1174/README.md | 0 .../platform/jn516x/dev/dr1174/button-sensor.c | 0 .../platform/jn516x/dev/dr1174/button-sensor.h | 0 .../platform/jn516x/dev/dr1174/leds-arch.c | 0 .../platform/jn516x/dev/dr1175/README.md | 0 .../platform/jn516x/dev/dr1175/ht-sensor.c | 0 .../platform/jn516x/dev/dr1175/ht-sensor.h | 0 .../platform/jn516x/dev/dr1175/leds-arch-1175.c | 0 .../platform/jn516x/dev/dr1175/leds-arch-1175.h | 0 .../platform/jn516x/dev/dr1175/light-sensor.c | 0 .../platform/jn516x/dev/dr1175/light-sensor.h | 0 .../platform/jn516x/dev/dr1199/README.md | 0 .../platform/jn516x/dev/dr1199/leds-arch-1199.c | 0 .../platform/jn516x/dev/dr1199/leds-arch-1199.h | 0 .../platform/jn516x/dev/dr1199/pot-sensor.c | 0 .../platform/jn516x/dev/dr1199/pot-sensor.h | 0 {drivers => arch}/platform/jn516x/dev/exceptions.c | 0 {drivers => arch}/platform/jn516x/dev/exceptions.h | 0 .../platform/jn516x/dev/jn516x-ccm-star.c | 0 .../platform/jn516x/dev/leds-extension.c | 0 .../platform/jn516x/dev/leds-extension.h | 0 .../platform/jn516x/dev/micromac-radio.c | 0 .../platform/jn516x/dev/micromac-radio.h | 0 {drivers => arch}/platform/jn516x/dev/mtarch.c | 0 {drivers => arch}/platform/jn516x/dev/mtarch.h | 0 {drivers => arch}/platform/jn516x/dev/node-id.c | 0 .../platform/jn516x/dev/rtimer-arch-slow.c | 0 {drivers => arch}/platform/jn516x/dev/rtimer-arch.c | 0 {drivers => arch}/platform/jn516x/dev/rtimer-arch.h | 0 {drivers => arch}/platform/jn516x/dev/slip_uart0.c | 0 {drivers => arch}/platform/jn516x/dev/uart-driver.c | 0 {drivers => arch}/platform/jn516x/dev/uart-driver.h | 0 {drivers => arch}/platform/jn516x/dev/uart0.c | 0 {drivers => arch}/platform/jn516x/dev/uart0.h | 0 {drivers => arch}/platform/jn516x/dev/uart1.c | 0 {drivers => arch}/platform/jn516x/dev/uart1.h | 0 {drivers => arch}/platform/jn516x/dev/watchdog.c | 0 {drivers => arch}/platform/jn516x/lib/slip.c | 0 {drivers => arch}/platform/jn516x/lib/sprintf.c | 0 {drivers => arch}/platform/jn516x/platform-conf.h | 0 {drivers => arch}/platform/native/Makefile.native | 4 ++-- {drivers => arch}/platform/native/cfs-coffee-arch.h | 0 {drivers => arch}/platform/native/clock.c | 0 {drivers => arch}/platform/native/contiki-conf.h | 0 {drivers => arch}/platform/native/contiki-main.c | 0 {drivers => arch}/platform/native/dev/beep.c | 0 {drivers => arch}/platform/native/dev/beep.h | 0 .../platform/native/dev/button-sensor.c | 0 .../platform/native/dev/button-sensor.h | 0 .../platform/native/dev/dummy-sensors.c | 0 {drivers => arch}/platform/native/dev/irq.c | 0 {drivers => arch}/platform/native/dev/leds-arch.c | 0 {drivers => arch}/platform/native/dev/pir-sensor.c | 0 {drivers => arch}/platform/native/dev/pir-sensor.h | 0 .../platform/native/dev/temperature-sensor.h | 0 {drivers => arch}/platform/native/dev/vib-sensor.c | 0 {drivers => arch}/platform/native/dev/vib-sensor.h | 0 {drivers => arch}/platform/native/dev/xmem.c | 0 {drivers => arch}/platform/nrf52dk/Makefile.nrf52dk | 6 +++--- .../platform/nrf52dk/README-BLE-6LoWPAN.md | 0 {drivers => arch}/platform/nrf52dk/README.md | 0 .../platform/nrf52dk/config/nrf_drv_config.h | 0 .../platform/nrf52dk/config/pstorage_platform.h | 0 {drivers => arch}/platform/nrf52dk/contiki-conf.h | 0 {drivers => arch}/platform/nrf52dk/contiki-main.c | 0 {drivers => arch}/platform/nrf52dk/dbg-io/dbg.c | 0 {drivers => arch}/platform/nrf52dk/dbg-io/dbg.h | 0 .../platform/nrf52dk/dbg-io/debug-uart.h | 0 .../platform/nrf52dk/dev/button-sensor.c | 0 .../platform/nrf52dk/dev/button-sensor.h | 0 {drivers => arch}/platform/nrf52dk/dev/leds-arch.c | 0 .../platform/nrf52dk/dev/nrf52dk-sensors.c | 0 .../platform/nrf52dk/dev/temperature-sensor.c | 0 .../platform/nrf52dk/dev/temperature-sensor.h | 0 {drivers => arch}/platform/nrf52dk/platform-conf.h | 0 {drivers => arch}/platform/nrf52dk/rtt/rtt-printf.c | 0 .../platform/nrf52dk/rtt/segger-rtt-conf.h | 0 .../platform/nrf52dk/rtt/segger-rtt-printf.c | 0 {drivers => arch}/platform/nrf52dk/rtt/segger-rtt.c | 0 {drivers => arch}/platform/nrf52dk/rtt/segger-rtt.h | 0 .../openmote-cc2538/Makefile.openmote-cc2538 | 4 ++-- .../platform/openmote-cc2538/README.md | 0 {drivers => arch}/platform/openmote-cc2538/board.c | 0 {drivers => arch}/platform/openmote-cc2538/board.h | 0 .../platform/openmote-cc2538/contiki-conf.h | 0 .../platform/openmote-cc2538/contiki-main.c | 0 .../platform/openmote-cc2538/dev/adxl346.c | 0 .../platform/openmote-cc2538/dev/adxl346.h | 0 .../platform/openmote-cc2538/dev/antenna.c | 0 .../platform/openmote-cc2538/dev/antenna.h | 0 .../platform/openmote-cc2538/dev/button-sensor.c | 0 .../platform/openmote-cc2538/dev/button-sensor.h | 0 .../platform/openmote-cc2538/dev/leds-arch.c | 0 .../platform/openmote-cc2538/dev/max44009.c | 0 .../platform/openmote-cc2538/dev/max44009.h | 0 .../platform/openmote-cc2538/dev/openmote-sensors.c | 0 .../platform/openmote-cc2538/dev/openmote-sensors.h | 0 .../platform/openmote-cc2538/dev/sht21.c | 0 .../platform/openmote-cc2538/dev/sht21.h | 0 .../platform/openmote-cc2538/dev/tps62730.c | 0 .../platform/openmote-cc2538/dev/tps62730.h | 0 {drivers => arch}/platform/sky/Makefile.common | 2 +- {drivers => arch}/platform/sky/Makefile.sky | 4 ++-- {drivers => arch}/platform/sky/apps/blink.c | 0 {drivers => arch}/platform/sky/apps/burn-nodeid.c | 0 {drivers => arch}/platform/sky/apps/fader.c | 0 {drivers => arch}/platform/sky/cfs-coffee-arch.h | 0 {drivers => arch}/platform/sky/contiki-conf.h | 0 {drivers => arch}/platform/sky/contiki-sky-main.c | 0 .../platform/sky/contiki-sky-platform.c | 0 {drivers => arch}/platform/sky/dev/battery-sensor.c | 0 {drivers => arch}/platform/sky/dev/button-sensor.c | 0 {drivers => arch}/platform/sky/dev/i2c.c | 0 {drivers => arch}/platform/sky/dev/i2c.h | 0 {drivers => arch}/platform/sky/dev/light-sensor.c | 0 {drivers => arch}/platform/sky/dev/light-sensor.h | 0 {drivers => arch}/platform/sky/dev/radio-sensor.c | 0 {drivers => arch}/platform/sky/dev/sht11-arch.h | 0 {drivers => arch}/platform/sky/dev/sky-sensors.c | 0 {drivers => arch}/platform/sky/dev/sky-sensors.h | 0 .../platform/sky/dev/temperature-sensor.c | 0 .../platform/sky/dev/temperature-sensor.h | 0 {drivers => arch}/platform/sky/dev/xmem.c | 0 {drivers => arch}/platform/sky/doc/sky.txt | 0 {drivers => arch}/platform/sky/node-id.c | 0 {drivers => arch}/platform/sky/platform-conf.h | 0 .../platform/srf06-cc26xx/Makefile.srf06-cc26xx | 4 ++-- {drivers => arch}/platform/srf06-cc26xx/README.md | 0 .../platform/srf06-cc26xx/common/board-spi.c | 0 .../platform/srf06-cc26xx/common/board-spi.h | 0 .../platform/srf06-cc26xx/common/ext-flash.c | 0 .../platform/srf06-cc26xx/common/ext-flash.h | 0 .../platform/srf06-cc26xx/contiki-conf.h | 0 .../platform/srf06-cc26xx/contiki-main.c | 0 .../srf06-cc26xx/launchpad/Makefile.launchpad | 0 .../srf06-cc26xx/launchpad/board-peripherals.h | 0 .../platform/srf06-cc26xx/launchpad/board.c | 0 .../platform/srf06-cc26xx/launchpad/button-sensor.c | 0 .../platform/srf06-cc26xx/launchpad/button-sensor.h | 0 .../srf06-cc26xx/launchpad/cc1310/Makefile.cc1310 | 0 .../platform/srf06-cc26xx/launchpad/cc1310/board.h | 0 .../srf06-cc26xx/launchpad/cc1350/Makefile.cc1350 | 0 .../platform/srf06-cc26xx/launchpad/cc1350/board.h | 0 .../srf06-cc26xx/launchpad/cc1350/rf-switch.c | 0 .../srf06-cc26xx/launchpad/cc1350/tx-power-driver.c | 0 .../srf06-cc26xx/launchpad/cc2650/Makefile.cc2650 | 0 .../platform/srf06-cc26xx/launchpad/cc2650/board.h | 0 .../srf06-cc26xx/launchpad/launchpad-sensors.c | 0 .../platform/srf06-cc26xx/launchpad/leds-arch.c | 0 .../srf06-cc26xx/sensortag/Makefile.sensortag | 0 .../srf06-cc26xx/sensortag/bmp-280-sensor.c | 0 .../srf06-cc26xx/sensortag/bmp-280-sensor.h | 0 .../platform/srf06-cc26xx/sensortag/board-i2c.c | 0 .../platform/srf06-cc26xx/sensortag/board-i2c.h | 0 .../srf06-cc26xx/sensortag/board-peripherals.h | 0 .../platform/srf06-cc26xx/sensortag/board.c | 0 .../platform/srf06-cc26xx/sensortag/button-sensor.c | 0 .../platform/srf06-cc26xx/sensortag/button-sensor.h | 0 .../platform/srf06-cc26xx/sensortag/buzzer.c | 0 .../platform/srf06-cc26xx/sensortag/buzzer.h | 0 .../srf06-cc26xx/sensortag/cc1350/Makefile.cc1350 | 0 .../platform/srf06-cc26xx/sensortag/cc1350/board.h | 0 .../srf06-cc26xx/sensortag/cc1350/leds-arch.c | 0 .../srf06-cc26xx/sensortag/cc2650/Makefile.cc2650 | 0 .../platform/srf06-cc26xx/sensortag/cc2650/board.h | 0 .../srf06-cc26xx/sensortag/cc2650/leds-arch.c | 0 .../srf06-cc26xx/sensortag/hdc-1000-sensor.c | 0 .../srf06-cc26xx/sensortag/hdc-1000-sensor.h | 0 .../srf06-cc26xx/sensortag/mpu-9250-sensor.c | 0 .../srf06-cc26xx/sensortag/mpu-9250-sensor.h | 0 .../srf06-cc26xx/sensortag/opt-3001-sensor.c | 0 .../srf06-cc26xx/sensortag/opt-3001-sensor.h | 0 .../platform/srf06-cc26xx/sensortag/reed-relay.c | 0 .../platform/srf06-cc26xx/sensortag/reed-relay.h | 0 .../platform/srf06-cc26xx/sensortag/sensor-common.c | 0 .../platform/srf06-cc26xx/sensortag/sensor-common.h | 0 .../srf06-cc26xx/sensortag/sensortag-sensors.c | 0 .../srf06-cc26xx/sensortag/tmp-007-sensor.c | 0 .../srf06-cc26xx/sensortag/tmp-007-sensor.h | 0 .../platform/srf06-cc26xx/srf06/Makefile.srf06 | 0 .../platform/srf06-cc26xx/srf06/als-sensor.c | 0 .../platform/srf06-cc26xx/srf06/als-sensor.h | 0 .../platform/srf06-cc26xx/srf06/board-peripherals.h | 0 .../platform/srf06-cc26xx/srf06/board.c | 0 .../platform/srf06-cc26xx/srf06/button-sensor.c | 0 .../platform/srf06-cc26xx/srf06/button-sensor.h | 0 .../srf06-cc26xx/srf06/cc13xx/Makefile.cc13xx | 0 .../platform/srf06-cc26xx/srf06/cc13xx/board.h | 0 .../srf06-cc26xx/srf06/cc26xx/Makefile.cc26xx | 0 .../platform/srf06-cc26xx/srf06/cc26xx/board.h | 0 .../platform/srf06-cc26xx/srf06/leds-arch.c | 0 .../platform/srf06-cc26xx/srf06/srf06-sensors.c | 0 {drivers => arch}/platform/zoul/Makefile.zoul | 6 +++--- {drivers => arch}/platform/zoul/README.md | 0 {drivers => arch}/platform/zoul/contiki-conf.h | 0 {drivers => arch}/platform/zoul/contiki-main.c | 0 {drivers => arch}/platform/zoul/dev/ac-dimmer.c | 0 {drivers => arch}/platform/zoul/dev/ac-dimmer.h | 0 {drivers => arch}/platform/zoul/dev/adc-sensors.c | 0 {drivers => arch}/platform/zoul/dev/adc-sensors.h | 0 {drivers => arch}/platform/zoul/dev/adc-zoul.c | 0 {drivers => arch}/platform/zoul/dev/adc-zoul.h | 0 {drivers => arch}/platform/zoul/dev/antenna-sw.c | 0 {drivers => arch}/platform/zoul/dev/antenna-sw.h | 0 {drivers => arch}/platform/zoul/dev/bme280-arch.c | 0 {drivers => arch}/platform/zoul/dev/bmpx8x.c | 0 {drivers => arch}/platform/zoul/dev/bmpx8x.h | 0 {drivers => arch}/platform/zoul/dev/button-sensor.c | 0 {drivers => arch}/platform/zoul/dev/button-sensor.h | 0 .../platform/zoul/dev/cc1200-zoul-arch.c | 0 {drivers => arch}/platform/zoul/dev/dht22.c | 0 {drivers => arch}/platform/zoul/dev/dht22.h | 0 {drivers => arch}/platform/zoul/dev/grove-gyro.c | 0 {drivers => arch}/platform/zoul/dev/grove-gyro.h | 0 {drivers => arch}/platform/zoul/dev/iaq.c | 0 {drivers => arch}/platform/zoul/dev/iaq.h | 0 {drivers => arch}/platform/zoul/dev/led-strip.c | 0 {drivers => arch}/platform/zoul/dev/led-strip.h | 0 {drivers => arch}/platform/zoul/dev/leds-arch.c | 0 {drivers => arch}/platform/zoul/dev/mmc-arch.c | 0 {drivers => arch}/platform/zoul/dev/motion-sensor.c | 0 {drivers => arch}/platform/zoul/dev/motion-sensor.h | 0 {drivers => arch}/platform/zoul/dev/mp3-wtv020sd.c | 0 {drivers => arch}/platform/zoul/dev/mp3-wtv020sd.h | 0 {drivers => arch}/platform/zoul/dev/pm10-sensor.c | 0 {drivers => arch}/platform/zoul/dev/pm10-sensor.h | 0 {drivers => arch}/platform/zoul/dev/relay.c | 0 {drivers => arch}/platform/zoul/dev/relay.h | 0 {drivers => arch}/platform/zoul/dev/rgb-bl-lcd.c | 0 {drivers => arch}/platform/zoul/dev/rgb-bl-lcd.h | 0 {drivers => arch}/platform/zoul/dev/rtcc-config.h | 0 {drivers => arch}/platform/zoul/dev/rtcc.c | 0 {drivers => arch}/platform/zoul/dev/rtcc.h | 0 {drivers => arch}/platform/zoul/dev/servo.c | 0 {drivers => arch}/platform/zoul/dev/servo.h | 0 {drivers => arch}/platform/zoul/dev/sht25.c | 0 {drivers => arch}/platform/zoul/dev/sht25.h | 0 {drivers => arch}/platform/zoul/dev/tmp102.c | 0 {drivers => arch}/platform/zoul/dev/tmp102.h | 0 {drivers => arch}/platform/zoul/dev/tsl256x.c | 0 {drivers => arch}/platform/zoul/dev/tsl256x.h | 0 {drivers => arch}/platform/zoul/dev/weather-meter.c | 0 {drivers => arch}/platform/zoul/dev/weather-meter.h | 0 {drivers => arch}/platform/zoul/dev/zonik.c | 0 {drivers => arch}/platform/zoul/dev/zonik.h | 0 {drivers => arch}/platform/zoul/dev/zoul-sensors.c | 0 {drivers => arch}/platform/zoul/dev/zoul-sensors.h | 0 .../zoul/firefly-reva/Makefile.firefly-reva | 0 .../platform/zoul/firefly-reva/README.md | 0 .../platform/zoul/firefly-reva/board.c | 0 .../platform/zoul/firefly-reva/board.h | 0 .../platform/zoul/firefly/Makefile.firefly | 0 {drivers => arch}/platform/zoul/firefly/README.md | 0 {drivers => arch}/platform/zoul/firefly/board.c | 0 {drivers => arch}/platform/zoul/firefly/board.h | 0 {drivers => arch}/platform/zoul/fs/fat/diskio.c | 0 {drivers => arch}/platform/zoul/fs/fat/ffconf.h | 0 .../platform/zoul/images/firefly-reva.jpg | Bin .../platform/zoul/orion/Makefile.orion | 2 +- {drivers => arch}/platform/zoul/orion/README.md | 0 {drivers => arch}/platform/zoul/orion/board.c | 0 {drivers => arch}/platform/zoul/orion/board.h | 0 .../platform/zoul/orion/enc28j60-arch-gpio.c | 0 .../platform/zoul/orion/enc28j60-arch-spi.c | 0 {drivers => arch}/platform/zoul/orion/ip64-conf.h | 0 .../platform/zoul/remote-reva/Makefile.remote-reva | 2 +- .../platform/zoul/remote-reva/README.md | 0 {drivers => arch}/platform/zoul/remote-reva/board.c | 0 {drivers => arch}/platform/zoul/remote-reva/board.h | 0 .../platform/zoul/remote-reva/power-mgmt.c | 0 .../platform/zoul/remote-reva/power-mgmt.h | 0 .../platform/zoul/remote-revb/Makefile.remote-revb | 2 +- .../platform/zoul/remote-revb/README.md | 0 {drivers => arch}/platform/zoul/remote-revb/board.c | 0 {drivers => arch}/platform/zoul/remote-revb/board.h | 0 .../platform/zoul/remote-revb/leds-res-arch.c | 0 .../platform/zoul/remote-revb/power-mgmt.c | 0 .../platform/zoul/remote-revb/power-mgmt.h | 0 .../platform/zoul/zolertia-zoul-cdc-acm.inf | 0 doc/Makefile | 2 +- examples/ipv6/rpl-border-router/Makefile | 2 +- examples/platform-specific/zoul/Makefile | 2 +- tools/Makefile | 4 ++-- 839 files changed, 52 insertions(+), 52 deletions(-) rename {drivers => arch}/cpu/arm/arm.txt (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/cmsis_armcc.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/cmsis_armcc_V6.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/cmsis_gcc.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core.txt (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cm0.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cm0plus.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cm3.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cm4.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cm7.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cmFunc.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cmInstr.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_cmSimd.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_sc000.h (100%) rename {drivers => arch}/cpu/arm/common/CMSIS/core_sc300.h (100%) rename {drivers => arch}/cpu/arm/common/SD-card/Makefile.sdcard (100%) rename {drivers => arch}/cpu/arm/common/SD-card/cfs-sdcard.c (100%) rename {drivers => arch}/cpu/arm/common/SD-card/config.h (100%) rename {drivers => arch}/cpu/arm/common/SD-card/efs-sdcard.h (100%) rename {drivers => arch}/cpu/arm/common/SD-card/efsl_spi.h (100%) rename {drivers => arch}/cpu/arm/common/SD-card/sdcard.h (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/dbg-printf.c (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/dbg-putchar.c (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/dbg-puts.c (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/dbg-snprintf.c (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/dbg-sprintf.c (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/strformat.c (100%) rename {drivers => arch}/cpu/arm/common/dbg-io/strformat.h (100%) rename {drivers => arch}/cpu/arm/common/sys/mtarch.c (100%) rename {drivers => arch}/cpu/arm/common/sys/mtarch.h (100%) rename {drivers => arch}/cpu/arm/common/usb/Makefile.usb (100%) rename {drivers => arch}/cpu/arm/common/usb/cdc-acm/cdc-acm-descriptors.c (100%) rename {drivers => arch}/cpu/arm/common/usb/cdc-acm/cdc-acm-string-descriptors.xml (100%) rename {drivers => arch}/cpu/arm/common/usb/cdc-acm/cdc-acm.c (100%) rename {drivers => arch}/cpu/arm/common/usb/cdc-acm/cdc-acm.h (100%) rename {drivers => arch}/cpu/arm/common/usb/cdc-acm/cdc.h (100%) rename {drivers => arch}/cpu/arm/common/usb/descriptors.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/msc-descriptors.c (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/msc-string-descriptors.xml (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/rbc_const.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/rbc_struct.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/scsi_command.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/scsi_sense.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/scsi_struct.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/spc2_const.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/spc2_struct.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/usb-msc-bulk.c (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/usb-msc-bulk.h (100%) rename {drivers => arch}/cpu/arm/common/usb/msc/usb-rbc.c (100%) rename {drivers => arch}/cpu/arm/common/usb/string-descriptors.dtd (100%) rename {drivers => arch}/cpu/arm/common/usb/string-descriptors.h (100%) rename {drivers => arch}/cpu/arm/common/usb/string-descriptors.xslt (100%) rename {drivers => arch}/cpu/arm/common/usb/usb-api.h (100%) rename {drivers => arch}/cpu/arm/common/usb/usb-arch.h (100%) rename {drivers => arch}/cpu/arm/common/usb/usb-core.c (100%) rename {drivers => arch}/cpu/arm/common/usb/usb-core.h (100%) rename {drivers => arch}/cpu/arm/common/usb/usb.h (100%) rename {drivers => arch}/cpu/arm/openocd/arm7_wig.cfg (100%) rename {drivers => arch}/cpu/arm/openocd/target/stm32F10xxx.cfg (100%) rename {drivers => arch}/cpu/cc2538/Makefile.cc2538 (96%) rename {drivers => arch}/cpu/cc2538/cc2538.lds (100%) rename {drivers => arch}/cpu/cc2538/cc2538_cm3.h (100%) rename {drivers => arch}/cpu/cc2538/cfs-coffee-arch.c (100%) rename {drivers => arch}/cpu/cc2538/cfs-coffee-arch.h (100%) rename {drivers => arch}/cpu/cc2538/clock.c (100%) rename {drivers => arch}/cpu/cc2538/cpu.h (100%) rename {drivers => arch}/cpu/cc2538/dbg.c (100%) rename {drivers => arch}/cpu/cc2538/dbg.h (100%) rename {drivers => arch}/cpu/cc2538/debug-uart.h (100%) rename {drivers => arch}/cpu/cc2538/dev/adc.c (100%) rename {drivers => arch}/cpu/cc2538/dev/adc.h (100%) rename {drivers => arch}/cpu/cc2538/dev/aes.c (100%) rename {drivers => arch}/cpu/cc2538/dev/aes.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ana-regs.h (100%) rename {drivers => arch}/cpu/cc2538/dev/bignum-driver.c (100%) rename {drivers => arch}/cpu/cc2538/dev/bignum-driver.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cbc-mac.c (100%) rename {drivers => arch}/cpu/cc2538/dev/cbc-mac.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cbc.c (100%) rename {drivers => arch}/cpu/cc2538/dev/cbc.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-aes-128.c (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-aes-128.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-ccm-star.c (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-ccm-star.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-dev.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-rf.c (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-rf.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-sensors.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-temp-sensor.c (100%) rename {drivers => arch}/cpu/cc2538/dev/cc2538-temp-sensor.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ccm.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ccm.h (100%) rename {drivers => arch}/cpu/cc2538/dev/cctest.h (100%) rename {drivers => arch}/cpu/cc2538/dev/crypto.c (100%) rename {drivers => arch}/cpu/cc2538/dev/crypto.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ctr.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ctr.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ecb.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ecb.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ecc-algorithm.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ecc-algorithm.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ecc-curve.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ecc-curve.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ecc-driver.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ecc-driver.h (100%) rename {drivers => arch}/cpu/cc2538/dev/flash.h (100%) rename {drivers => arch}/cpu/cc2538/dev/gcm.c (100%) rename {drivers => arch}/cpu/cc2538/dev/gcm.h (100%) rename {drivers => arch}/cpu/cc2538/dev/gpio.c (100%) rename {drivers => arch}/cpu/cc2538/dev/gpio.h (100%) rename {drivers => arch}/cpu/cc2538/dev/gptimer.h (100%) rename {drivers => arch}/cpu/cc2538/dev/i2c.c (100%) rename {drivers => arch}/cpu/cc2538/dev/i2c.h (100%) rename {drivers => arch}/cpu/cc2538/dev/ioc.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ioc.h (100%) rename {drivers => arch}/cpu/cc2538/dev/nvic.c (100%) rename {drivers => arch}/cpu/cc2538/dev/nvic.h (100%) rename {drivers => arch}/cpu/cc2538/dev/pka.c (100%) rename {drivers => arch}/cpu/cc2538/dev/pka.h (100%) rename {drivers => arch}/cpu/cc2538/dev/pwm.c (100%) rename {drivers => arch}/cpu/cc2538/dev/pwm.h (100%) rename {drivers => arch}/cpu/cc2538/dev/random.c (100%) rename {drivers => arch}/cpu/cc2538/dev/rfcore-ffsm.h (100%) rename {drivers => arch}/cpu/cc2538/dev/rfcore-sfr.h (100%) rename {drivers => arch}/cpu/cc2538/dev/rfcore-xreg.h (100%) rename {drivers => arch}/cpu/cc2538/dev/rfcore.h (100%) rename {drivers => arch}/cpu/cc2538/dev/rom-util.h (100%) rename {drivers => arch}/cpu/cc2538/dev/sha256.c (100%) rename {drivers => arch}/cpu/cc2538/dev/sha256.h (100%) rename {drivers => arch}/cpu/cc2538/dev/smwdthrosc.h (100%) rename {drivers => arch}/cpu/cc2538/dev/soc-adc.h (100%) rename {drivers => arch}/cpu/cc2538/dev/spi.c (100%) rename {drivers => arch}/cpu/cc2538/dev/ssi.h (100%) rename {drivers => arch}/cpu/cc2538/dev/sys-ctrl.c (100%) rename {drivers => arch}/cpu/cc2538/dev/sys-ctrl.h (100%) rename {drivers => arch}/cpu/cc2538/dev/uart.c (100%) rename {drivers => arch}/cpu/cc2538/dev/uart.h (100%) rename {drivers => arch}/cpu/cc2538/dev/uart1.h (100%) rename {drivers => arch}/cpu/cc2538/dev/udma.c (100%) rename {drivers => arch}/cpu/cc2538/dev/udma.h (100%) rename {drivers => arch}/cpu/cc2538/dev/usb-regs.h (100%) rename {drivers => arch}/cpu/cc2538/dev/vdd3-sensor.c (100%) rename {drivers => arch}/cpu/cc2538/dev/vdd3-sensor.h (100%) rename {drivers => arch}/cpu/cc2538/dev/watchdog.c (100%) rename {drivers => arch}/cpu/cc2538/ieee-addr.c (100%) rename {drivers => arch}/cpu/cc2538/ieee-addr.h (100%) rename {drivers => arch}/cpu/cc2538/lpm.c (100%) rename {drivers => arch}/cpu/cc2538/lpm.h (100%) rename {drivers => arch}/cpu/cc2538/reg.h (100%) rename {drivers => arch}/cpu/cc2538/rtimer-arch.c (100%) rename {drivers => arch}/cpu/cc2538/rtimer-arch.h (100%) rename {drivers => arch}/cpu/cc2538/slip-arch.c (100%) rename {drivers => arch}/cpu/cc2538/soc.c (100%) rename {drivers => arch}/cpu/cc2538/soc.h (100%) rename {drivers => arch}/cpu/cc2538/spi-arch.h (100%) rename {drivers => arch}/cpu/cc2538/startup-gcc.c (100%) rename {drivers => arch}/cpu/cc2538/usb/cdc-acm-descriptors.c (100%) rename {drivers => arch}/cpu/cc2538/usb/usb-arch.c (100%) rename {drivers => arch}/cpu/cc2538/usb/usb-serial.c (100%) rename {drivers => arch}/cpu/cc2538/usb/usb-serial.h (100%) rename {drivers => arch}/cpu/cc253x/8051def.h (100%) rename {drivers => arch}/cpu/cc253x/Makefile.cc253x (97%) rename {drivers => arch}/cpu/cc253x/Makefile.customrules-cc253x (100%) rename {drivers => arch}/cpu/cc253x/bank-alloc.py (100%) rename {drivers => arch}/cpu/cc253x/cc253x.h (100%) rename {drivers => arch}/cpu/cc253x/dev/cc2530-rf.c (100%) rename {drivers => arch}/cpu/cc253x/dev/cc2530-rf.h (100%) rename {drivers => arch}/cpu/cc253x/dev/clock-isr.h (100%) rename {drivers => arch}/cpu/cc253x/dev/clock.c (100%) rename {drivers => arch}/cpu/cc253x/dev/dma.c (100%) rename {drivers => arch}/cpu/cc253x/dev/dma.h (100%) rename {drivers => arch}/cpu/cc253x/dev/dma_intr.c (100%) rename {drivers => arch}/cpu/cc253x/dev/lpm.h (100%) rename {drivers => arch}/cpu/cc253x/dev/port.h (100%) rename {drivers => arch}/cpu/cc253x/dev/port2-intr.c (100%) rename {drivers => arch}/cpu/cc253x/dev/port2.c (100%) rename {drivers => arch}/cpu/cc253x/dev/port2.h (100%) rename {drivers => arch}/cpu/cc253x/dev/random.c (100%) rename {drivers => arch}/cpu/cc253x/dev/uart-intr.c (100%) rename {drivers => arch}/cpu/cc253x/dev/uart.h (100%) rename {drivers => arch}/cpu/cc253x/dev/uart0.c (100%) rename {drivers => arch}/cpu/cc253x/dev/uart0.h (100%) rename {drivers => arch}/cpu/cc253x/dev/uart1.c (100%) rename {drivers => arch}/cpu/cc253x/dev/uart1.h (100%) rename {drivers => arch}/cpu/cc253x/dev/watchdog.c (100%) rename {drivers => arch}/cpu/cc253x/mtarch.h (100%) rename {drivers => arch}/cpu/cc253x/rtimer-arch.c (100%) rename {drivers => arch}/cpu/cc253x/rtimer-arch.h (100%) rename {drivers => arch}/cpu/cc253x/segment.rules (100%) rename {drivers => arch}/cpu/cc253x/sfr-bits.h (100%) rename {drivers => arch}/cpu/cc253x/soc.c (100%) rename {drivers => arch}/cpu/cc253x/soc.h (100%) rename {drivers => arch}/cpu/cc253x/stack.c (100%) rename {drivers => arch}/cpu/cc253x/stack.h (100%) rename {drivers => arch}/cpu/cc253x/usb/Makefile.usb (100%) rename {drivers => arch}/cpu/cc253x/usb/cdc-acm-descriptors.c (100%) rename {drivers => arch}/cpu/cc253x/usb/common/cdc-acm/cdc-acm.c (100%) rename {drivers => arch}/cpu/cc253x/usb/common/cdc-acm/cdc-acm.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/cdc-acm/cdc.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/descriptors.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/string-descriptors.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/usb-api.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/usb-arch.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/usb-core.c (100%) rename {drivers => arch}/cpu/cc253x/usb/common/usb-core.h (100%) rename {drivers => arch}/cpu/cc253x/usb/common/usb.h (100%) rename {drivers => arch}/cpu/cc253x/usb/usb-arch.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/Makefile.cc13xx (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/Makefile.cc26xx (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx (98%) rename {drivers => arch}/cpu/cc26xx-cc13xx/cc26xx.ld (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/clock.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dbg.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/debug-uart.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/adc-sensor.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/adc-sensor.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/aux-ctrl.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/aux-ctrl.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/batmon-sensor.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/batmon-sensor.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/cc26xx-uart.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/cc26xx-uart.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/contiki-watchdog.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/gpio-interrupt.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/gpio-interrupt.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/oscillators.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/oscillators.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-rtc.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-rtc.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-trng.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/soc-trng.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/dev/uart1.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/fault-handlers.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/ieee-addr.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/ieee-addr.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/lib/cc13xxware (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/lib/cc26xxware (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/lpm.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/lpm.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/mtarch.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/putchar.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/random.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/api/ieee_cmd.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/api/ieee_mailbox.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/dot-15-4g.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/prop-mode-tx-power.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/prop-mode.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/prop-mode.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/rf-ble.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/rf-ble.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/rf-core.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/rf-core.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/rf-switch.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rtimer-arch.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/rtimer-arch.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/slip-arch.c (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/ti-lib-rom.h (100%) rename {drivers => arch}/cpu/cc26xx-cc13xx/ti-lib.h (100%) rename {drivers => arch}/cpu/msp430/Makefile.msp430 (99%) rename {drivers => arch}/cpu/msp430/button.c (100%) rename {drivers => arch}/cpu/msp430/cc2420-arch-sfd.c (100%) rename {drivers => arch}/cpu/msp430/cc2420-arch-sfd.h (100%) rename {drivers => arch}/cpu/msp430/cc2420-arch.c (100%) rename {drivers => arch}/cpu/msp430/cc2520-arch-sfd.c (100%) rename {drivers => arch}/cpu/msp430/cc2520-arch-sfd.h (100%) rename {drivers => arch}/cpu/msp430/cc2520-arch.c (100%) rename {drivers => arch}/cpu/msp430/dev/button.h (100%) rename {drivers => arch}/cpu/msp430/dev/flash.h (100%) rename {drivers => arch}/cpu/msp430/dev/hwconf.h (100%) rename {drivers => arch}/cpu/msp430/dev/lpm.h (100%) rename {drivers => arch}/cpu/msp430/dev/uart0-putchar.c (100%) rename {drivers => arch}/cpu/msp430/dev/uart0.h (100%) rename {drivers => arch}/cpu/msp430/dev/uart1-putchar.c (100%) rename {drivers => arch}/cpu/msp430/dev/uart1.h (100%) rename {drivers => arch}/cpu/msp430/f1xxx/clock.c (100%) rename {drivers => arch}/cpu/msp430/f1xxx/msp430.c (100%) rename {drivers => arch}/cpu/msp430/f1xxx/rtimer-arch.c (100%) rename {drivers => arch}/cpu/msp430/f1xxx/spi.c (100%) rename {drivers => arch}/cpu/msp430/f1xxx/uart1.c (100%) rename {drivers => arch}/cpu/msp430/f2xxx/msp430.c (100%) rename {drivers => arch}/cpu/msp430/f2xxx/spi.c (100%) rename {drivers => arch}/cpu/msp430/f2xxx/uart0.c (100%) rename {drivers => arch}/cpu/msp430/f2xxx/uart1.c (100%) rename {drivers => arch}/cpu/msp430/f5xxx/clock.c (100%) rename {drivers => arch}/cpu/msp430/f5xxx/msp430.c (100%) rename {drivers => arch}/cpu/msp430/f5xxx/rtimer-arch.c (100%) rename {drivers => arch}/cpu/msp430/f5xxx/spi.c (100%) rename {drivers => arch}/cpu/msp430/f5xxx/uart0.c (100%) rename {drivers => arch}/cpu/msp430/f5xxx/uart1.c (100%) rename {drivers => arch}/cpu/msp430/flash.c (100%) rename {drivers => arch}/cpu/msp430/isr_compat.h (100%) rename {drivers => arch}/cpu/msp430/leds-arch.c (100%) rename {drivers => arch}/cpu/msp430/lpm.c (100%) rename {drivers => arch}/cpu/msp430/minileds.c (100%) rename {drivers => arch}/cpu/msp430/msp430def.h (100%) rename {drivers => arch}/cpu/msp430/mtarch.c (100%) rename {drivers => arch}/cpu/msp430/mtarch.h (100%) rename {drivers => arch}/cpu/msp430/rom.c (100%) rename {drivers => arch}/cpu/msp430/rtimer-arch.h (100%) rename {drivers => arch}/cpu/msp430/slip_uart0.c (100%) rename {drivers => arch}/cpu/msp430/slip_uart1.c (100%) rename {drivers => arch}/cpu/msp430/uip-ipchksum.c (100%) rename {drivers => arch}/cpu/msp430/watchdog.c (100%) rename {drivers => arch}/cpu/native/Makefile.native (100%) rename {drivers => arch}/cpu/native/dev/eeprom.c (100%) rename {drivers => arch}/cpu/native/dev/uart1.h (100%) rename {drivers => arch}/cpu/native/mtarch.c (100%) rename {drivers => arch}/cpu/native/mtarch.h (100%) rename {drivers => arch}/cpu/native/net/README-WPCAP.md (100%) rename {drivers => arch}/cpu/native/net/linuxradio-drv.c (100%) rename {drivers => arch}/cpu/native/net/linuxradio-drv.h (100%) rename {drivers => arch}/cpu/native/net/tapdev-drv.c (100%) rename {drivers => arch}/cpu/native/net/tapdev-drv.h (100%) rename {drivers => arch}/cpu/native/net/tapdev.c (100%) rename {drivers => arch}/cpu/native/net/tapdev.h (100%) rename {drivers => arch}/cpu/native/net/tapdev6.c (100%) rename {drivers => arch}/cpu/native/net/tapdev6.h (100%) rename {drivers => arch}/cpu/native/net/wpcap-drv.c (100%) rename {drivers => arch}/cpu/native/net/wpcap-drv.h (100%) rename {drivers => arch}/cpu/native/net/wpcap.c (100%) rename {drivers => arch}/cpu/native/net/wpcap.h (100%) rename {drivers => arch}/cpu/native/rtimer-arch.c (100%) rename {drivers => arch}/cpu/native/rtimer-arch.h (100%) rename {drivers => arch}/cpu/native/watchdog.c (100%) rename {drivers => arch}/cpu/nrf52832/Makefile.nrf52832 (100%) rename {drivers => arch}/cpu/nrf52832/ble/ble-core.c (100%) rename {drivers => arch}/cpu/nrf52832/ble/ble-core.h (100%) rename {drivers => arch}/cpu/nrf52832/ble/ble-mac.c (100%) rename {drivers => arch}/cpu/nrf52832/ble/ble-mac.h (100%) rename {drivers => arch}/cpu/nrf52832/dev/clock.c (100%) rename {drivers => arch}/cpu/nrf52832/dev/lpm.h (100%) rename {drivers => arch}/cpu/nrf52832/dev/random.c (100%) rename {drivers => arch}/cpu/nrf52832/dev/uart0.c (100%) rename {drivers => arch}/cpu/nrf52832/dev/uart0.h (100%) rename {drivers => arch}/cpu/nrf52832/dev/watchdog.c (100%) rename {drivers => arch}/cpu/nrf52832/ld/nrf52-pca10036-sd.ld (100%) rename {drivers => arch}/cpu/nrf52832/ld/nrf52-pca10040-sd.ld (100%) rename {drivers => arch}/cpu/nrf52832/ld/nrf52.ld (100%) rename {drivers => arch}/cpu/nrf52832/mtarch.h (100%) rename {drivers => arch}/cpu/nrf52832/putchar.c (100%) rename {drivers => arch}/cpu/nrf52832/rtimer-arch.c (100%) rename {drivers => arch}/cpu/nrf52832/rtimer-arch.h (100%) rename {drivers => arch}/cpu/x86/Makefile.x86_common (100%) rename {drivers => arch}/cpu/x86/Makefile.x86_quarkX1000 (91%) rename {drivers => arch}/cpu/x86/bootstrap_quarkX1000.S (100%) rename {drivers => arch}/cpu/x86/dma.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/nmi.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/nmi.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/pci.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/pci.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/pic.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/pic.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/pit.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/pit.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/rtc.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/rtc.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/shared-isr.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/shared-isr.h (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/uart-16x50.c (100%) rename {drivers => arch}/cpu/x86/drivers/legacy_pc/uart-16x50.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/eth.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/eth.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/gpio.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/gpio.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/i2c-registers.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/i2c.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/i2c.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/imr-conf.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/imr-conf.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/imr.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/imr.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/msg-bus.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/msg-bus.h (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/uart.c (100%) rename {drivers => arch}/cpu/x86/drivers/quarkX1000/uart.h (100%) rename {drivers => arch}/cpu/x86/helpers.S (100%) rename {drivers => arch}/cpu/x86/helpers.h (100%) rename {drivers => arch}/cpu/x86/init/common/cpu.c (100%) rename {drivers => arch}/cpu/x86/init/common/cpu.h (100%) rename {drivers => arch}/cpu/x86/init/common/gdt.c (100%) rename {drivers => arch}/cpu/x86/init/common/gdt.h (100%) rename {drivers => arch}/cpu/x86/init/common/idt.c (100%) rename {drivers => arch}/cpu/x86/init/common/idt.h (100%) rename {drivers => arch}/cpu/x86/init/common/interrupt.h (100%) rename {drivers => arch}/cpu/x86/init/common/irq.h (100%) rename {drivers => arch}/cpu/x86/init/legacy_pc/irq.c (100%) rename {drivers => arch}/cpu/x86/mm/README.md (100%) rename {drivers => arch}/cpu/x86/mm/gdt-layout.h (100%) rename {drivers => arch}/cpu/x86/mm/ldt-layout.h (100%) rename {drivers => arch}/cpu/x86/mm/multi-segment.c (100%) rename {drivers => arch}/cpu/x86/mm/multi-segment.h (100%) rename {drivers => arch}/cpu/x86/mm/paging-prot-domains.c (100%) rename {drivers => arch}/cpu/x86/mm/paging-prot-domains.h (100%) rename {drivers => arch}/cpu/x86/mm/paging.h (100%) rename {drivers => arch}/cpu/x86/mm/prot-domains.c (100%) rename {drivers => arch}/cpu/x86/mm/prot-domains.h (100%) rename {drivers => arch}/cpu/x86/mm/segmentation.h (100%) rename {drivers => arch}/cpu/x86/mm/stacks.c (100%) rename {drivers => arch}/cpu/x86/mm/stacks.h (100%) rename {drivers => arch}/cpu/x86/mm/swseg-prot-domains.c (100%) rename {drivers => arch}/cpu/x86/mm/swseg-prot-domains.h (100%) rename {drivers => arch}/cpu/x86/mm/syscalls-int-asm.S (100%) rename {drivers => arch}/cpu/x86/mm/syscalls-int.c (100%) rename {drivers => arch}/cpu/x86/mm/syscalls-int.h (100%) rename {drivers => arch}/cpu/x86/mm/syscalls.h (100%) rename {drivers => arch}/cpu/x86/mm/tss-prot-domains-asm.S (100%) rename {drivers => arch}/cpu/x86/mm/tss-prot-domains.c (100%) rename {drivers => arch}/cpu/x86/mm/tss-prot-domains.h (100%) rename {drivers => arch}/cpu/x86/mm/tss.c (100%) rename {drivers => arch}/cpu/x86/mm/tss.h (100%) rename {drivers => arch}/cpu/x86/quarkX1000.ld (100%) rename {drivers => arch}/cpu/x86/quarkX1000_dma.ld (100%) rename {drivers => arch}/cpu/x86/quarkX1000_multi_seg.ld (100%) rename {drivers => arch}/cpu/x86/quarkX1000_paging.ld (100%) rename {drivers => arch}/cpu/x86/startup.h (100%) rename {drivers => arch}/cpu/x86/uefi/bootstrap_uefi.c (100%) rename {drivers => arch}/cpu/x86/uefi/build_uefi.sh (100%) rename {drivers => arch}/dev/bme280/README.bme280 (100%) rename {drivers => arch}/dev/bme280/bme280-arch.h (100%) rename {drivers => arch}/dev/bme280/bme280-sensor.c (100%) rename {drivers => arch}/dev/bme280/bme280-sensor.h (100%) rename {drivers => arch}/dev/bme280/bme280.c (100%) rename {drivers => arch}/dev/bme280/bme280.h (100%) rename {drivers => arch}/dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c (100%) rename {drivers => arch}/dev/cc1200/cc1200-868-fsk-1-2kbps.c (100%) rename {drivers => arch}/dev/cc1200/cc1200-arch.h (100%) rename {drivers => arch}/dev/cc1200/cc1200-conf.h (100%) rename {drivers => arch}/dev/cc1200/cc1200-const.h (100%) rename {drivers => arch}/dev/cc1200/cc1200-rf-cfg.h (100%) rename {drivers => arch}/dev/cc1200/cc1200.c (100%) rename {drivers => arch}/dev/cc2420/cc2420.c (100%) rename {drivers => arch}/dev/cc2420/cc2420.h (100%) rename {drivers => arch}/dev/cc2420/cc2420_const.h (100%) rename {drivers => arch}/dev/disk/disk.h (100%) rename {drivers => arch}/dev/disk/mmc/mmc-arch.h (100%) rename {drivers => arch}/dev/disk/mmc/mmc.c (100%) rename {drivers => arch}/dev/disk/mmc/mmc.h (100%) rename {drivers => arch}/dev/ds2411/ds2411.c (100%) rename {drivers => arch}/dev/ds2411/ds2411.h (100%) rename {drivers => arch}/dev/enc28j60/enc28j60-ip64-driver.c (100%) rename {drivers => arch}/dev/enc28j60/enc28j60-ip64-driver.h (100%) rename {drivers => arch}/dev/enc28j60/enc28j60.c (100%) rename {drivers => arch}/dev/enc28j60/enc28j60.h (100%) rename {drivers => arch}/dev/sht11/sht11-sensor.c (100%) rename {drivers => arch}/dev/sht11/sht11-sensor.h (100%) rename {drivers => arch}/dev/sht11/sht11.c (100%) rename {drivers => arch}/dev/sht11/sht11.h (100%) rename {drivers => arch}/platform/cc2538dk/Makefile.cc2538dk (96%) rename {drivers => arch}/platform/cc2538dk/README.md (100%) rename {drivers => arch}/platform/cc2538dk/contiki-conf.h (100%) rename {drivers => arch}/platform/cc2538dk/contiki-main.c (100%) rename {drivers => arch}/platform/cc2538dk/dev/als-sensor.c (100%) rename {drivers => arch}/platform/cc2538dk/dev/als-sensor.h (100%) rename {drivers => arch}/platform/cc2538dk/dev/board.h (100%) rename {drivers => arch}/platform/cc2538dk/dev/button-sensor.c (100%) rename {drivers => arch}/platform/cc2538dk/dev/button-sensor.h (100%) rename {drivers => arch}/platform/cc2538dk/dev/leds-arch.c (100%) rename {drivers => arch}/platform/cc2538dk/dev/smartrf-sensors.c (100%) rename {drivers => arch}/platform/cooja-ip64/Makefile.cooja-ip64 (88%) rename {drivers => arch}/platform/cooja-ip64/Makefile.customrules-cooja-ip64 (100%) rename {drivers => arch}/platform/cooja-ip64/contiki-cooja-ip64-main.c (100%) rename {drivers => arch}/platform/cooja-ip64/ip64-conf.h (100%) rename {drivers => arch}/platform/cooja-ip64/subplatform-conf.h (100%) rename {drivers => arch}/platform/cooja/Makefile.cooja (96%) rename {drivers => arch}/platform/cooja/Makefile.customrules-cooja (100%) rename {drivers => arch}/platform/cooja/cfs/cfs-cooja.c (100%) rename {drivers => arch}/platform/cooja/contiki-conf.h (100%) rename {drivers => arch}/platform/cooja/contiki-cooja-main.c (100%) rename {drivers => arch}/platform/cooja/dev/beep.c (100%) rename {drivers => arch}/platform/cooja/dev/beep.h (100%) rename {drivers => arch}/platform/cooja/dev/button-sensor.c (100%) rename {drivers => arch}/platform/cooja/dev/button-sensor.h (100%) rename {drivers => arch}/platform/cooja/dev/cooja-radio.c (100%) rename {drivers => arch}/platform/cooja/dev/cooja-radio.h (100%) rename {drivers => arch}/platform/cooja/dev/eeprom.c (100%) rename {drivers => arch}/platform/cooja/dev/ip.c (100%) rename {drivers => arch}/platform/cooja/dev/ip.h (100%) rename {drivers => arch}/platform/cooja/dev/leds-arch.c (100%) rename {drivers => arch}/platform/cooja/dev/moteid.c (100%) rename {drivers => arch}/platform/cooja/dev/moteid.h (100%) rename {drivers => arch}/platform/cooja/dev/pir-sensor.c (100%) rename {drivers => arch}/platform/cooja/dev/pir-sensor.h (100%) rename {drivers => arch}/platform/cooja/dev/rs232.c (100%) rename {drivers => arch}/platform/cooja/dev/rs232.h (100%) rename {drivers => arch}/platform/cooja/dev/uart1.h (100%) rename {drivers => arch}/platform/cooja/dev/vib-sensor.c (100%) rename {drivers => arch}/platform/cooja/dev/vib-sensor.h (100%) rename {drivers => arch}/platform/cooja/dev/watchdog.c (100%) rename {drivers => arch}/platform/cooja/lib/simEnvChange.c (100%) rename {drivers => arch}/platform/cooja/lib/simEnvChange.h (100%) rename {drivers => arch}/platform/cooja/mtarch.c (100%) rename {drivers => arch}/platform/cooja/mtarch.h (100%) rename {drivers => arch}/platform/cooja/net/init-net.h (100%) rename {drivers => arch}/platform/cooja/net/uip-driver.c (100%) rename {drivers => arch}/platform/cooja/net/uip-driver.h (100%) rename {drivers => arch}/platform/cooja/rtimer-arch.c (100%) rename {drivers => arch}/platform/cooja/rtimer-arch.h (100%) rename {drivers => arch}/platform/cooja/slip-arch.c (100%) rename {drivers => arch}/platform/cooja/sys/clock.c (100%) rename {drivers => arch}/platform/cooja/sys/cooja_mt.c (100%) rename {drivers => arch}/platform/cooja/sys/cooja_mt.h (100%) rename {drivers => arch}/platform/cooja/sys/cooja_mtarch.c (100%) rename {drivers => arch}/platform/cooja/sys/cooja_mtarch.h (100%) rename {drivers => arch}/platform/cooja/sys/log.c (100%) rename {drivers => arch}/platform/cooja/sys/node-id.h (100%) rename {drivers => arch}/platform/cooja/testapps/hello-world.c (100%) rename {drivers => arch}/platform/cooja/testapps/testbutton.c (100%) rename {drivers => arch}/platform/cooja/testapps/testcfs.c (100%) rename {drivers => arch}/platform/cooja/testapps/testctimer.c (100%) rename {drivers => arch}/platform/cooja/testapps/testetimer.c (100%) rename {drivers => arch}/platform/cooja/testapps/testsensors.c (100%) rename {drivers => arch}/platform/cooja/testapps/testserial.c (100%) rename {drivers => arch}/platform/cooja/testapps/testuip.c (100%) rename {drivers => arch}/platform/galileo/Makefile.customrules-galileo (96%) rename {drivers => arch}/platform/galileo/Makefile.galileo (88%) rename {drivers => arch}/platform/galileo/README.md (100%) rename {drivers => arch}/platform/galileo/bsp/docker/Dockerfile (100%) rename {drivers => arch}/platform/galileo/bsp/grub/build_grub.sh (100%) rename {drivers => arch}/platform/galileo/bsp/libc/build_newlib.sh (100%) rename {drivers => arch}/platform/galileo/bsp/libc/patches/large64_files.patch (100%) rename {drivers => arch}/platform/galileo/bsp/libc/patches/newlib_add_i586_elf.patch (100%) rename {drivers => arch}/platform/galileo/bsp/libc/patches/stdio_strengthen_syms.patch (100%) rename {drivers => arch}/platform/galileo/bsp/openocd-scripts/debug.cfg (100%) rename {drivers => arch}/platform/galileo/contiki-conf.h (100%) rename {drivers => arch}/platform/galileo/contiki-main.c (100%) rename {drivers => arch}/platform/galileo/core/sys/clock.c (100%) rename {drivers => arch}/platform/galileo/core/sys/mtarch.h (100%) rename {drivers => arch}/platform/galileo/core/sys/rtimer-arch.c (100%) rename {drivers => arch}/platform/galileo/core/sys/rtimer-arch.h (100%) rename {drivers => arch}/platform/galileo/drivers/cy8c9540a.c (100%) rename {drivers => arch}/platform/galileo/drivers/cy8c9540a.h (100%) rename {drivers => arch}/platform/galileo/drivers/galileo-gen1-pinmux.c (100%) rename {drivers => arch}/platform/galileo/drivers/galileo-gen2-pinmux.c (100%) rename {drivers => arch}/platform/galileo/drivers/galileo-gpio.c (100%) rename {drivers => arch}/platform/galileo/drivers/galileo-gpio.h (100%) rename {drivers => arch}/platform/galileo/drivers/galileo-pinmux.h (100%) rename {drivers => arch}/platform/galileo/drivers/gpio-pcal9535a.c (100%) rename {drivers => arch}/platform/galileo/drivers/gpio-pcal9535a.h (100%) rename {drivers => arch}/platform/galileo/drivers/pwm-pca9685.c (100%) rename {drivers => arch}/platform/galileo/drivers/pwm-pca9685.h (100%) rename {drivers => arch}/platform/galileo/net/eth-conf.c (100%) rename {drivers => arch}/platform/galileo/net/eth-conf.h (100%) rename {drivers => arch}/platform/galileo/newlib-syscalls.c (100%) rename {drivers => arch}/platform/jn516x/App_Stack_Size.ld (100%) rename {drivers => arch}/platform/jn516x/Makefile.jn516x (100%) rename {drivers => arch}/platform/jn516x/README.md (100%) rename {drivers => arch}/platform/jn516x/contiki-conf.h (100%) rename {drivers => arch}/platform/jn516x/contiki-jn516x-main.c (100%) rename {drivers => arch}/platform/jn516x/dev/clock.c (100%) rename {drivers => arch}/platform/jn516x/dev/dongle/README.md (100%) rename {drivers => arch}/platform/jn516x/dev/dongle/leds-arch.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1174/README.md (100%) rename {drivers => arch}/platform/jn516x/dev/dr1174/button-sensor.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1174/button-sensor.h (100%) rename {drivers => arch}/platform/jn516x/dev/dr1174/leds-arch.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/README.md (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/ht-sensor.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/ht-sensor.h (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/leds-arch-1175.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/leds-arch-1175.h (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/light-sensor.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1175/light-sensor.h (100%) rename {drivers => arch}/platform/jn516x/dev/dr1199/README.md (100%) rename {drivers => arch}/platform/jn516x/dev/dr1199/leds-arch-1199.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1199/leds-arch-1199.h (100%) rename {drivers => arch}/platform/jn516x/dev/dr1199/pot-sensor.c (100%) rename {drivers => arch}/platform/jn516x/dev/dr1199/pot-sensor.h (100%) rename {drivers => arch}/platform/jn516x/dev/exceptions.c (100%) rename {drivers => arch}/platform/jn516x/dev/exceptions.h (100%) rename {drivers => arch}/platform/jn516x/dev/jn516x-ccm-star.c (100%) rename {drivers => arch}/platform/jn516x/dev/leds-extension.c (100%) rename {drivers => arch}/platform/jn516x/dev/leds-extension.h (100%) rename {drivers => arch}/platform/jn516x/dev/micromac-radio.c (100%) rename {drivers => arch}/platform/jn516x/dev/micromac-radio.h (100%) rename {drivers => arch}/platform/jn516x/dev/mtarch.c (100%) rename {drivers => arch}/platform/jn516x/dev/mtarch.h (100%) rename {drivers => arch}/platform/jn516x/dev/node-id.c (100%) rename {drivers => arch}/platform/jn516x/dev/rtimer-arch-slow.c (100%) rename {drivers => arch}/platform/jn516x/dev/rtimer-arch.c (100%) rename {drivers => arch}/platform/jn516x/dev/rtimer-arch.h (100%) rename {drivers => arch}/platform/jn516x/dev/slip_uart0.c (100%) rename {drivers => arch}/platform/jn516x/dev/uart-driver.c (100%) rename {drivers => arch}/platform/jn516x/dev/uart-driver.h (100%) rename {drivers => arch}/platform/jn516x/dev/uart0.c (100%) rename {drivers => arch}/platform/jn516x/dev/uart0.h (100%) rename {drivers => arch}/platform/jn516x/dev/uart1.c (100%) rename {drivers => arch}/platform/jn516x/dev/uart1.h (100%) rename {drivers => arch}/platform/jn516x/dev/watchdog.c (100%) rename {drivers => arch}/platform/jn516x/lib/slip.c (100%) rename {drivers => arch}/platform/jn516x/lib/sprintf.c (100%) rename {drivers => arch}/platform/jn516x/platform-conf.h (100%) rename {drivers => arch}/platform/native/Makefile.native (92%) rename {drivers => arch}/platform/native/cfs-coffee-arch.h (100%) rename {drivers => arch}/platform/native/clock.c (100%) rename {drivers => arch}/platform/native/contiki-conf.h (100%) rename {drivers => arch}/platform/native/contiki-main.c (100%) rename {drivers => arch}/platform/native/dev/beep.c (100%) rename {drivers => arch}/platform/native/dev/beep.h (100%) rename {drivers => arch}/platform/native/dev/button-sensor.c (100%) rename {drivers => arch}/platform/native/dev/button-sensor.h (100%) rename {drivers => arch}/platform/native/dev/dummy-sensors.c (100%) rename {drivers => arch}/platform/native/dev/irq.c (100%) rename {drivers => arch}/platform/native/dev/leds-arch.c (100%) rename {drivers => arch}/platform/native/dev/pir-sensor.c (100%) rename {drivers => arch}/platform/native/dev/pir-sensor.h (100%) rename {drivers => arch}/platform/native/dev/temperature-sensor.h (100%) rename {drivers => arch}/platform/native/dev/vib-sensor.c (100%) rename {drivers => arch}/platform/native/dev/vib-sensor.h (100%) rename {drivers => arch}/platform/native/dev/xmem.c (100%) rename {drivers => arch}/platform/nrf52dk/Makefile.nrf52dk (85%) rename {drivers => arch}/platform/nrf52dk/README-BLE-6LoWPAN.md (100%) rename {drivers => arch}/platform/nrf52dk/README.md (100%) rename {drivers => arch}/platform/nrf52dk/config/nrf_drv_config.h (100%) rename {drivers => arch}/platform/nrf52dk/config/pstorage_platform.h (100%) rename {drivers => arch}/platform/nrf52dk/contiki-conf.h (100%) rename {drivers => arch}/platform/nrf52dk/contiki-main.c (100%) rename {drivers => arch}/platform/nrf52dk/dbg-io/dbg.c (100%) rename {drivers => arch}/platform/nrf52dk/dbg-io/dbg.h (100%) rename {drivers => arch}/platform/nrf52dk/dbg-io/debug-uart.h (100%) rename {drivers => arch}/platform/nrf52dk/dev/button-sensor.c (100%) rename {drivers => arch}/platform/nrf52dk/dev/button-sensor.h (100%) rename {drivers => arch}/platform/nrf52dk/dev/leds-arch.c (100%) rename {drivers => arch}/platform/nrf52dk/dev/nrf52dk-sensors.c (100%) rename {drivers => arch}/platform/nrf52dk/dev/temperature-sensor.c (100%) rename {drivers => arch}/platform/nrf52dk/dev/temperature-sensor.h (100%) rename {drivers => arch}/platform/nrf52dk/platform-conf.h (100%) rename {drivers => arch}/platform/nrf52dk/rtt/rtt-printf.c (100%) rename {drivers => arch}/platform/nrf52dk/rtt/segger-rtt-conf.h (100%) rename {drivers => arch}/platform/nrf52dk/rtt/segger-rtt-printf.c (100%) rename {drivers => arch}/platform/nrf52dk/rtt/segger-rtt.c (100%) rename {drivers => arch}/platform/nrf52dk/rtt/segger-rtt.h (100%) rename {drivers => arch}/platform/openmote-cc2538/Makefile.openmote-cc2538 (93%) rename {drivers => arch}/platform/openmote-cc2538/README.md (100%) rename {drivers => arch}/platform/openmote-cc2538/board.c (100%) rename {drivers => arch}/platform/openmote-cc2538/board.h (100%) rename {drivers => arch}/platform/openmote-cc2538/contiki-conf.h (100%) rename {drivers => arch}/platform/openmote-cc2538/contiki-main.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/adxl346.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/adxl346.h (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/antenna.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/antenna.h (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/button-sensor.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/button-sensor.h (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/leds-arch.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/max44009.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/max44009.h (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/openmote-sensors.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/openmote-sensors.h (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/sht21.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/sht21.h (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/tps62730.c (100%) rename {drivers => arch}/platform/openmote-cc2538/dev/tps62730.h (100%) rename {drivers => arch}/platform/sky/Makefile.common (99%) rename {drivers => arch}/platform/sky/Makefile.sky (71%) rename {drivers => arch}/platform/sky/apps/blink.c (100%) rename {drivers => arch}/platform/sky/apps/burn-nodeid.c (100%) rename {drivers => arch}/platform/sky/apps/fader.c (100%) rename {drivers => arch}/platform/sky/cfs-coffee-arch.h (100%) rename {drivers => arch}/platform/sky/contiki-conf.h (100%) rename {drivers => arch}/platform/sky/contiki-sky-main.c (100%) rename {drivers => arch}/platform/sky/contiki-sky-platform.c (100%) rename {drivers => arch}/platform/sky/dev/battery-sensor.c (100%) rename {drivers => arch}/platform/sky/dev/button-sensor.c (100%) rename {drivers => arch}/platform/sky/dev/i2c.c (100%) rename {drivers => arch}/platform/sky/dev/i2c.h (100%) rename {drivers => arch}/platform/sky/dev/light-sensor.c (100%) rename {drivers => arch}/platform/sky/dev/light-sensor.h (100%) rename {drivers => arch}/platform/sky/dev/radio-sensor.c (100%) rename {drivers => arch}/platform/sky/dev/sht11-arch.h (100%) rename {drivers => arch}/platform/sky/dev/sky-sensors.c (100%) rename {drivers => arch}/platform/sky/dev/sky-sensors.h (100%) rename {drivers => arch}/platform/sky/dev/temperature-sensor.c (100%) rename {drivers => arch}/platform/sky/dev/temperature-sensor.h (100%) rename {drivers => arch}/platform/sky/dev/xmem.c (100%) rename {drivers => arch}/platform/sky/doc/sky.txt (100%) rename {drivers => arch}/platform/sky/node-id.c (100%) rename {drivers => arch}/platform/sky/platform-conf.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/Makefile.srf06-cc26xx (90%) rename {drivers => arch}/platform/srf06-cc26xx/README.md (100%) rename {drivers => arch}/platform/srf06-cc26xx/common/board-spi.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/common/board-spi.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/common/ext-flash.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/common/ext-flash.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/contiki-conf.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/contiki-main.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/Makefile.launchpad (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/board-peripherals.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/board.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/button-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/button-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc1310/Makefile.cc1310 (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc1310/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc1350/Makefile.cc1350 (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc1350/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc1350/rf-switch.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc1350/tx-power-driver.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc2650/Makefile.cc2650 (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/cc2650/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/launchpad-sensors.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/launchpad/leds-arch.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/Makefile.sensortag (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/bmp-280-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/bmp-280-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/board-i2c.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/board-i2c.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/board-peripherals.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/board.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/button-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/button-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/buzzer.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/buzzer.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/cc1350/Makefile.cc1350 (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/cc1350/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/cc1350/leds-arch.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/cc2650/Makefile.cc2650 (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/cc2650/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/cc2650/leds-arch.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/opt-3001-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/opt-3001-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/reed-relay.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/reed-relay.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/sensor-common.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/sensor-common.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/sensortag-sensors.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/tmp-007-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/sensortag/tmp-007-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/Makefile.srf06 (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/als-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/als-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/board-peripherals.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/board.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/button-sensor.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/button-sensor.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/cc13xx/Makefile.cc13xx (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/cc13xx/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/cc26xx/Makefile.cc26xx (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/cc26xx/board.h (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/leds-arch.c (100%) rename {drivers => arch}/platform/srf06-cc26xx/srf06/srf06-sensors.c (100%) rename {drivers => arch}/platform/zoul/Makefile.zoul (96%) rename {drivers => arch}/platform/zoul/README.md (100%) rename {drivers => arch}/platform/zoul/contiki-conf.h (100%) rename {drivers => arch}/platform/zoul/contiki-main.c (100%) rename {drivers => arch}/platform/zoul/dev/ac-dimmer.c (100%) rename {drivers => arch}/platform/zoul/dev/ac-dimmer.h (100%) rename {drivers => arch}/platform/zoul/dev/adc-sensors.c (100%) rename {drivers => arch}/platform/zoul/dev/adc-sensors.h (100%) rename {drivers => arch}/platform/zoul/dev/adc-zoul.c (100%) rename {drivers => arch}/platform/zoul/dev/adc-zoul.h (100%) rename {drivers => arch}/platform/zoul/dev/antenna-sw.c (100%) rename {drivers => arch}/platform/zoul/dev/antenna-sw.h (100%) rename {drivers => arch}/platform/zoul/dev/bme280-arch.c (100%) rename {drivers => arch}/platform/zoul/dev/bmpx8x.c (100%) rename {drivers => arch}/platform/zoul/dev/bmpx8x.h (100%) rename {drivers => arch}/platform/zoul/dev/button-sensor.c (100%) rename {drivers => arch}/platform/zoul/dev/button-sensor.h (100%) rename {drivers => arch}/platform/zoul/dev/cc1200-zoul-arch.c (100%) rename {drivers => arch}/platform/zoul/dev/dht22.c (100%) rename {drivers => arch}/platform/zoul/dev/dht22.h (100%) rename {drivers => arch}/platform/zoul/dev/grove-gyro.c (100%) rename {drivers => arch}/platform/zoul/dev/grove-gyro.h (100%) rename {drivers => arch}/platform/zoul/dev/iaq.c (100%) rename {drivers => arch}/platform/zoul/dev/iaq.h (100%) rename {drivers => arch}/platform/zoul/dev/led-strip.c (100%) rename {drivers => arch}/platform/zoul/dev/led-strip.h (100%) rename {drivers => arch}/platform/zoul/dev/leds-arch.c (100%) rename {drivers => arch}/platform/zoul/dev/mmc-arch.c (100%) rename {drivers => arch}/platform/zoul/dev/motion-sensor.c (100%) rename {drivers => arch}/platform/zoul/dev/motion-sensor.h (100%) rename {drivers => arch}/platform/zoul/dev/mp3-wtv020sd.c (100%) rename {drivers => arch}/platform/zoul/dev/mp3-wtv020sd.h (100%) rename {drivers => arch}/platform/zoul/dev/pm10-sensor.c (100%) rename {drivers => arch}/platform/zoul/dev/pm10-sensor.h (100%) rename {drivers => arch}/platform/zoul/dev/relay.c (100%) rename {drivers => arch}/platform/zoul/dev/relay.h (100%) rename {drivers => arch}/platform/zoul/dev/rgb-bl-lcd.c (100%) rename {drivers => arch}/platform/zoul/dev/rgb-bl-lcd.h (100%) rename {drivers => arch}/platform/zoul/dev/rtcc-config.h (100%) rename {drivers => arch}/platform/zoul/dev/rtcc.c (100%) rename {drivers => arch}/platform/zoul/dev/rtcc.h (100%) rename {drivers => arch}/platform/zoul/dev/servo.c (100%) rename {drivers => arch}/platform/zoul/dev/servo.h (100%) rename {drivers => arch}/platform/zoul/dev/sht25.c (100%) rename {drivers => arch}/platform/zoul/dev/sht25.h (100%) rename {drivers => arch}/platform/zoul/dev/tmp102.c (100%) rename {drivers => arch}/platform/zoul/dev/tmp102.h (100%) rename {drivers => arch}/platform/zoul/dev/tsl256x.c (100%) rename {drivers => arch}/platform/zoul/dev/tsl256x.h (100%) rename {drivers => arch}/platform/zoul/dev/weather-meter.c (100%) rename {drivers => arch}/platform/zoul/dev/weather-meter.h (100%) rename {drivers => arch}/platform/zoul/dev/zonik.c (100%) rename {drivers => arch}/platform/zoul/dev/zonik.h (100%) rename {drivers => arch}/platform/zoul/dev/zoul-sensors.c (100%) rename {drivers => arch}/platform/zoul/dev/zoul-sensors.h (100%) rename {drivers => arch}/platform/zoul/firefly-reva/Makefile.firefly-reva (100%) rename {drivers => arch}/platform/zoul/firefly-reva/README.md (100%) rename {drivers => arch}/platform/zoul/firefly-reva/board.c (100%) rename {drivers => arch}/platform/zoul/firefly-reva/board.h (100%) rename {drivers => arch}/platform/zoul/firefly/Makefile.firefly (100%) rename {drivers => arch}/platform/zoul/firefly/README.md (100%) rename {drivers => arch}/platform/zoul/firefly/board.c (100%) rename {drivers => arch}/platform/zoul/firefly/board.h (100%) rename {drivers => arch}/platform/zoul/fs/fat/diskio.c (100%) rename {drivers => arch}/platform/zoul/fs/fat/ffconf.h (100%) rename {drivers => arch}/platform/zoul/images/firefly-reva.jpg (100%) rename {drivers => arch}/platform/zoul/orion/Makefile.orion (86%) rename {drivers => arch}/platform/zoul/orion/README.md (100%) rename {drivers => arch}/platform/zoul/orion/board.c (100%) rename {drivers => arch}/platform/zoul/orion/board.h (100%) rename {drivers => arch}/platform/zoul/orion/enc28j60-arch-gpio.c (100%) rename {drivers => arch}/platform/zoul/orion/enc28j60-arch-spi.c (100%) rename {drivers => arch}/platform/zoul/orion/ip64-conf.h (100%) rename {drivers => arch}/platform/zoul/remote-reva/Makefile.remote-reva (53%) rename {drivers => arch}/platform/zoul/remote-reva/README.md (100%) rename {drivers => arch}/platform/zoul/remote-reva/board.c (100%) rename {drivers => arch}/platform/zoul/remote-reva/board.h (100%) rename {drivers => arch}/platform/zoul/remote-reva/power-mgmt.c (100%) rename {drivers => arch}/platform/zoul/remote-reva/power-mgmt.h (100%) rename {drivers => arch}/platform/zoul/remote-revb/Makefile.remote-revb (53%) rename {drivers => arch}/platform/zoul/remote-revb/README.md (100%) rename {drivers => arch}/platform/zoul/remote-revb/board.c (100%) rename {drivers => arch}/platform/zoul/remote-revb/board.h (100%) rename {drivers => arch}/platform/zoul/remote-revb/leds-res-arch.c (100%) rename {drivers => arch}/platform/zoul/remote-revb/power-mgmt.c (100%) rename {drivers => arch}/platform/zoul/remote-revb/power-mgmt.h (100%) rename {drivers => arch}/platform/zoul/zolertia-zoul-cdc-acm.inf (100%) diff --git a/.gitmodules b/.gitmodules index b35332066..7d9ef13b4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -4,11 +4,11 @@ [submodule "tools/cc2538-bsl"] path = tools/cc2538-bsl url = https://github.com/JelmerT/cc2538-bsl.git -[submodule "drivers/cpu/cc26xx-cc13xx/lib/cc26xxware"] - path = drivers/cpu/cc26xx-cc13xx/lib/cc26xxware +[submodule "arch/cpu/cc26xx-cc13xx/lib/cc26xxware"] + path = arch/cpu/cc26xx-cc13xx/lib/cc26xxware url = https://github.com/contiki-os/cc26xxware.git -[submodule "drivers/cpu/cc26xx-cc13xx/lib/cc13xxware"] - path = drivers/cpu/cc26xx-cc13xx/lib/cc13xxware +[submodule "arch/cpu/cc26xx-cc13xx/lib/cc13xxware"] + path = arch/cpu/cc26xx-cc13xx/lib/cc13xxware url = https://github.com/contiki-os/cc13xxware.git [submodule "tools/sensniff"] path = tools/sensniff diff --git a/Makefile.include b/Makefile.include index ffeee925b..a85ff2632 100644 --- a/Makefile.include +++ b/Makefile.include @@ -46,7 +46,7 @@ usage: @echo "make MAKETARGETS... [TARGET=(TARGET)] [savetarget] [targets]" targets: - @ls -1 $(CONTIKI)/drivers/platform $(TARGETDIRS) | grep -v CVS + @ls -1 $(CONTIKI)/arch/platform $(TARGETDIRS) | grep -v CVS savetarget: -@rm -f Makefile.target @@ -115,7 +115,7 @@ uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1))) ifdef APPS APPDS = ${wildcard ${foreach DIR, $(APPDIRS), ${addprefix $(DIR)/, $(APPS)}}} \ ${wildcard ${addprefix $(CONTIKI)/apps/, $(APPS)} \ - ${addprefix $(CONTIKI)/drivers/platform/$(TARGET)/apps/, $(APPS)} \ + ${addprefix $(CONTIKI)/arch/platform/$(TARGET)/apps/, $(APPS)} \ $(APPS)} APPINCLUDES = ${foreach APP, $(APPS), ${wildcard ${foreach DIR, $(APPDS), $(DIR)/Makefile.$(APP)}}} -include $(APPINCLUDES) @@ -125,7 +125,7 @@ endif ### Include target makefile (TODO Unsafe?) -target_makefile := $(wildcard $(CONTIKI)/drivers/platform/$(TARGET)/Makefile.$(TARGET) ${foreach TDIR, $(TARGETDIRS), $(TDIR)/$(TARGET)/Makefile.$(TARGET)}) +target_makefile := $(wildcard $(CONTIKI)/arch/platform/$(TARGET)/Makefile.$(TARGET) ${foreach TDIR, $(TARGETDIRS), $(TDIR)/$(TARGET)/Makefile.$(TARGET)}) # Check if the target makefile exists, and create the object directory if necessary. ifeq ($(strip $(target_makefile)),) @@ -172,9 +172,9 @@ CONTIKI_TARGET_DIRS_CONCAT = ${addprefix ${dir $(target_makefile)}, \ $(CONTIKI_TARGET_DIRS)} CONTIKI_CPU_DIRS_CONCAT = ${addprefix $(CONTIKI_CPU)/, \ $(CONTIKI_CPU_DIRS)} -CONTIKI_DRIVERS_DIRS = ${addprefix $(CONTIKI)/, drivers} +CONTIKI_ARCH_DIRS = ${addprefix $(CONTIKI)/, arch} -SOURCEDIRS = . $(PROJECTDIRS) $(CONTIKI_TARGET_DIRS_CONCAT) $(CONTIKI_DRIVERS_DIRS) \ +SOURCEDIRS = . $(PROJECTDIRS) $(CONTIKI_TARGET_DIRS_CONCAT) $(CONTIKI_ARCH_DIRS) \ $(CONTIKI_CPU_DIRS_CONCAT) $(CONTIKIDIRS) $(APPDS) $(EXTERNALDIRS) ${dir $(target_makefile)} vpath %.c $(SOURCEDIRS) @@ -221,7 +221,7 @@ clean: distclean: clean -rm -f ${addsuffix .$(TARGET),$(CONTIKI_PROJECT)} --include $(CONTIKI)/drivers/platform/$(TARGET)/Makefile.customrules-$(TARGET) +-include $(CONTIKI)/arch/platform/$(TARGET)/Makefile.customrules-$(TARGET) ifndef CUSTOM_RULE_C_TO_CE %.ce: %.c diff --git a/drivers/cpu/arm/arm.txt b/arch/cpu/arm/arm.txt similarity index 100% rename from drivers/cpu/arm/arm.txt rename to arch/cpu/arm/arm.txt diff --git a/drivers/cpu/arm/common/CMSIS/cmsis_armcc.h b/arch/cpu/arm/common/CMSIS/cmsis_armcc.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/cmsis_armcc.h rename to arch/cpu/arm/common/CMSIS/cmsis_armcc.h diff --git a/drivers/cpu/arm/common/CMSIS/cmsis_armcc_V6.h b/arch/cpu/arm/common/CMSIS/cmsis_armcc_V6.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/cmsis_armcc_V6.h rename to arch/cpu/arm/common/CMSIS/cmsis_armcc_V6.h diff --git a/drivers/cpu/arm/common/CMSIS/cmsis_gcc.h b/arch/cpu/arm/common/CMSIS/cmsis_gcc.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/cmsis_gcc.h rename to arch/cpu/arm/common/CMSIS/cmsis_gcc.h diff --git a/drivers/cpu/arm/common/CMSIS/core.txt b/arch/cpu/arm/common/CMSIS/core.txt similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core.txt rename to arch/cpu/arm/common/CMSIS/core.txt diff --git a/drivers/cpu/arm/common/CMSIS/core_cm0.h b/arch/cpu/arm/common/CMSIS/core_cm0.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cm0.h rename to arch/cpu/arm/common/CMSIS/core_cm0.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cm0plus.h b/arch/cpu/arm/common/CMSIS/core_cm0plus.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cm0plus.h rename to arch/cpu/arm/common/CMSIS/core_cm0plus.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cm3.h b/arch/cpu/arm/common/CMSIS/core_cm3.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cm3.h rename to arch/cpu/arm/common/CMSIS/core_cm3.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cm4.h b/arch/cpu/arm/common/CMSIS/core_cm4.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cm4.h rename to arch/cpu/arm/common/CMSIS/core_cm4.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cm7.h b/arch/cpu/arm/common/CMSIS/core_cm7.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cm7.h rename to arch/cpu/arm/common/CMSIS/core_cm7.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cmFunc.h b/arch/cpu/arm/common/CMSIS/core_cmFunc.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cmFunc.h rename to arch/cpu/arm/common/CMSIS/core_cmFunc.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cmInstr.h b/arch/cpu/arm/common/CMSIS/core_cmInstr.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cmInstr.h rename to arch/cpu/arm/common/CMSIS/core_cmInstr.h diff --git a/drivers/cpu/arm/common/CMSIS/core_cmSimd.h b/arch/cpu/arm/common/CMSIS/core_cmSimd.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_cmSimd.h rename to arch/cpu/arm/common/CMSIS/core_cmSimd.h diff --git a/drivers/cpu/arm/common/CMSIS/core_sc000.h b/arch/cpu/arm/common/CMSIS/core_sc000.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_sc000.h rename to arch/cpu/arm/common/CMSIS/core_sc000.h diff --git a/drivers/cpu/arm/common/CMSIS/core_sc300.h b/arch/cpu/arm/common/CMSIS/core_sc300.h similarity index 100% rename from drivers/cpu/arm/common/CMSIS/core_sc300.h rename to arch/cpu/arm/common/CMSIS/core_sc300.h diff --git a/drivers/cpu/arm/common/SD-card/Makefile.sdcard b/arch/cpu/arm/common/SD-card/Makefile.sdcard similarity index 100% rename from drivers/cpu/arm/common/SD-card/Makefile.sdcard rename to arch/cpu/arm/common/SD-card/Makefile.sdcard diff --git a/drivers/cpu/arm/common/SD-card/cfs-sdcard.c b/arch/cpu/arm/common/SD-card/cfs-sdcard.c similarity index 100% rename from drivers/cpu/arm/common/SD-card/cfs-sdcard.c rename to arch/cpu/arm/common/SD-card/cfs-sdcard.c diff --git a/drivers/cpu/arm/common/SD-card/config.h b/arch/cpu/arm/common/SD-card/config.h similarity index 100% rename from drivers/cpu/arm/common/SD-card/config.h rename to arch/cpu/arm/common/SD-card/config.h diff --git a/drivers/cpu/arm/common/SD-card/efs-sdcard.h b/arch/cpu/arm/common/SD-card/efs-sdcard.h similarity index 100% rename from drivers/cpu/arm/common/SD-card/efs-sdcard.h rename to arch/cpu/arm/common/SD-card/efs-sdcard.h diff --git a/drivers/cpu/arm/common/SD-card/efsl_spi.h b/arch/cpu/arm/common/SD-card/efsl_spi.h similarity index 100% rename from drivers/cpu/arm/common/SD-card/efsl_spi.h rename to arch/cpu/arm/common/SD-card/efsl_spi.h diff --git a/drivers/cpu/arm/common/SD-card/sdcard.h b/arch/cpu/arm/common/SD-card/sdcard.h similarity index 100% rename from drivers/cpu/arm/common/SD-card/sdcard.h rename to arch/cpu/arm/common/SD-card/sdcard.h diff --git a/drivers/cpu/arm/common/dbg-io/dbg-printf.c b/arch/cpu/arm/common/dbg-io/dbg-printf.c similarity index 100% rename from drivers/cpu/arm/common/dbg-io/dbg-printf.c rename to arch/cpu/arm/common/dbg-io/dbg-printf.c diff --git a/drivers/cpu/arm/common/dbg-io/dbg-putchar.c b/arch/cpu/arm/common/dbg-io/dbg-putchar.c similarity index 100% rename from drivers/cpu/arm/common/dbg-io/dbg-putchar.c rename to arch/cpu/arm/common/dbg-io/dbg-putchar.c diff --git a/drivers/cpu/arm/common/dbg-io/dbg-puts.c b/arch/cpu/arm/common/dbg-io/dbg-puts.c similarity index 100% rename from drivers/cpu/arm/common/dbg-io/dbg-puts.c rename to arch/cpu/arm/common/dbg-io/dbg-puts.c diff --git a/drivers/cpu/arm/common/dbg-io/dbg-snprintf.c b/arch/cpu/arm/common/dbg-io/dbg-snprintf.c similarity index 100% rename from drivers/cpu/arm/common/dbg-io/dbg-snprintf.c rename to arch/cpu/arm/common/dbg-io/dbg-snprintf.c diff --git a/drivers/cpu/arm/common/dbg-io/dbg-sprintf.c b/arch/cpu/arm/common/dbg-io/dbg-sprintf.c similarity index 100% rename from drivers/cpu/arm/common/dbg-io/dbg-sprintf.c rename to arch/cpu/arm/common/dbg-io/dbg-sprintf.c diff --git a/drivers/cpu/arm/common/dbg-io/strformat.c b/arch/cpu/arm/common/dbg-io/strformat.c similarity index 100% rename from drivers/cpu/arm/common/dbg-io/strformat.c rename to arch/cpu/arm/common/dbg-io/strformat.c diff --git a/drivers/cpu/arm/common/dbg-io/strformat.h b/arch/cpu/arm/common/dbg-io/strformat.h similarity index 100% rename from drivers/cpu/arm/common/dbg-io/strformat.h rename to arch/cpu/arm/common/dbg-io/strformat.h diff --git a/drivers/cpu/arm/common/sys/mtarch.c b/arch/cpu/arm/common/sys/mtarch.c similarity index 100% rename from drivers/cpu/arm/common/sys/mtarch.c rename to arch/cpu/arm/common/sys/mtarch.c diff --git a/drivers/cpu/arm/common/sys/mtarch.h b/arch/cpu/arm/common/sys/mtarch.h similarity index 100% rename from drivers/cpu/arm/common/sys/mtarch.h rename to arch/cpu/arm/common/sys/mtarch.h diff --git a/drivers/cpu/arm/common/usb/Makefile.usb b/arch/cpu/arm/common/usb/Makefile.usb similarity index 100% rename from drivers/cpu/arm/common/usb/Makefile.usb rename to arch/cpu/arm/common/usb/Makefile.usb diff --git a/drivers/cpu/arm/common/usb/cdc-acm/cdc-acm-descriptors.c b/arch/cpu/arm/common/usb/cdc-acm/cdc-acm-descriptors.c similarity index 100% rename from drivers/cpu/arm/common/usb/cdc-acm/cdc-acm-descriptors.c rename to arch/cpu/arm/common/usb/cdc-acm/cdc-acm-descriptors.c diff --git a/drivers/cpu/arm/common/usb/cdc-acm/cdc-acm-string-descriptors.xml b/arch/cpu/arm/common/usb/cdc-acm/cdc-acm-string-descriptors.xml similarity index 100% rename from drivers/cpu/arm/common/usb/cdc-acm/cdc-acm-string-descriptors.xml rename to arch/cpu/arm/common/usb/cdc-acm/cdc-acm-string-descriptors.xml diff --git a/drivers/cpu/arm/common/usb/cdc-acm/cdc-acm.c b/arch/cpu/arm/common/usb/cdc-acm/cdc-acm.c similarity index 100% rename from drivers/cpu/arm/common/usb/cdc-acm/cdc-acm.c rename to arch/cpu/arm/common/usb/cdc-acm/cdc-acm.c diff --git a/drivers/cpu/arm/common/usb/cdc-acm/cdc-acm.h b/arch/cpu/arm/common/usb/cdc-acm/cdc-acm.h similarity index 100% rename from drivers/cpu/arm/common/usb/cdc-acm/cdc-acm.h rename to arch/cpu/arm/common/usb/cdc-acm/cdc-acm.h diff --git a/drivers/cpu/arm/common/usb/cdc-acm/cdc.h b/arch/cpu/arm/common/usb/cdc-acm/cdc.h similarity index 100% rename from drivers/cpu/arm/common/usb/cdc-acm/cdc.h rename to arch/cpu/arm/common/usb/cdc-acm/cdc.h diff --git a/drivers/cpu/arm/common/usb/descriptors.h b/arch/cpu/arm/common/usb/descriptors.h similarity index 100% rename from drivers/cpu/arm/common/usb/descriptors.h rename to arch/cpu/arm/common/usb/descriptors.h diff --git a/drivers/cpu/arm/common/usb/msc/msc-descriptors.c b/arch/cpu/arm/common/usb/msc/msc-descriptors.c similarity index 100% rename from drivers/cpu/arm/common/usb/msc/msc-descriptors.c rename to arch/cpu/arm/common/usb/msc/msc-descriptors.c diff --git a/drivers/cpu/arm/common/usb/msc/msc-string-descriptors.xml b/arch/cpu/arm/common/usb/msc/msc-string-descriptors.xml similarity index 100% rename from drivers/cpu/arm/common/usb/msc/msc-string-descriptors.xml rename to arch/cpu/arm/common/usb/msc/msc-string-descriptors.xml diff --git a/drivers/cpu/arm/common/usb/msc/rbc_const.h b/arch/cpu/arm/common/usb/msc/rbc_const.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/rbc_const.h rename to arch/cpu/arm/common/usb/msc/rbc_const.h diff --git a/drivers/cpu/arm/common/usb/msc/rbc_struct.h b/arch/cpu/arm/common/usb/msc/rbc_struct.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/rbc_struct.h rename to arch/cpu/arm/common/usb/msc/rbc_struct.h diff --git a/drivers/cpu/arm/common/usb/msc/scsi_command.h b/arch/cpu/arm/common/usb/msc/scsi_command.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/scsi_command.h rename to arch/cpu/arm/common/usb/msc/scsi_command.h diff --git a/drivers/cpu/arm/common/usb/msc/scsi_sense.h b/arch/cpu/arm/common/usb/msc/scsi_sense.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/scsi_sense.h rename to arch/cpu/arm/common/usb/msc/scsi_sense.h diff --git a/drivers/cpu/arm/common/usb/msc/scsi_struct.h b/arch/cpu/arm/common/usb/msc/scsi_struct.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/scsi_struct.h rename to arch/cpu/arm/common/usb/msc/scsi_struct.h diff --git a/drivers/cpu/arm/common/usb/msc/spc2_const.h b/arch/cpu/arm/common/usb/msc/spc2_const.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/spc2_const.h rename to arch/cpu/arm/common/usb/msc/spc2_const.h diff --git a/drivers/cpu/arm/common/usb/msc/spc2_struct.h b/arch/cpu/arm/common/usb/msc/spc2_struct.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/spc2_struct.h rename to arch/cpu/arm/common/usb/msc/spc2_struct.h diff --git a/drivers/cpu/arm/common/usb/msc/usb-msc-bulk.c b/arch/cpu/arm/common/usb/msc/usb-msc-bulk.c similarity index 100% rename from drivers/cpu/arm/common/usb/msc/usb-msc-bulk.c rename to arch/cpu/arm/common/usb/msc/usb-msc-bulk.c diff --git a/drivers/cpu/arm/common/usb/msc/usb-msc-bulk.h b/arch/cpu/arm/common/usb/msc/usb-msc-bulk.h similarity index 100% rename from drivers/cpu/arm/common/usb/msc/usb-msc-bulk.h rename to arch/cpu/arm/common/usb/msc/usb-msc-bulk.h diff --git a/drivers/cpu/arm/common/usb/msc/usb-rbc.c b/arch/cpu/arm/common/usb/msc/usb-rbc.c similarity index 100% rename from drivers/cpu/arm/common/usb/msc/usb-rbc.c rename to arch/cpu/arm/common/usb/msc/usb-rbc.c diff --git a/drivers/cpu/arm/common/usb/string-descriptors.dtd b/arch/cpu/arm/common/usb/string-descriptors.dtd similarity index 100% rename from drivers/cpu/arm/common/usb/string-descriptors.dtd rename to arch/cpu/arm/common/usb/string-descriptors.dtd diff --git a/drivers/cpu/arm/common/usb/string-descriptors.h b/arch/cpu/arm/common/usb/string-descriptors.h similarity index 100% rename from drivers/cpu/arm/common/usb/string-descriptors.h rename to arch/cpu/arm/common/usb/string-descriptors.h diff --git a/drivers/cpu/arm/common/usb/string-descriptors.xslt b/arch/cpu/arm/common/usb/string-descriptors.xslt similarity index 100% rename from drivers/cpu/arm/common/usb/string-descriptors.xslt rename to arch/cpu/arm/common/usb/string-descriptors.xslt diff --git a/drivers/cpu/arm/common/usb/usb-api.h b/arch/cpu/arm/common/usb/usb-api.h similarity index 100% rename from drivers/cpu/arm/common/usb/usb-api.h rename to arch/cpu/arm/common/usb/usb-api.h diff --git a/drivers/cpu/arm/common/usb/usb-arch.h b/arch/cpu/arm/common/usb/usb-arch.h similarity index 100% rename from drivers/cpu/arm/common/usb/usb-arch.h rename to arch/cpu/arm/common/usb/usb-arch.h diff --git a/drivers/cpu/arm/common/usb/usb-core.c b/arch/cpu/arm/common/usb/usb-core.c similarity index 100% rename from drivers/cpu/arm/common/usb/usb-core.c rename to arch/cpu/arm/common/usb/usb-core.c diff --git a/drivers/cpu/arm/common/usb/usb-core.h b/arch/cpu/arm/common/usb/usb-core.h similarity index 100% rename from drivers/cpu/arm/common/usb/usb-core.h rename to arch/cpu/arm/common/usb/usb-core.h diff --git a/drivers/cpu/arm/common/usb/usb.h b/arch/cpu/arm/common/usb/usb.h similarity index 100% rename from drivers/cpu/arm/common/usb/usb.h rename to arch/cpu/arm/common/usb/usb.h diff --git a/drivers/cpu/arm/openocd/arm7_wig.cfg b/arch/cpu/arm/openocd/arm7_wig.cfg similarity index 100% rename from drivers/cpu/arm/openocd/arm7_wig.cfg rename to arch/cpu/arm/openocd/arm7_wig.cfg diff --git a/drivers/cpu/arm/openocd/target/stm32F10xxx.cfg b/arch/cpu/arm/openocd/target/stm32F10xxx.cfg similarity index 100% rename from drivers/cpu/arm/openocd/target/stm32F10xxx.cfg rename to arch/cpu/arm/openocd/target/stm32F10xxx.cfg diff --git a/drivers/cpu/cc2538/Makefile.cc2538 b/arch/cpu/cc2538/Makefile.cc2538 similarity index 96% rename from drivers/cpu/cc2538/Makefile.cc2538 rename to arch/cpu/cc2538/Makefile.cc2538 index 00c346a5e..52624a4b9 100644 --- a/drivers/cpu/cc2538/Makefile.cc2538 +++ b/arch/cpu/cc2538/Makefile.cc2538 @@ -45,10 +45,10 @@ CLEAN += *.d *.elf *.hex ### CPU-dependent directories CONTIKI_CPU_DIRS = ../arm/common/CMSIS . dev usb -### Use the existing debug I/O in drivers/cpu/arm/common +### Use the existing debug I/O in arch/cpu/arm/common CONTIKI_CPU_DIRS += ../arm/common/dbg-io -### Use usb core from drivers/cpu/cc253x/usb/common +### Use usb core from arch/cpu/cc253x/usb/common CONTIKI_CPU_DIRS += ../cc253x/usb/common ../cc253x/usb/common/cdc-acm ### CPU-dependent source files @@ -80,7 +80,7 @@ CPU_STARTFILES = ${addprefix $(OBJECTDIR)/,${call oname, $(CPU_START_SOURCEFILES CONTIKI_SOURCEFILES += $(CONTIKI_CPU_SOURCEFILES) $(DEBUG_IO_SOURCEFILES) CONTIKI_SOURCEFILES += $(USB_CORE_SOURCEFILES) $(USB_ARCH_SOURCEFILES) -MODULES += lib/newlib drivers/cpu/arm/common/sys +MODULES += lib/newlib arch/cpu/arm/common/sys .SECONDEXPANSION: diff --git a/drivers/cpu/cc2538/cc2538.lds b/arch/cpu/cc2538/cc2538.lds similarity index 100% rename from drivers/cpu/cc2538/cc2538.lds rename to arch/cpu/cc2538/cc2538.lds diff --git a/drivers/cpu/cc2538/cc2538_cm3.h b/arch/cpu/cc2538/cc2538_cm3.h similarity index 100% rename from drivers/cpu/cc2538/cc2538_cm3.h rename to arch/cpu/cc2538/cc2538_cm3.h diff --git a/drivers/cpu/cc2538/cfs-coffee-arch.c b/arch/cpu/cc2538/cfs-coffee-arch.c similarity index 100% rename from drivers/cpu/cc2538/cfs-coffee-arch.c rename to arch/cpu/cc2538/cfs-coffee-arch.c diff --git a/drivers/cpu/cc2538/cfs-coffee-arch.h b/arch/cpu/cc2538/cfs-coffee-arch.h similarity index 100% rename from drivers/cpu/cc2538/cfs-coffee-arch.h rename to arch/cpu/cc2538/cfs-coffee-arch.h diff --git a/drivers/cpu/cc2538/clock.c b/arch/cpu/cc2538/clock.c similarity index 100% rename from drivers/cpu/cc2538/clock.c rename to arch/cpu/cc2538/clock.c diff --git a/drivers/cpu/cc2538/cpu.h b/arch/cpu/cc2538/cpu.h similarity index 100% rename from drivers/cpu/cc2538/cpu.h rename to arch/cpu/cc2538/cpu.h diff --git a/drivers/cpu/cc2538/dbg.c b/arch/cpu/cc2538/dbg.c similarity index 100% rename from drivers/cpu/cc2538/dbg.c rename to arch/cpu/cc2538/dbg.c diff --git a/drivers/cpu/cc2538/dbg.h b/arch/cpu/cc2538/dbg.h similarity index 100% rename from drivers/cpu/cc2538/dbg.h rename to arch/cpu/cc2538/dbg.h diff --git a/drivers/cpu/cc2538/debug-uart.h b/arch/cpu/cc2538/debug-uart.h similarity index 100% rename from drivers/cpu/cc2538/debug-uart.h rename to arch/cpu/cc2538/debug-uart.h diff --git a/drivers/cpu/cc2538/dev/adc.c b/arch/cpu/cc2538/dev/adc.c similarity index 100% rename from drivers/cpu/cc2538/dev/adc.c rename to arch/cpu/cc2538/dev/adc.c diff --git a/drivers/cpu/cc2538/dev/adc.h b/arch/cpu/cc2538/dev/adc.h similarity index 100% rename from drivers/cpu/cc2538/dev/adc.h rename to arch/cpu/cc2538/dev/adc.h diff --git a/drivers/cpu/cc2538/dev/aes.c b/arch/cpu/cc2538/dev/aes.c similarity index 100% rename from drivers/cpu/cc2538/dev/aes.c rename to arch/cpu/cc2538/dev/aes.c diff --git a/drivers/cpu/cc2538/dev/aes.h b/arch/cpu/cc2538/dev/aes.h similarity index 100% rename from drivers/cpu/cc2538/dev/aes.h rename to arch/cpu/cc2538/dev/aes.h diff --git a/drivers/cpu/cc2538/dev/ana-regs.h b/arch/cpu/cc2538/dev/ana-regs.h similarity index 100% rename from drivers/cpu/cc2538/dev/ana-regs.h rename to arch/cpu/cc2538/dev/ana-regs.h diff --git a/drivers/cpu/cc2538/dev/bignum-driver.c b/arch/cpu/cc2538/dev/bignum-driver.c similarity index 100% rename from drivers/cpu/cc2538/dev/bignum-driver.c rename to arch/cpu/cc2538/dev/bignum-driver.c diff --git a/drivers/cpu/cc2538/dev/bignum-driver.h b/arch/cpu/cc2538/dev/bignum-driver.h similarity index 100% rename from drivers/cpu/cc2538/dev/bignum-driver.h rename to arch/cpu/cc2538/dev/bignum-driver.h diff --git a/drivers/cpu/cc2538/dev/cbc-mac.c b/arch/cpu/cc2538/dev/cbc-mac.c similarity index 100% rename from drivers/cpu/cc2538/dev/cbc-mac.c rename to arch/cpu/cc2538/dev/cbc-mac.c diff --git a/drivers/cpu/cc2538/dev/cbc-mac.h b/arch/cpu/cc2538/dev/cbc-mac.h similarity index 100% rename from drivers/cpu/cc2538/dev/cbc-mac.h rename to arch/cpu/cc2538/dev/cbc-mac.h diff --git a/drivers/cpu/cc2538/dev/cbc.c b/arch/cpu/cc2538/dev/cbc.c similarity index 100% rename from drivers/cpu/cc2538/dev/cbc.c rename to arch/cpu/cc2538/dev/cbc.c diff --git a/drivers/cpu/cc2538/dev/cbc.h b/arch/cpu/cc2538/dev/cbc.h similarity index 100% rename from drivers/cpu/cc2538/dev/cbc.h rename to arch/cpu/cc2538/dev/cbc.h diff --git a/drivers/cpu/cc2538/dev/cc2538-aes-128.c b/arch/cpu/cc2538/dev/cc2538-aes-128.c similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-aes-128.c rename to arch/cpu/cc2538/dev/cc2538-aes-128.c diff --git a/drivers/cpu/cc2538/dev/cc2538-aes-128.h b/arch/cpu/cc2538/dev/cc2538-aes-128.h similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-aes-128.h rename to arch/cpu/cc2538/dev/cc2538-aes-128.h diff --git a/drivers/cpu/cc2538/dev/cc2538-ccm-star.c b/arch/cpu/cc2538/dev/cc2538-ccm-star.c similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-ccm-star.c rename to arch/cpu/cc2538/dev/cc2538-ccm-star.c diff --git a/drivers/cpu/cc2538/dev/cc2538-ccm-star.h b/arch/cpu/cc2538/dev/cc2538-ccm-star.h similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-ccm-star.h rename to arch/cpu/cc2538/dev/cc2538-ccm-star.h diff --git a/drivers/cpu/cc2538/dev/cc2538-dev.h b/arch/cpu/cc2538/dev/cc2538-dev.h similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-dev.h rename to arch/cpu/cc2538/dev/cc2538-dev.h diff --git a/drivers/cpu/cc2538/dev/cc2538-rf.c b/arch/cpu/cc2538/dev/cc2538-rf.c similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-rf.c rename to arch/cpu/cc2538/dev/cc2538-rf.c diff --git a/drivers/cpu/cc2538/dev/cc2538-rf.h b/arch/cpu/cc2538/dev/cc2538-rf.h similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-rf.h rename to arch/cpu/cc2538/dev/cc2538-rf.h diff --git a/drivers/cpu/cc2538/dev/cc2538-sensors.h b/arch/cpu/cc2538/dev/cc2538-sensors.h similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-sensors.h rename to arch/cpu/cc2538/dev/cc2538-sensors.h diff --git a/drivers/cpu/cc2538/dev/cc2538-temp-sensor.c b/arch/cpu/cc2538/dev/cc2538-temp-sensor.c similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-temp-sensor.c rename to arch/cpu/cc2538/dev/cc2538-temp-sensor.c diff --git a/drivers/cpu/cc2538/dev/cc2538-temp-sensor.h b/arch/cpu/cc2538/dev/cc2538-temp-sensor.h similarity index 100% rename from drivers/cpu/cc2538/dev/cc2538-temp-sensor.h rename to arch/cpu/cc2538/dev/cc2538-temp-sensor.h diff --git a/drivers/cpu/cc2538/dev/ccm.c b/arch/cpu/cc2538/dev/ccm.c similarity index 100% rename from drivers/cpu/cc2538/dev/ccm.c rename to arch/cpu/cc2538/dev/ccm.c diff --git a/drivers/cpu/cc2538/dev/ccm.h b/arch/cpu/cc2538/dev/ccm.h similarity index 100% rename from drivers/cpu/cc2538/dev/ccm.h rename to arch/cpu/cc2538/dev/ccm.h diff --git a/drivers/cpu/cc2538/dev/cctest.h b/arch/cpu/cc2538/dev/cctest.h similarity index 100% rename from drivers/cpu/cc2538/dev/cctest.h rename to arch/cpu/cc2538/dev/cctest.h diff --git a/drivers/cpu/cc2538/dev/crypto.c b/arch/cpu/cc2538/dev/crypto.c similarity index 100% rename from drivers/cpu/cc2538/dev/crypto.c rename to arch/cpu/cc2538/dev/crypto.c diff --git a/drivers/cpu/cc2538/dev/crypto.h b/arch/cpu/cc2538/dev/crypto.h similarity index 100% rename from drivers/cpu/cc2538/dev/crypto.h rename to arch/cpu/cc2538/dev/crypto.h diff --git a/drivers/cpu/cc2538/dev/ctr.c b/arch/cpu/cc2538/dev/ctr.c similarity index 100% rename from drivers/cpu/cc2538/dev/ctr.c rename to arch/cpu/cc2538/dev/ctr.c diff --git a/drivers/cpu/cc2538/dev/ctr.h b/arch/cpu/cc2538/dev/ctr.h similarity index 100% rename from drivers/cpu/cc2538/dev/ctr.h rename to arch/cpu/cc2538/dev/ctr.h diff --git a/drivers/cpu/cc2538/dev/ecb.c b/arch/cpu/cc2538/dev/ecb.c similarity index 100% rename from drivers/cpu/cc2538/dev/ecb.c rename to arch/cpu/cc2538/dev/ecb.c diff --git a/drivers/cpu/cc2538/dev/ecb.h b/arch/cpu/cc2538/dev/ecb.h similarity index 100% rename from drivers/cpu/cc2538/dev/ecb.h rename to arch/cpu/cc2538/dev/ecb.h diff --git a/drivers/cpu/cc2538/dev/ecc-algorithm.c b/arch/cpu/cc2538/dev/ecc-algorithm.c similarity index 100% rename from drivers/cpu/cc2538/dev/ecc-algorithm.c rename to arch/cpu/cc2538/dev/ecc-algorithm.c diff --git a/drivers/cpu/cc2538/dev/ecc-algorithm.h b/arch/cpu/cc2538/dev/ecc-algorithm.h similarity index 100% rename from drivers/cpu/cc2538/dev/ecc-algorithm.h rename to arch/cpu/cc2538/dev/ecc-algorithm.h diff --git a/drivers/cpu/cc2538/dev/ecc-curve.c b/arch/cpu/cc2538/dev/ecc-curve.c similarity index 100% rename from drivers/cpu/cc2538/dev/ecc-curve.c rename to arch/cpu/cc2538/dev/ecc-curve.c diff --git a/drivers/cpu/cc2538/dev/ecc-curve.h b/arch/cpu/cc2538/dev/ecc-curve.h similarity index 100% rename from drivers/cpu/cc2538/dev/ecc-curve.h rename to arch/cpu/cc2538/dev/ecc-curve.h diff --git a/drivers/cpu/cc2538/dev/ecc-driver.c b/arch/cpu/cc2538/dev/ecc-driver.c similarity index 100% rename from drivers/cpu/cc2538/dev/ecc-driver.c rename to arch/cpu/cc2538/dev/ecc-driver.c diff --git a/drivers/cpu/cc2538/dev/ecc-driver.h b/arch/cpu/cc2538/dev/ecc-driver.h similarity index 100% rename from drivers/cpu/cc2538/dev/ecc-driver.h rename to arch/cpu/cc2538/dev/ecc-driver.h diff --git a/drivers/cpu/cc2538/dev/flash.h b/arch/cpu/cc2538/dev/flash.h similarity index 100% rename from drivers/cpu/cc2538/dev/flash.h rename to arch/cpu/cc2538/dev/flash.h diff --git a/drivers/cpu/cc2538/dev/gcm.c b/arch/cpu/cc2538/dev/gcm.c similarity index 100% rename from drivers/cpu/cc2538/dev/gcm.c rename to arch/cpu/cc2538/dev/gcm.c diff --git a/drivers/cpu/cc2538/dev/gcm.h b/arch/cpu/cc2538/dev/gcm.h similarity index 100% rename from drivers/cpu/cc2538/dev/gcm.h rename to arch/cpu/cc2538/dev/gcm.h diff --git a/drivers/cpu/cc2538/dev/gpio.c b/arch/cpu/cc2538/dev/gpio.c similarity index 100% rename from drivers/cpu/cc2538/dev/gpio.c rename to arch/cpu/cc2538/dev/gpio.c diff --git a/drivers/cpu/cc2538/dev/gpio.h b/arch/cpu/cc2538/dev/gpio.h similarity index 100% rename from drivers/cpu/cc2538/dev/gpio.h rename to arch/cpu/cc2538/dev/gpio.h diff --git a/drivers/cpu/cc2538/dev/gptimer.h b/arch/cpu/cc2538/dev/gptimer.h similarity index 100% rename from drivers/cpu/cc2538/dev/gptimer.h rename to arch/cpu/cc2538/dev/gptimer.h diff --git a/drivers/cpu/cc2538/dev/i2c.c b/arch/cpu/cc2538/dev/i2c.c similarity index 100% rename from drivers/cpu/cc2538/dev/i2c.c rename to arch/cpu/cc2538/dev/i2c.c diff --git a/drivers/cpu/cc2538/dev/i2c.h b/arch/cpu/cc2538/dev/i2c.h similarity index 100% rename from drivers/cpu/cc2538/dev/i2c.h rename to arch/cpu/cc2538/dev/i2c.h diff --git a/drivers/cpu/cc2538/dev/ioc.c b/arch/cpu/cc2538/dev/ioc.c similarity index 100% rename from drivers/cpu/cc2538/dev/ioc.c rename to arch/cpu/cc2538/dev/ioc.c diff --git a/drivers/cpu/cc2538/dev/ioc.h b/arch/cpu/cc2538/dev/ioc.h similarity index 100% rename from drivers/cpu/cc2538/dev/ioc.h rename to arch/cpu/cc2538/dev/ioc.h diff --git a/drivers/cpu/cc2538/dev/nvic.c b/arch/cpu/cc2538/dev/nvic.c similarity index 100% rename from drivers/cpu/cc2538/dev/nvic.c rename to arch/cpu/cc2538/dev/nvic.c diff --git a/drivers/cpu/cc2538/dev/nvic.h b/arch/cpu/cc2538/dev/nvic.h similarity index 100% rename from drivers/cpu/cc2538/dev/nvic.h rename to arch/cpu/cc2538/dev/nvic.h diff --git a/drivers/cpu/cc2538/dev/pka.c b/arch/cpu/cc2538/dev/pka.c similarity index 100% rename from drivers/cpu/cc2538/dev/pka.c rename to arch/cpu/cc2538/dev/pka.c diff --git a/drivers/cpu/cc2538/dev/pka.h b/arch/cpu/cc2538/dev/pka.h similarity index 100% rename from drivers/cpu/cc2538/dev/pka.h rename to arch/cpu/cc2538/dev/pka.h diff --git a/drivers/cpu/cc2538/dev/pwm.c b/arch/cpu/cc2538/dev/pwm.c similarity index 100% rename from drivers/cpu/cc2538/dev/pwm.c rename to arch/cpu/cc2538/dev/pwm.c diff --git a/drivers/cpu/cc2538/dev/pwm.h b/arch/cpu/cc2538/dev/pwm.h similarity index 100% rename from drivers/cpu/cc2538/dev/pwm.h rename to arch/cpu/cc2538/dev/pwm.h diff --git a/drivers/cpu/cc2538/dev/random.c b/arch/cpu/cc2538/dev/random.c similarity index 100% rename from drivers/cpu/cc2538/dev/random.c rename to arch/cpu/cc2538/dev/random.c diff --git a/drivers/cpu/cc2538/dev/rfcore-ffsm.h b/arch/cpu/cc2538/dev/rfcore-ffsm.h similarity index 100% rename from drivers/cpu/cc2538/dev/rfcore-ffsm.h rename to arch/cpu/cc2538/dev/rfcore-ffsm.h diff --git a/drivers/cpu/cc2538/dev/rfcore-sfr.h b/arch/cpu/cc2538/dev/rfcore-sfr.h similarity index 100% rename from drivers/cpu/cc2538/dev/rfcore-sfr.h rename to arch/cpu/cc2538/dev/rfcore-sfr.h diff --git a/drivers/cpu/cc2538/dev/rfcore-xreg.h b/arch/cpu/cc2538/dev/rfcore-xreg.h similarity index 100% rename from drivers/cpu/cc2538/dev/rfcore-xreg.h rename to arch/cpu/cc2538/dev/rfcore-xreg.h diff --git a/drivers/cpu/cc2538/dev/rfcore.h b/arch/cpu/cc2538/dev/rfcore.h similarity index 100% rename from drivers/cpu/cc2538/dev/rfcore.h rename to arch/cpu/cc2538/dev/rfcore.h diff --git a/drivers/cpu/cc2538/dev/rom-util.h b/arch/cpu/cc2538/dev/rom-util.h similarity index 100% rename from drivers/cpu/cc2538/dev/rom-util.h rename to arch/cpu/cc2538/dev/rom-util.h diff --git a/drivers/cpu/cc2538/dev/sha256.c b/arch/cpu/cc2538/dev/sha256.c similarity index 100% rename from drivers/cpu/cc2538/dev/sha256.c rename to arch/cpu/cc2538/dev/sha256.c diff --git a/drivers/cpu/cc2538/dev/sha256.h b/arch/cpu/cc2538/dev/sha256.h similarity index 100% rename from drivers/cpu/cc2538/dev/sha256.h rename to arch/cpu/cc2538/dev/sha256.h diff --git a/drivers/cpu/cc2538/dev/smwdthrosc.h b/arch/cpu/cc2538/dev/smwdthrosc.h similarity index 100% rename from drivers/cpu/cc2538/dev/smwdthrosc.h rename to arch/cpu/cc2538/dev/smwdthrosc.h diff --git a/drivers/cpu/cc2538/dev/soc-adc.h b/arch/cpu/cc2538/dev/soc-adc.h similarity index 100% rename from drivers/cpu/cc2538/dev/soc-adc.h rename to arch/cpu/cc2538/dev/soc-adc.h diff --git a/drivers/cpu/cc2538/dev/spi.c b/arch/cpu/cc2538/dev/spi.c similarity index 100% rename from drivers/cpu/cc2538/dev/spi.c rename to arch/cpu/cc2538/dev/spi.c diff --git a/drivers/cpu/cc2538/dev/ssi.h b/arch/cpu/cc2538/dev/ssi.h similarity index 100% rename from drivers/cpu/cc2538/dev/ssi.h rename to arch/cpu/cc2538/dev/ssi.h diff --git a/drivers/cpu/cc2538/dev/sys-ctrl.c b/arch/cpu/cc2538/dev/sys-ctrl.c similarity index 100% rename from drivers/cpu/cc2538/dev/sys-ctrl.c rename to arch/cpu/cc2538/dev/sys-ctrl.c diff --git a/drivers/cpu/cc2538/dev/sys-ctrl.h b/arch/cpu/cc2538/dev/sys-ctrl.h similarity index 100% rename from drivers/cpu/cc2538/dev/sys-ctrl.h rename to arch/cpu/cc2538/dev/sys-ctrl.h diff --git a/drivers/cpu/cc2538/dev/uart.c b/arch/cpu/cc2538/dev/uart.c similarity index 100% rename from drivers/cpu/cc2538/dev/uart.c rename to arch/cpu/cc2538/dev/uart.c diff --git a/drivers/cpu/cc2538/dev/uart.h b/arch/cpu/cc2538/dev/uart.h similarity index 100% rename from drivers/cpu/cc2538/dev/uart.h rename to arch/cpu/cc2538/dev/uart.h diff --git a/drivers/cpu/cc2538/dev/uart1.h b/arch/cpu/cc2538/dev/uart1.h similarity index 100% rename from drivers/cpu/cc2538/dev/uart1.h rename to arch/cpu/cc2538/dev/uart1.h diff --git a/drivers/cpu/cc2538/dev/udma.c b/arch/cpu/cc2538/dev/udma.c similarity index 100% rename from drivers/cpu/cc2538/dev/udma.c rename to arch/cpu/cc2538/dev/udma.c diff --git a/drivers/cpu/cc2538/dev/udma.h b/arch/cpu/cc2538/dev/udma.h similarity index 100% rename from drivers/cpu/cc2538/dev/udma.h rename to arch/cpu/cc2538/dev/udma.h diff --git a/drivers/cpu/cc2538/dev/usb-regs.h b/arch/cpu/cc2538/dev/usb-regs.h similarity index 100% rename from drivers/cpu/cc2538/dev/usb-regs.h rename to arch/cpu/cc2538/dev/usb-regs.h diff --git a/drivers/cpu/cc2538/dev/vdd3-sensor.c b/arch/cpu/cc2538/dev/vdd3-sensor.c similarity index 100% rename from drivers/cpu/cc2538/dev/vdd3-sensor.c rename to arch/cpu/cc2538/dev/vdd3-sensor.c diff --git a/drivers/cpu/cc2538/dev/vdd3-sensor.h b/arch/cpu/cc2538/dev/vdd3-sensor.h similarity index 100% rename from drivers/cpu/cc2538/dev/vdd3-sensor.h rename to arch/cpu/cc2538/dev/vdd3-sensor.h diff --git a/drivers/cpu/cc2538/dev/watchdog.c b/arch/cpu/cc2538/dev/watchdog.c similarity index 100% rename from drivers/cpu/cc2538/dev/watchdog.c rename to arch/cpu/cc2538/dev/watchdog.c diff --git a/drivers/cpu/cc2538/ieee-addr.c b/arch/cpu/cc2538/ieee-addr.c similarity index 100% rename from drivers/cpu/cc2538/ieee-addr.c rename to arch/cpu/cc2538/ieee-addr.c diff --git a/drivers/cpu/cc2538/ieee-addr.h b/arch/cpu/cc2538/ieee-addr.h similarity index 100% rename from drivers/cpu/cc2538/ieee-addr.h rename to arch/cpu/cc2538/ieee-addr.h diff --git a/drivers/cpu/cc2538/lpm.c b/arch/cpu/cc2538/lpm.c similarity index 100% rename from drivers/cpu/cc2538/lpm.c rename to arch/cpu/cc2538/lpm.c diff --git a/drivers/cpu/cc2538/lpm.h b/arch/cpu/cc2538/lpm.h similarity index 100% rename from drivers/cpu/cc2538/lpm.h rename to arch/cpu/cc2538/lpm.h diff --git a/drivers/cpu/cc2538/reg.h b/arch/cpu/cc2538/reg.h similarity index 100% rename from drivers/cpu/cc2538/reg.h rename to arch/cpu/cc2538/reg.h diff --git a/drivers/cpu/cc2538/rtimer-arch.c b/arch/cpu/cc2538/rtimer-arch.c similarity index 100% rename from drivers/cpu/cc2538/rtimer-arch.c rename to arch/cpu/cc2538/rtimer-arch.c diff --git a/drivers/cpu/cc2538/rtimer-arch.h b/arch/cpu/cc2538/rtimer-arch.h similarity index 100% rename from drivers/cpu/cc2538/rtimer-arch.h rename to arch/cpu/cc2538/rtimer-arch.h diff --git a/drivers/cpu/cc2538/slip-arch.c b/arch/cpu/cc2538/slip-arch.c similarity index 100% rename from drivers/cpu/cc2538/slip-arch.c rename to arch/cpu/cc2538/slip-arch.c diff --git a/drivers/cpu/cc2538/soc.c b/arch/cpu/cc2538/soc.c similarity index 100% rename from drivers/cpu/cc2538/soc.c rename to arch/cpu/cc2538/soc.c diff --git a/drivers/cpu/cc2538/soc.h b/arch/cpu/cc2538/soc.h similarity index 100% rename from drivers/cpu/cc2538/soc.h rename to arch/cpu/cc2538/soc.h diff --git a/drivers/cpu/cc2538/spi-arch.h b/arch/cpu/cc2538/spi-arch.h similarity index 100% rename from drivers/cpu/cc2538/spi-arch.h rename to arch/cpu/cc2538/spi-arch.h diff --git a/drivers/cpu/cc2538/startup-gcc.c b/arch/cpu/cc2538/startup-gcc.c similarity index 100% rename from drivers/cpu/cc2538/startup-gcc.c rename to arch/cpu/cc2538/startup-gcc.c diff --git a/drivers/cpu/cc2538/usb/cdc-acm-descriptors.c b/arch/cpu/cc2538/usb/cdc-acm-descriptors.c similarity index 100% rename from drivers/cpu/cc2538/usb/cdc-acm-descriptors.c rename to arch/cpu/cc2538/usb/cdc-acm-descriptors.c diff --git a/drivers/cpu/cc2538/usb/usb-arch.c b/arch/cpu/cc2538/usb/usb-arch.c similarity index 100% rename from drivers/cpu/cc2538/usb/usb-arch.c rename to arch/cpu/cc2538/usb/usb-arch.c diff --git a/drivers/cpu/cc2538/usb/usb-serial.c b/arch/cpu/cc2538/usb/usb-serial.c similarity index 100% rename from drivers/cpu/cc2538/usb/usb-serial.c rename to arch/cpu/cc2538/usb/usb-serial.c diff --git a/drivers/cpu/cc2538/usb/usb-serial.h b/arch/cpu/cc2538/usb/usb-serial.h similarity index 100% rename from drivers/cpu/cc2538/usb/usb-serial.h rename to arch/cpu/cc2538/usb/usb-serial.h diff --git a/drivers/cpu/cc253x/8051def.h b/arch/cpu/cc253x/8051def.h similarity index 100% rename from drivers/cpu/cc253x/8051def.h rename to arch/cpu/cc253x/8051def.h diff --git a/drivers/cpu/cc253x/Makefile.cc253x b/arch/cpu/cc253x/Makefile.cc253x similarity index 97% rename from drivers/cpu/cc253x/Makefile.cc253x rename to arch/cpu/cc253x/Makefile.cc253x index b8d1b9176..327524948 100644 --- a/drivers/cpu/cc253x/Makefile.cc253x +++ b/arch/cpu/cc253x/Makefile.cc253x @@ -121,7 +121,7 @@ CONTIKI_CASMOBJECTFILES = $(addprefix $(OBJECTDIR)/, \ $(CONTIKI_CASMFILES:.cS=.rel)) CONTIKI_PLATFORM_DIRS = $(PLATFORM_APPDIRS) \ - $(addprefix $(CONTIKI)/drivers/platform/$(TARGET)/, $(CONTIKI_TARGET_DIRS)) + $(addprefix $(CONTIKI)/arch/platform/$(TARGET)/, $(CONTIKI_TARGET_DIRS)) CONTIKI_CPU_DIRS_LIST = $(addprefix $(CONTIKI_CPU)/, \ $(CONTIKI_CPU_DIRS)) diff --git a/drivers/cpu/cc253x/Makefile.customrules-cc253x b/arch/cpu/cc253x/Makefile.customrules-cc253x similarity index 100% rename from drivers/cpu/cc253x/Makefile.customrules-cc253x rename to arch/cpu/cc253x/Makefile.customrules-cc253x diff --git a/drivers/cpu/cc253x/bank-alloc.py b/arch/cpu/cc253x/bank-alloc.py similarity index 100% rename from drivers/cpu/cc253x/bank-alloc.py rename to arch/cpu/cc253x/bank-alloc.py diff --git a/drivers/cpu/cc253x/cc253x.h b/arch/cpu/cc253x/cc253x.h similarity index 100% rename from drivers/cpu/cc253x/cc253x.h rename to arch/cpu/cc253x/cc253x.h diff --git a/drivers/cpu/cc253x/dev/cc2530-rf.c b/arch/cpu/cc253x/dev/cc2530-rf.c similarity index 100% rename from drivers/cpu/cc253x/dev/cc2530-rf.c rename to arch/cpu/cc253x/dev/cc2530-rf.c diff --git a/drivers/cpu/cc253x/dev/cc2530-rf.h b/arch/cpu/cc253x/dev/cc2530-rf.h similarity index 100% rename from drivers/cpu/cc253x/dev/cc2530-rf.h rename to arch/cpu/cc253x/dev/cc2530-rf.h diff --git a/drivers/cpu/cc253x/dev/clock-isr.h b/arch/cpu/cc253x/dev/clock-isr.h similarity index 100% rename from drivers/cpu/cc253x/dev/clock-isr.h rename to arch/cpu/cc253x/dev/clock-isr.h diff --git a/drivers/cpu/cc253x/dev/clock.c b/arch/cpu/cc253x/dev/clock.c similarity index 100% rename from drivers/cpu/cc253x/dev/clock.c rename to arch/cpu/cc253x/dev/clock.c diff --git a/drivers/cpu/cc253x/dev/dma.c b/arch/cpu/cc253x/dev/dma.c similarity index 100% rename from drivers/cpu/cc253x/dev/dma.c rename to arch/cpu/cc253x/dev/dma.c diff --git a/drivers/cpu/cc253x/dev/dma.h b/arch/cpu/cc253x/dev/dma.h similarity index 100% rename from drivers/cpu/cc253x/dev/dma.h rename to arch/cpu/cc253x/dev/dma.h diff --git a/drivers/cpu/cc253x/dev/dma_intr.c b/arch/cpu/cc253x/dev/dma_intr.c similarity index 100% rename from drivers/cpu/cc253x/dev/dma_intr.c rename to arch/cpu/cc253x/dev/dma_intr.c diff --git a/drivers/cpu/cc253x/dev/lpm.h b/arch/cpu/cc253x/dev/lpm.h similarity index 100% rename from drivers/cpu/cc253x/dev/lpm.h rename to arch/cpu/cc253x/dev/lpm.h diff --git a/drivers/cpu/cc253x/dev/port.h b/arch/cpu/cc253x/dev/port.h similarity index 100% rename from drivers/cpu/cc253x/dev/port.h rename to arch/cpu/cc253x/dev/port.h diff --git a/drivers/cpu/cc253x/dev/port2-intr.c b/arch/cpu/cc253x/dev/port2-intr.c similarity index 100% rename from drivers/cpu/cc253x/dev/port2-intr.c rename to arch/cpu/cc253x/dev/port2-intr.c diff --git a/drivers/cpu/cc253x/dev/port2.c b/arch/cpu/cc253x/dev/port2.c similarity index 100% rename from drivers/cpu/cc253x/dev/port2.c rename to arch/cpu/cc253x/dev/port2.c diff --git a/drivers/cpu/cc253x/dev/port2.h b/arch/cpu/cc253x/dev/port2.h similarity index 100% rename from drivers/cpu/cc253x/dev/port2.h rename to arch/cpu/cc253x/dev/port2.h diff --git a/drivers/cpu/cc253x/dev/random.c b/arch/cpu/cc253x/dev/random.c similarity index 100% rename from drivers/cpu/cc253x/dev/random.c rename to arch/cpu/cc253x/dev/random.c diff --git a/drivers/cpu/cc253x/dev/uart-intr.c b/arch/cpu/cc253x/dev/uart-intr.c similarity index 100% rename from drivers/cpu/cc253x/dev/uart-intr.c rename to arch/cpu/cc253x/dev/uart-intr.c diff --git a/drivers/cpu/cc253x/dev/uart.h b/arch/cpu/cc253x/dev/uart.h similarity index 100% rename from drivers/cpu/cc253x/dev/uart.h rename to arch/cpu/cc253x/dev/uart.h diff --git a/drivers/cpu/cc253x/dev/uart0.c b/arch/cpu/cc253x/dev/uart0.c similarity index 100% rename from drivers/cpu/cc253x/dev/uart0.c rename to arch/cpu/cc253x/dev/uart0.c diff --git a/drivers/cpu/cc253x/dev/uart0.h b/arch/cpu/cc253x/dev/uart0.h similarity index 100% rename from drivers/cpu/cc253x/dev/uart0.h rename to arch/cpu/cc253x/dev/uart0.h diff --git a/drivers/cpu/cc253x/dev/uart1.c b/arch/cpu/cc253x/dev/uart1.c similarity index 100% rename from drivers/cpu/cc253x/dev/uart1.c rename to arch/cpu/cc253x/dev/uart1.c diff --git a/drivers/cpu/cc253x/dev/uart1.h b/arch/cpu/cc253x/dev/uart1.h similarity index 100% rename from drivers/cpu/cc253x/dev/uart1.h rename to arch/cpu/cc253x/dev/uart1.h diff --git a/drivers/cpu/cc253x/dev/watchdog.c b/arch/cpu/cc253x/dev/watchdog.c similarity index 100% rename from drivers/cpu/cc253x/dev/watchdog.c rename to arch/cpu/cc253x/dev/watchdog.c diff --git a/drivers/cpu/cc253x/mtarch.h b/arch/cpu/cc253x/mtarch.h similarity index 100% rename from drivers/cpu/cc253x/mtarch.h rename to arch/cpu/cc253x/mtarch.h diff --git a/drivers/cpu/cc253x/rtimer-arch.c b/arch/cpu/cc253x/rtimer-arch.c similarity index 100% rename from drivers/cpu/cc253x/rtimer-arch.c rename to arch/cpu/cc253x/rtimer-arch.c diff --git a/drivers/cpu/cc253x/rtimer-arch.h b/arch/cpu/cc253x/rtimer-arch.h similarity index 100% rename from drivers/cpu/cc253x/rtimer-arch.h rename to arch/cpu/cc253x/rtimer-arch.h diff --git a/drivers/cpu/cc253x/segment.rules b/arch/cpu/cc253x/segment.rules similarity index 100% rename from drivers/cpu/cc253x/segment.rules rename to arch/cpu/cc253x/segment.rules diff --git a/drivers/cpu/cc253x/sfr-bits.h b/arch/cpu/cc253x/sfr-bits.h similarity index 100% rename from drivers/cpu/cc253x/sfr-bits.h rename to arch/cpu/cc253x/sfr-bits.h diff --git a/drivers/cpu/cc253x/soc.c b/arch/cpu/cc253x/soc.c similarity index 100% rename from drivers/cpu/cc253x/soc.c rename to arch/cpu/cc253x/soc.c diff --git a/drivers/cpu/cc253x/soc.h b/arch/cpu/cc253x/soc.h similarity index 100% rename from drivers/cpu/cc253x/soc.h rename to arch/cpu/cc253x/soc.h diff --git a/drivers/cpu/cc253x/stack.c b/arch/cpu/cc253x/stack.c similarity index 100% rename from drivers/cpu/cc253x/stack.c rename to arch/cpu/cc253x/stack.c diff --git a/drivers/cpu/cc253x/stack.h b/arch/cpu/cc253x/stack.h similarity index 100% rename from drivers/cpu/cc253x/stack.h rename to arch/cpu/cc253x/stack.h diff --git a/drivers/cpu/cc253x/usb/Makefile.usb b/arch/cpu/cc253x/usb/Makefile.usb similarity index 100% rename from drivers/cpu/cc253x/usb/Makefile.usb rename to arch/cpu/cc253x/usb/Makefile.usb diff --git a/drivers/cpu/cc253x/usb/cdc-acm-descriptors.c b/arch/cpu/cc253x/usb/cdc-acm-descriptors.c similarity index 100% rename from drivers/cpu/cc253x/usb/cdc-acm-descriptors.c rename to arch/cpu/cc253x/usb/cdc-acm-descriptors.c diff --git a/drivers/cpu/cc253x/usb/common/cdc-acm/cdc-acm.c b/arch/cpu/cc253x/usb/common/cdc-acm/cdc-acm.c similarity index 100% rename from drivers/cpu/cc253x/usb/common/cdc-acm/cdc-acm.c rename to arch/cpu/cc253x/usb/common/cdc-acm/cdc-acm.c diff --git a/drivers/cpu/cc253x/usb/common/cdc-acm/cdc-acm.h b/arch/cpu/cc253x/usb/common/cdc-acm/cdc-acm.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/cdc-acm/cdc-acm.h rename to arch/cpu/cc253x/usb/common/cdc-acm/cdc-acm.h diff --git a/drivers/cpu/cc253x/usb/common/cdc-acm/cdc.h b/arch/cpu/cc253x/usb/common/cdc-acm/cdc.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/cdc-acm/cdc.h rename to arch/cpu/cc253x/usb/common/cdc-acm/cdc.h diff --git a/drivers/cpu/cc253x/usb/common/descriptors.h b/arch/cpu/cc253x/usb/common/descriptors.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/descriptors.h rename to arch/cpu/cc253x/usb/common/descriptors.h diff --git a/drivers/cpu/cc253x/usb/common/string-descriptors.h b/arch/cpu/cc253x/usb/common/string-descriptors.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/string-descriptors.h rename to arch/cpu/cc253x/usb/common/string-descriptors.h diff --git a/drivers/cpu/cc253x/usb/common/usb-api.h b/arch/cpu/cc253x/usb/common/usb-api.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/usb-api.h rename to arch/cpu/cc253x/usb/common/usb-api.h diff --git a/drivers/cpu/cc253x/usb/common/usb-arch.h b/arch/cpu/cc253x/usb/common/usb-arch.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/usb-arch.h rename to arch/cpu/cc253x/usb/common/usb-arch.h diff --git a/drivers/cpu/cc253x/usb/common/usb-core.c b/arch/cpu/cc253x/usb/common/usb-core.c similarity index 100% rename from drivers/cpu/cc253x/usb/common/usb-core.c rename to arch/cpu/cc253x/usb/common/usb-core.c diff --git a/drivers/cpu/cc253x/usb/common/usb-core.h b/arch/cpu/cc253x/usb/common/usb-core.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/usb-core.h rename to arch/cpu/cc253x/usb/common/usb-core.h diff --git a/drivers/cpu/cc253x/usb/common/usb.h b/arch/cpu/cc253x/usb/common/usb.h similarity index 100% rename from drivers/cpu/cc253x/usb/common/usb.h rename to arch/cpu/cc253x/usb/common/usb.h diff --git a/drivers/cpu/cc253x/usb/usb-arch.c b/arch/cpu/cc253x/usb/usb-arch.c similarity index 100% rename from drivers/cpu/cc253x/usb/usb-arch.c rename to arch/cpu/cc253x/usb/usb-arch.c diff --git a/drivers/cpu/cc26xx-cc13xx/Makefile.cc13xx b/arch/cpu/cc26xx-cc13xx/Makefile.cc13xx similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/Makefile.cc13xx rename to arch/cpu/cc26xx-cc13xx/Makefile.cc13xx diff --git a/drivers/cpu/cc26xx-cc13xx/Makefile.cc26xx b/arch/cpu/cc26xx-cc13xx/Makefile.cc26xx similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/Makefile.cc26xx rename to arch/cpu/cc26xx-cc13xx/Makefile.cc26xx diff --git a/drivers/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx b/arch/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx similarity index 98% rename from drivers/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx rename to arch/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx index e1b6231bb..f976eb85b 100644 --- a/drivers/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx +++ b/arch/cpu/cc26xx-cc13xx/Makefile.cc26xx-cc13xx @@ -8,7 +8,7 @@ NM = arm-none-eabi-nm SIZE = arm-none-eabi-size SREC_CAT = srec_cat -CPU_ABS_PATH = drivers/cpu/cc26xx-cc13xx +CPU_ABS_PATH = arch/cpu/cc26xx-cc13xx TI_XXWARE = $(CONTIKI_CPU)/$(TI_XXWARE_PATH) ### cc26xxware sources under driverlib will be added to the MODULES list @@ -64,7 +64,7 @@ CLEAN += *.d *.elf *.hex ### CPU-dependent directories CONTIKI_CPU_DIRS = . dev rf-core rf-core/api $(TI_XXWARE_STARTUP_DIR) -### Use the existing debug I/O in drivers/cpu/arm/common +### Use the existing debug I/O in arch/cpu/arm/common CONTIKI_CPU_DIRS += ../arm/common/dbg-io ### CPU-dependent source files diff --git a/drivers/cpu/cc26xx-cc13xx/cc26xx.ld b/arch/cpu/cc26xx-cc13xx/cc26xx.ld similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/cc26xx.ld rename to arch/cpu/cc26xx-cc13xx/cc26xx.ld diff --git a/drivers/cpu/cc26xx-cc13xx/clock.c b/arch/cpu/cc26xx-cc13xx/clock.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/clock.c rename to arch/cpu/cc26xx-cc13xx/clock.c diff --git a/drivers/cpu/cc26xx-cc13xx/dbg.h b/arch/cpu/cc26xx-cc13xx/dbg.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dbg.h rename to arch/cpu/cc26xx-cc13xx/dbg.h diff --git a/drivers/cpu/cc26xx-cc13xx/debug-uart.h b/arch/cpu/cc26xx-cc13xx/debug-uart.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/debug-uart.h rename to arch/cpu/cc26xx-cc13xx/debug-uart.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/adc-sensor.c b/arch/cpu/cc26xx-cc13xx/dev/adc-sensor.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/adc-sensor.c rename to arch/cpu/cc26xx-cc13xx/dev/adc-sensor.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/adc-sensor.h b/arch/cpu/cc26xx-cc13xx/dev/adc-sensor.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/adc-sensor.h rename to arch/cpu/cc26xx-cc13xx/dev/adc-sensor.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/aux-ctrl.c b/arch/cpu/cc26xx-cc13xx/dev/aux-ctrl.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/aux-ctrl.c rename to arch/cpu/cc26xx-cc13xx/dev/aux-ctrl.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/aux-ctrl.h b/arch/cpu/cc26xx-cc13xx/dev/aux-ctrl.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/aux-ctrl.h rename to arch/cpu/cc26xx-cc13xx/dev/aux-ctrl.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/batmon-sensor.c b/arch/cpu/cc26xx-cc13xx/dev/batmon-sensor.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/batmon-sensor.c rename to arch/cpu/cc26xx-cc13xx/dev/batmon-sensor.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/batmon-sensor.h b/arch/cpu/cc26xx-cc13xx/dev/batmon-sensor.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/batmon-sensor.h rename to arch/cpu/cc26xx-cc13xx/dev/batmon-sensor.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/cc26xx-uart.c b/arch/cpu/cc26xx-cc13xx/dev/cc26xx-uart.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/cc26xx-uart.c rename to arch/cpu/cc26xx-cc13xx/dev/cc26xx-uart.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/cc26xx-uart.h b/arch/cpu/cc26xx-cc13xx/dev/cc26xx-uart.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/cc26xx-uart.h rename to arch/cpu/cc26xx-cc13xx/dev/cc26xx-uart.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/contiki-watchdog.c b/arch/cpu/cc26xx-cc13xx/dev/contiki-watchdog.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/contiki-watchdog.c rename to arch/cpu/cc26xx-cc13xx/dev/contiki-watchdog.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/gpio-interrupt.c b/arch/cpu/cc26xx-cc13xx/dev/gpio-interrupt.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/gpio-interrupt.c rename to arch/cpu/cc26xx-cc13xx/dev/gpio-interrupt.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/gpio-interrupt.h b/arch/cpu/cc26xx-cc13xx/dev/gpio-interrupt.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/gpio-interrupt.h rename to arch/cpu/cc26xx-cc13xx/dev/gpio-interrupt.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/oscillators.c b/arch/cpu/cc26xx-cc13xx/dev/oscillators.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/oscillators.c rename to arch/cpu/cc26xx-cc13xx/dev/oscillators.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/oscillators.h b/arch/cpu/cc26xx-cc13xx/dev/oscillators.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/oscillators.h rename to arch/cpu/cc26xx-cc13xx/dev/oscillators.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/soc-rtc.c b/arch/cpu/cc26xx-cc13xx/dev/soc-rtc.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/soc-rtc.c rename to arch/cpu/cc26xx-cc13xx/dev/soc-rtc.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/soc-rtc.h b/arch/cpu/cc26xx-cc13xx/dev/soc-rtc.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/soc-rtc.h rename to arch/cpu/cc26xx-cc13xx/dev/soc-rtc.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/soc-trng.c b/arch/cpu/cc26xx-cc13xx/dev/soc-trng.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/soc-trng.c rename to arch/cpu/cc26xx-cc13xx/dev/soc-trng.c diff --git a/drivers/cpu/cc26xx-cc13xx/dev/soc-trng.h b/arch/cpu/cc26xx-cc13xx/dev/soc-trng.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/soc-trng.h rename to arch/cpu/cc26xx-cc13xx/dev/soc-trng.h diff --git a/drivers/cpu/cc26xx-cc13xx/dev/uart1.h b/arch/cpu/cc26xx-cc13xx/dev/uart1.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/dev/uart1.h rename to arch/cpu/cc26xx-cc13xx/dev/uart1.h diff --git a/drivers/cpu/cc26xx-cc13xx/fault-handlers.c b/arch/cpu/cc26xx-cc13xx/fault-handlers.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/fault-handlers.c rename to arch/cpu/cc26xx-cc13xx/fault-handlers.c diff --git a/drivers/cpu/cc26xx-cc13xx/ieee-addr.c b/arch/cpu/cc26xx-cc13xx/ieee-addr.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/ieee-addr.c rename to arch/cpu/cc26xx-cc13xx/ieee-addr.c diff --git a/drivers/cpu/cc26xx-cc13xx/ieee-addr.h b/arch/cpu/cc26xx-cc13xx/ieee-addr.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/ieee-addr.h rename to arch/cpu/cc26xx-cc13xx/ieee-addr.h diff --git a/drivers/cpu/cc26xx-cc13xx/lib/cc13xxware b/arch/cpu/cc26xx-cc13xx/lib/cc13xxware similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/lib/cc13xxware rename to arch/cpu/cc26xx-cc13xx/lib/cc13xxware diff --git a/drivers/cpu/cc26xx-cc13xx/lib/cc26xxware b/arch/cpu/cc26xx-cc13xx/lib/cc26xxware similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/lib/cc26xxware rename to arch/cpu/cc26xx-cc13xx/lib/cc26xxware diff --git a/drivers/cpu/cc26xx-cc13xx/lpm.c b/arch/cpu/cc26xx-cc13xx/lpm.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/lpm.c rename to arch/cpu/cc26xx-cc13xx/lpm.c diff --git a/drivers/cpu/cc26xx-cc13xx/lpm.h b/arch/cpu/cc26xx-cc13xx/lpm.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/lpm.h rename to arch/cpu/cc26xx-cc13xx/lpm.h diff --git a/drivers/cpu/cc26xx-cc13xx/mtarch.h b/arch/cpu/cc26xx-cc13xx/mtarch.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/mtarch.h rename to arch/cpu/cc26xx-cc13xx/mtarch.h diff --git a/drivers/cpu/cc26xx-cc13xx/putchar.c b/arch/cpu/cc26xx-cc13xx/putchar.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/putchar.c rename to arch/cpu/cc26xx-cc13xx/putchar.c diff --git a/drivers/cpu/cc26xx-cc13xx/random.c b/arch/cpu/cc26xx-cc13xx/random.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/random.c rename to arch/cpu/cc26xx-cc13xx/random.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/api/ieee_cmd.h b/arch/cpu/cc26xx-cc13xx/rf-core/api/ieee_cmd.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/api/ieee_cmd.h rename to arch/cpu/cc26xx-cc13xx/rf-core/api/ieee_cmd.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/api/ieee_mailbox.h b/arch/cpu/cc26xx-cc13xx/rf-core/api/ieee_mailbox.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/api/ieee_mailbox.h rename to arch/cpu/cc26xx-cc13xx/rf-core/api/ieee_mailbox.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/dot-15-4g.h b/arch/cpu/cc26xx-cc13xx/rf-core/dot-15-4g.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/dot-15-4g.h rename to arch/cpu/cc26xx-cc13xx/rf-core/dot-15-4g.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c b/arch/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c rename to arch/cpu/cc26xx-cc13xx/rf-core/ieee-mode.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/prop-mode-tx-power.c b/arch/cpu/cc26xx-cc13xx/rf-core/prop-mode-tx-power.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/prop-mode-tx-power.c rename to arch/cpu/cc26xx-cc13xx/rf-core/prop-mode-tx-power.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/prop-mode.c b/arch/cpu/cc26xx-cc13xx/rf-core/prop-mode.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/prop-mode.c rename to arch/cpu/cc26xx-cc13xx/rf-core/prop-mode.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/prop-mode.h b/arch/cpu/cc26xx-cc13xx/rf-core/prop-mode.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/prop-mode.h rename to arch/cpu/cc26xx-cc13xx/rf-core/prop-mode.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/rf-ble.c b/arch/cpu/cc26xx-cc13xx/rf-core/rf-ble.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/rf-ble.c rename to arch/cpu/cc26xx-cc13xx/rf-core/rf-ble.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/rf-ble.h b/arch/cpu/cc26xx-cc13xx/rf-core/rf-ble.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/rf-ble.h rename to arch/cpu/cc26xx-cc13xx/rf-core/rf-ble.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/rf-core.c b/arch/cpu/cc26xx-cc13xx/rf-core/rf-core.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/rf-core.c rename to arch/cpu/cc26xx-cc13xx/rf-core/rf-core.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/rf-core.h b/arch/cpu/cc26xx-cc13xx/rf-core/rf-core.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/rf-core.h rename to arch/cpu/cc26xx-cc13xx/rf-core/rf-core.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/rf-switch.h b/arch/cpu/cc26xx-cc13xx/rf-core/rf-switch.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/rf-switch.h rename to arch/cpu/cc26xx-cc13xx/rf-core/rf-switch.h diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c b/arch/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c rename to arch/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.c diff --git a/drivers/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.h b/arch/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.h rename to arch/cpu/cc26xx-cc13xx/rf-core/smartrf-settings.h diff --git a/drivers/cpu/cc26xx-cc13xx/rtimer-arch.c b/arch/cpu/cc26xx-cc13xx/rtimer-arch.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rtimer-arch.c rename to arch/cpu/cc26xx-cc13xx/rtimer-arch.c diff --git a/drivers/cpu/cc26xx-cc13xx/rtimer-arch.h b/arch/cpu/cc26xx-cc13xx/rtimer-arch.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/rtimer-arch.h rename to arch/cpu/cc26xx-cc13xx/rtimer-arch.h diff --git a/drivers/cpu/cc26xx-cc13xx/slip-arch.c b/arch/cpu/cc26xx-cc13xx/slip-arch.c similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/slip-arch.c rename to arch/cpu/cc26xx-cc13xx/slip-arch.c diff --git a/drivers/cpu/cc26xx-cc13xx/ti-lib-rom.h b/arch/cpu/cc26xx-cc13xx/ti-lib-rom.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/ti-lib-rom.h rename to arch/cpu/cc26xx-cc13xx/ti-lib-rom.h diff --git a/drivers/cpu/cc26xx-cc13xx/ti-lib.h b/arch/cpu/cc26xx-cc13xx/ti-lib.h similarity index 100% rename from drivers/cpu/cc26xx-cc13xx/ti-lib.h rename to arch/cpu/cc26xx-cc13xx/ti-lib.h diff --git a/drivers/cpu/msp430/Makefile.msp430 b/arch/cpu/msp430/Makefile.msp430 similarity index 99% rename from drivers/cpu/msp430/Makefile.msp430 rename to arch/cpu/msp430/Makefile.msp430 index 50429169b..5becfd163 100644 --- a/drivers/cpu/msp430/Makefile.msp430 +++ b/arch/cpu/msp430/Makefile.msp430 @@ -9,7 +9,7 @@ CFLAGS += -gstabs+ .SUFFIXES: ### Define the CPU directory -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/msp430 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/msp430 ### Define the source files we have in the MSP430 port diff --git a/drivers/cpu/msp430/button.c b/arch/cpu/msp430/button.c similarity index 100% rename from drivers/cpu/msp430/button.c rename to arch/cpu/msp430/button.c diff --git a/drivers/cpu/msp430/cc2420-arch-sfd.c b/arch/cpu/msp430/cc2420-arch-sfd.c similarity index 100% rename from drivers/cpu/msp430/cc2420-arch-sfd.c rename to arch/cpu/msp430/cc2420-arch-sfd.c diff --git a/drivers/cpu/msp430/cc2420-arch-sfd.h b/arch/cpu/msp430/cc2420-arch-sfd.h similarity index 100% rename from drivers/cpu/msp430/cc2420-arch-sfd.h rename to arch/cpu/msp430/cc2420-arch-sfd.h diff --git a/drivers/cpu/msp430/cc2420-arch.c b/arch/cpu/msp430/cc2420-arch.c similarity index 100% rename from drivers/cpu/msp430/cc2420-arch.c rename to arch/cpu/msp430/cc2420-arch.c diff --git a/drivers/cpu/msp430/cc2520-arch-sfd.c b/arch/cpu/msp430/cc2520-arch-sfd.c similarity index 100% rename from drivers/cpu/msp430/cc2520-arch-sfd.c rename to arch/cpu/msp430/cc2520-arch-sfd.c diff --git a/drivers/cpu/msp430/cc2520-arch-sfd.h b/arch/cpu/msp430/cc2520-arch-sfd.h similarity index 100% rename from drivers/cpu/msp430/cc2520-arch-sfd.h rename to arch/cpu/msp430/cc2520-arch-sfd.h diff --git a/drivers/cpu/msp430/cc2520-arch.c b/arch/cpu/msp430/cc2520-arch.c similarity index 100% rename from drivers/cpu/msp430/cc2520-arch.c rename to arch/cpu/msp430/cc2520-arch.c diff --git a/drivers/cpu/msp430/dev/button.h b/arch/cpu/msp430/dev/button.h similarity index 100% rename from drivers/cpu/msp430/dev/button.h rename to arch/cpu/msp430/dev/button.h diff --git a/drivers/cpu/msp430/dev/flash.h b/arch/cpu/msp430/dev/flash.h similarity index 100% rename from drivers/cpu/msp430/dev/flash.h rename to arch/cpu/msp430/dev/flash.h diff --git a/drivers/cpu/msp430/dev/hwconf.h b/arch/cpu/msp430/dev/hwconf.h similarity index 100% rename from drivers/cpu/msp430/dev/hwconf.h rename to arch/cpu/msp430/dev/hwconf.h diff --git a/drivers/cpu/msp430/dev/lpm.h b/arch/cpu/msp430/dev/lpm.h similarity index 100% rename from drivers/cpu/msp430/dev/lpm.h rename to arch/cpu/msp430/dev/lpm.h diff --git a/drivers/cpu/msp430/dev/uart0-putchar.c b/arch/cpu/msp430/dev/uart0-putchar.c similarity index 100% rename from drivers/cpu/msp430/dev/uart0-putchar.c rename to arch/cpu/msp430/dev/uart0-putchar.c diff --git a/drivers/cpu/msp430/dev/uart0.h b/arch/cpu/msp430/dev/uart0.h similarity index 100% rename from drivers/cpu/msp430/dev/uart0.h rename to arch/cpu/msp430/dev/uart0.h diff --git a/drivers/cpu/msp430/dev/uart1-putchar.c b/arch/cpu/msp430/dev/uart1-putchar.c similarity index 100% rename from drivers/cpu/msp430/dev/uart1-putchar.c rename to arch/cpu/msp430/dev/uart1-putchar.c diff --git a/drivers/cpu/msp430/dev/uart1.h b/arch/cpu/msp430/dev/uart1.h similarity index 100% rename from drivers/cpu/msp430/dev/uart1.h rename to arch/cpu/msp430/dev/uart1.h diff --git a/drivers/cpu/msp430/f1xxx/clock.c b/arch/cpu/msp430/f1xxx/clock.c similarity index 100% rename from drivers/cpu/msp430/f1xxx/clock.c rename to arch/cpu/msp430/f1xxx/clock.c diff --git a/drivers/cpu/msp430/f1xxx/msp430.c b/arch/cpu/msp430/f1xxx/msp430.c similarity index 100% rename from drivers/cpu/msp430/f1xxx/msp430.c rename to arch/cpu/msp430/f1xxx/msp430.c diff --git a/drivers/cpu/msp430/f1xxx/rtimer-arch.c b/arch/cpu/msp430/f1xxx/rtimer-arch.c similarity index 100% rename from drivers/cpu/msp430/f1xxx/rtimer-arch.c rename to arch/cpu/msp430/f1xxx/rtimer-arch.c diff --git a/drivers/cpu/msp430/f1xxx/spi.c b/arch/cpu/msp430/f1xxx/spi.c similarity index 100% rename from drivers/cpu/msp430/f1xxx/spi.c rename to arch/cpu/msp430/f1xxx/spi.c diff --git a/drivers/cpu/msp430/f1xxx/uart1.c b/arch/cpu/msp430/f1xxx/uart1.c similarity index 100% rename from drivers/cpu/msp430/f1xxx/uart1.c rename to arch/cpu/msp430/f1xxx/uart1.c diff --git a/drivers/cpu/msp430/f2xxx/msp430.c b/arch/cpu/msp430/f2xxx/msp430.c similarity index 100% rename from drivers/cpu/msp430/f2xxx/msp430.c rename to arch/cpu/msp430/f2xxx/msp430.c diff --git a/drivers/cpu/msp430/f2xxx/spi.c b/arch/cpu/msp430/f2xxx/spi.c similarity index 100% rename from drivers/cpu/msp430/f2xxx/spi.c rename to arch/cpu/msp430/f2xxx/spi.c diff --git a/drivers/cpu/msp430/f2xxx/uart0.c b/arch/cpu/msp430/f2xxx/uart0.c similarity index 100% rename from drivers/cpu/msp430/f2xxx/uart0.c rename to arch/cpu/msp430/f2xxx/uart0.c diff --git a/drivers/cpu/msp430/f2xxx/uart1.c b/arch/cpu/msp430/f2xxx/uart1.c similarity index 100% rename from drivers/cpu/msp430/f2xxx/uart1.c rename to arch/cpu/msp430/f2xxx/uart1.c diff --git a/drivers/cpu/msp430/f5xxx/clock.c b/arch/cpu/msp430/f5xxx/clock.c similarity index 100% rename from drivers/cpu/msp430/f5xxx/clock.c rename to arch/cpu/msp430/f5xxx/clock.c diff --git a/drivers/cpu/msp430/f5xxx/msp430.c b/arch/cpu/msp430/f5xxx/msp430.c similarity index 100% rename from drivers/cpu/msp430/f5xxx/msp430.c rename to arch/cpu/msp430/f5xxx/msp430.c diff --git a/drivers/cpu/msp430/f5xxx/rtimer-arch.c b/arch/cpu/msp430/f5xxx/rtimer-arch.c similarity index 100% rename from drivers/cpu/msp430/f5xxx/rtimer-arch.c rename to arch/cpu/msp430/f5xxx/rtimer-arch.c diff --git a/drivers/cpu/msp430/f5xxx/spi.c b/arch/cpu/msp430/f5xxx/spi.c similarity index 100% rename from drivers/cpu/msp430/f5xxx/spi.c rename to arch/cpu/msp430/f5xxx/spi.c diff --git a/drivers/cpu/msp430/f5xxx/uart0.c b/arch/cpu/msp430/f5xxx/uart0.c similarity index 100% rename from drivers/cpu/msp430/f5xxx/uart0.c rename to arch/cpu/msp430/f5xxx/uart0.c diff --git a/drivers/cpu/msp430/f5xxx/uart1.c b/arch/cpu/msp430/f5xxx/uart1.c similarity index 100% rename from drivers/cpu/msp430/f5xxx/uart1.c rename to arch/cpu/msp430/f5xxx/uart1.c diff --git a/drivers/cpu/msp430/flash.c b/arch/cpu/msp430/flash.c similarity index 100% rename from drivers/cpu/msp430/flash.c rename to arch/cpu/msp430/flash.c diff --git a/drivers/cpu/msp430/isr_compat.h b/arch/cpu/msp430/isr_compat.h similarity index 100% rename from drivers/cpu/msp430/isr_compat.h rename to arch/cpu/msp430/isr_compat.h diff --git a/drivers/cpu/msp430/leds-arch.c b/arch/cpu/msp430/leds-arch.c similarity index 100% rename from drivers/cpu/msp430/leds-arch.c rename to arch/cpu/msp430/leds-arch.c diff --git a/drivers/cpu/msp430/lpm.c b/arch/cpu/msp430/lpm.c similarity index 100% rename from drivers/cpu/msp430/lpm.c rename to arch/cpu/msp430/lpm.c diff --git a/drivers/cpu/msp430/minileds.c b/arch/cpu/msp430/minileds.c similarity index 100% rename from drivers/cpu/msp430/minileds.c rename to arch/cpu/msp430/minileds.c diff --git a/drivers/cpu/msp430/msp430def.h b/arch/cpu/msp430/msp430def.h similarity index 100% rename from drivers/cpu/msp430/msp430def.h rename to arch/cpu/msp430/msp430def.h diff --git a/drivers/cpu/msp430/mtarch.c b/arch/cpu/msp430/mtarch.c similarity index 100% rename from drivers/cpu/msp430/mtarch.c rename to arch/cpu/msp430/mtarch.c diff --git a/drivers/cpu/msp430/mtarch.h b/arch/cpu/msp430/mtarch.h similarity index 100% rename from drivers/cpu/msp430/mtarch.h rename to arch/cpu/msp430/mtarch.h diff --git a/drivers/cpu/msp430/rom.c b/arch/cpu/msp430/rom.c similarity index 100% rename from drivers/cpu/msp430/rom.c rename to arch/cpu/msp430/rom.c diff --git a/drivers/cpu/msp430/rtimer-arch.h b/arch/cpu/msp430/rtimer-arch.h similarity index 100% rename from drivers/cpu/msp430/rtimer-arch.h rename to arch/cpu/msp430/rtimer-arch.h diff --git a/drivers/cpu/msp430/slip_uart0.c b/arch/cpu/msp430/slip_uart0.c similarity index 100% rename from drivers/cpu/msp430/slip_uart0.c rename to arch/cpu/msp430/slip_uart0.c diff --git a/drivers/cpu/msp430/slip_uart1.c b/arch/cpu/msp430/slip_uart1.c similarity index 100% rename from drivers/cpu/msp430/slip_uart1.c rename to arch/cpu/msp430/slip_uart1.c diff --git a/drivers/cpu/msp430/uip-ipchksum.c b/arch/cpu/msp430/uip-ipchksum.c similarity index 100% rename from drivers/cpu/msp430/uip-ipchksum.c rename to arch/cpu/msp430/uip-ipchksum.c diff --git a/drivers/cpu/msp430/watchdog.c b/arch/cpu/msp430/watchdog.c similarity index 100% rename from drivers/cpu/msp430/watchdog.c rename to arch/cpu/msp430/watchdog.c diff --git a/drivers/cpu/native/Makefile.native b/arch/cpu/native/Makefile.native similarity index 100% rename from drivers/cpu/native/Makefile.native rename to arch/cpu/native/Makefile.native diff --git a/drivers/cpu/native/dev/eeprom.c b/arch/cpu/native/dev/eeprom.c similarity index 100% rename from drivers/cpu/native/dev/eeprom.c rename to arch/cpu/native/dev/eeprom.c diff --git a/drivers/cpu/native/dev/uart1.h b/arch/cpu/native/dev/uart1.h similarity index 100% rename from drivers/cpu/native/dev/uart1.h rename to arch/cpu/native/dev/uart1.h diff --git a/drivers/cpu/native/mtarch.c b/arch/cpu/native/mtarch.c similarity index 100% rename from drivers/cpu/native/mtarch.c rename to arch/cpu/native/mtarch.c diff --git a/drivers/cpu/native/mtarch.h b/arch/cpu/native/mtarch.h similarity index 100% rename from drivers/cpu/native/mtarch.h rename to arch/cpu/native/mtarch.h diff --git a/drivers/cpu/native/net/README-WPCAP.md b/arch/cpu/native/net/README-WPCAP.md similarity index 100% rename from drivers/cpu/native/net/README-WPCAP.md rename to arch/cpu/native/net/README-WPCAP.md diff --git a/drivers/cpu/native/net/linuxradio-drv.c b/arch/cpu/native/net/linuxradio-drv.c similarity index 100% rename from drivers/cpu/native/net/linuxradio-drv.c rename to arch/cpu/native/net/linuxradio-drv.c diff --git a/drivers/cpu/native/net/linuxradio-drv.h b/arch/cpu/native/net/linuxradio-drv.h similarity index 100% rename from drivers/cpu/native/net/linuxradio-drv.h rename to arch/cpu/native/net/linuxradio-drv.h diff --git a/drivers/cpu/native/net/tapdev-drv.c b/arch/cpu/native/net/tapdev-drv.c similarity index 100% rename from drivers/cpu/native/net/tapdev-drv.c rename to arch/cpu/native/net/tapdev-drv.c diff --git a/drivers/cpu/native/net/tapdev-drv.h b/arch/cpu/native/net/tapdev-drv.h similarity index 100% rename from drivers/cpu/native/net/tapdev-drv.h rename to arch/cpu/native/net/tapdev-drv.h diff --git a/drivers/cpu/native/net/tapdev.c b/arch/cpu/native/net/tapdev.c similarity index 100% rename from drivers/cpu/native/net/tapdev.c rename to arch/cpu/native/net/tapdev.c diff --git a/drivers/cpu/native/net/tapdev.h b/arch/cpu/native/net/tapdev.h similarity index 100% rename from drivers/cpu/native/net/tapdev.h rename to arch/cpu/native/net/tapdev.h diff --git a/drivers/cpu/native/net/tapdev6.c b/arch/cpu/native/net/tapdev6.c similarity index 100% rename from drivers/cpu/native/net/tapdev6.c rename to arch/cpu/native/net/tapdev6.c diff --git a/drivers/cpu/native/net/tapdev6.h b/arch/cpu/native/net/tapdev6.h similarity index 100% rename from drivers/cpu/native/net/tapdev6.h rename to arch/cpu/native/net/tapdev6.h diff --git a/drivers/cpu/native/net/wpcap-drv.c b/arch/cpu/native/net/wpcap-drv.c similarity index 100% rename from drivers/cpu/native/net/wpcap-drv.c rename to arch/cpu/native/net/wpcap-drv.c diff --git a/drivers/cpu/native/net/wpcap-drv.h b/arch/cpu/native/net/wpcap-drv.h similarity index 100% rename from drivers/cpu/native/net/wpcap-drv.h rename to arch/cpu/native/net/wpcap-drv.h diff --git a/drivers/cpu/native/net/wpcap.c b/arch/cpu/native/net/wpcap.c similarity index 100% rename from drivers/cpu/native/net/wpcap.c rename to arch/cpu/native/net/wpcap.c diff --git a/drivers/cpu/native/net/wpcap.h b/arch/cpu/native/net/wpcap.h similarity index 100% rename from drivers/cpu/native/net/wpcap.h rename to arch/cpu/native/net/wpcap.h diff --git a/drivers/cpu/native/rtimer-arch.c b/arch/cpu/native/rtimer-arch.c similarity index 100% rename from drivers/cpu/native/rtimer-arch.c rename to arch/cpu/native/rtimer-arch.c diff --git a/drivers/cpu/native/rtimer-arch.h b/arch/cpu/native/rtimer-arch.h similarity index 100% rename from drivers/cpu/native/rtimer-arch.h rename to arch/cpu/native/rtimer-arch.h diff --git a/drivers/cpu/native/watchdog.c b/arch/cpu/native/watchdog.c similarity index 100% rename from drivers/cpu/native/watchdog.c rename to arch/cpu/native/watchdog.c diff --git a/drivers/cpu/nrf52832/Makefile.nrf52832 b/arch/cpu/nrf52832/Makefile.nrf52832 similarity index 100% rename from drivers/cpu/nrf52832/Makefile.nrf52832 rename to arch/cpu/nrf52832/Makefile.nrf52832 diff --git a/drivers/cpu/nrf52832/ble/ble-core.c b/arch/cpu/nrf52832/ble/ble-core.c similarity index 100% rename from drivers/cpu/nrf52832/ble/ble-core.c rename to arch/cpu/nrf52832/ble/ble-core.c diff --git a/drivers/cpu/nrf52832/ble/ble-core.h b/arch/cpu/nrf52832/ble/ble-core.h similarity index 100% rename from drivers/cpu/nrf52832/ble/ble-core.h rename to arch/cpu/nrf52832/ble/ble-core.h diff --git a/drivers/cpu/nrf52832/ble/ble-mac.c b/arch/cpu/nrf52832/ble/ble-mac.c similarity index 100% rename from drivers/cpu/nrf52832/ble/ble-mac.c rename to arch/cpu/nrf52832/ble/ble-mac.c diff --git a/drivers/cpu/nrf52832/ble/ble-mac.h b/arch/cpu/nrf52832/ble/ble-mac.h similarity index 100% rename from drivers/cpu/nrf52832/ble/ble-mac.h rename to arch/cpu/nrf52832/ble/ble-mac.h diff --git a/drivers/cpu/nrf52832/dev/clock.c b/arch/cpu/nrf52832/dev/clock.c similarity index 100% rename from drivers/cpu/nrf52832/dev/clock.c rename to arch/cpu/nrf52832/dev/clock.c diff --git a/drivers/cpu/nrf52832/dev/lpm.h b/arch/cpu/nrf52832/dev/lpm.h similarity index 100% rename from drivers/cpu/nrf52832/dev/lpm.h rename to arch/cpu/nrf52832/dev/lpm.h diff --git a/drivers/cpu/nrf52832/dev/random.c b/arch/cpu/nrf52832/dev/random.c similarity index 100% rename from drivers/cpu/nrf52832/dev/random.c rename to arch/cpu/nrf52832/dev/random.c diff --git a/drivers/cpu/nrf52832/dev/uart0.c b/arch/cpu/nrf52832/dev/uart0.c similarity index 100% rename from drivers/cpu/nrf52832/dev/uart0.c rename to arch/cpu/nrf52832/dev/uart0.c diff --git a/drivers/cpu/nrf52832/dev/uart0.h b/arch/cpu/nrf52832/dev/uart0.h similarity index 100% rename from drivers/cpu/nrf52832/dev/uart0.h rename to arch/cpu/nrf52832/dev/uart0.h diff --git a/drivers/cpu/nrf52832/dev/watchdog.c b/arch/cpu/nrf52832/dev/watchdog.c similarity index 100% rename from drivers/cpu/nrf52832/dev/watchdog.c rename to arch/cpu/nrf52832/dev/watchdog.c diff --git a/drivers/cpu/nrf52832/ld/nrf52-pca10036-sd.ld b/arch/cpu/nrf52832/ld/nrf52-pca10036-sd.ld similarity index 100% rename from drivers/cpu/nrf52832/ld/nrf52-pca10036-sd.ld rename to arch/cpu/nrf52832/ld/nrf52-pca10036-sd.ld diff --git a/drivers/cpu/nrf52832/ld/nrf52-pca10040-sd.ld b/arch/cpu/nrf52832/ld/nrf52-pca10040-sd.ld similarity index 100% rename from drivers/cpu/nrf52832/ld/nrf52-pca10040-sd.ld rename to arch/cpu/nrf52832/ld/nrf52-pca10040-sd.ld diff --git a/drivers/cpu/nrf52832/ld/nrf52.ld b/arch/cpu/nrf52832/ld/nrf52.ld similarity index 100% rename from drivers/cpu/nrf52832/ld/nrf52.ld rename to arch/cpu/nrf52832/ld/nrf52.ld diff --git a/drivers/cpu/nrf52832/mtarch.h b/arch/cpu/nrf52832/mtarch.h similarity index 100% rename from drivers/cpu/nrf52832/mtarch.h rename to arch/cpu/nrf52832/mtarch.h diff --git a/drivers/cpu/nrf52832/putchar.c b/arch/cpu/nrf52832/putchar.c similarity index 100% rename from drivers/cpu/nrf52832/putchar.c rename to arch/cpu/nrf52832/putchar.c diff --git a/drivers/cpu/nrf52832/rtimer-arch.c b/arch/cpu/nrf52832/rtimer-arch.c similarity index 100% rename from drivers/cpu/nrf52832/rtimer-arch.c rename to arch/cpu/nrf52832/rtimer-arch.c diff --git a/drivers/cpu/nrf52832/rtimer-arch.h b/arch/cpu/nrf52832/rtimer-arch.h similarity index 100% rename from drivers/cpu/nrf52832/rtimer-arch.h rename to arch/cpu/nrf52832/rtimer-arch.h diff --git a/drivers/cpu/x86/Makefile.x86_common b/arch/cpu/x86/Makefile.x86_common similarity index 100% rename from drivers/cpu/x86/Makefile.x86_common rename to arch/cpu/x86/Makefile.x86_common diff --git a/drivers/cpu/x86/Makefile.x86_quarkX1000 b/arch/cpu/x86/Makefile.x86_quarkX1000 similarity index 91% rename from drivers/cpu/x86/Makefile.x86_quarkX1000 rename to arch/cpu/x86/Makefile.x86_quarkX1000 index 860c55b05..7a3b5b45e 100644 --- a/drivers/cpu/x86/Makefile.x86_quarkX1000 +++ b/arch/cpu/x86/Makefile.x86_quarkX1000 @@ -1,7 +1,7 @@ # See mm/README.md for a description of available settings: X86_CONF_PROT_DOMAINS ?= none -include $(CONTIKI)/drivers/cpu/x86/Makefile.x86_common +include $(CONTIKI)/arch/cpu/x86/Makefile.x86_common CONTIKI_CPU_DIRS += drivers/legacy_pc drivers/quarkX1000 init/legacy_pc net mm @@ -32,7 +32,7 @@ X86_CONF_SYSCALLS_INT = 1 X86_CONF_MULTI_SEG = 1 else $(error Unrecognized setting for X86_CONF_PROT_DOMAINS: \ - $(X86_CONF_PROT_DOMAINS). See drivers/cpu/x86/mm/README.md for \ + $(X86_CONF_PROT_DOMAINS). See arch/cpu/x86/mm/README.md for \ descriptions of available settings) endif @@ -57,7 +57,7 @@ endif endif CFLAGS += -m32 -march=i586 -mtune=i586 -LDFLAGS += -m32 -Xlinker -T -Xlinker $(CONTIKI)/drivers/cpu/x86/quarkX1000$(LINKERSCRIPT_SFX).ld +LDFLAGS += -m32 -Xlinker -T -Xlinker $(CONTIKI)/arch/cpu/x86/quarkX1000$(LINKERSCRIPT_SFX).ld # The C compiler is used to invoke the assembler, so the CFLAGS should be # passed to it on the command line: ASFLAGS = -c $(CFLAGS) @@ -65,7 +65,7 @@ ASFLAGS = -c $(CFLAGS) ifeq ($(X86_CONF_RESTRICT_DMA),1) CONTIKI_SOURCEFILES += imr-conf.c CFLAGS += -DX86_CONF_RESTRICT_DMA -LDFLAGS += -Xlinker -T -Xlinker $(CONTIKI)/drivers/cpu/x86/quarkX1000_dma.ld +LDFLAGS += -Xlinker -T -Xlinker $(CONTIKI)/arch/cpu/x86/quarkX1000_dma.ld endif ### UEFI support diff --git a/drivers/cpu/x86/bootstrap_quarkX1000.S b/arch/cpu/x86/bootstrap_quarkX1000.S similarity index 100% rename from drivers/cpu/x86/bootstrap_quarkX1000.S rename to arch/cpu/x86/bootstrap_quarkX1000.S diff --git a/drivers/cpu/x86/dma.h b/arch/cpu/x86/dma.h similarity index 100% rename from drivers/cpu/x86/dma.h rename to arch/cpu/x86/dma.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/nmi.c b/arch/cpu/x86/drivers/legacy_pc/nmi.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/nmi.c rename to arch/cpu/x86/drivers/legacy_pc/nmi.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/nmi.h b/arch/cpu/x86/drivers/legacy_pc/nmi.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/nmi.h rename to arch/cpu/x86/drivers/legacy_pc/nmi.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/pci.c b/arch/cpu/x86/drivers/legacy_pc/pci.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/pci.c rename to arch/cpu/x86/drivers/legacy_pc/pci.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/pci.h b/arch/cpu/x86/drivers/legacy_pc/pci.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/pci.h rename to arch/cpu/x86/drivers/legacy_pc/pci.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/pic.c b/arch/cpu/x86/drivers/legacy_pc/pic.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/pic.c rename to arch/cpu/x86/drivers/legacy_pc/pic.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/pic.h b/arch/cpu/x86/drivers/legacy_pc/pic.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/pic.h rename to arch/cpu/x86/drivers/legacy_pc/pic.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/pit.c b/arch/cpu/x86/drivers/legacy_pc/pit.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/pit.c rename to arch/cpu/x86/drivers/legacy_pc/pit.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/pit.h b/arch/cpu/x86/drivers/legacy_pc/pit.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/pit.h rename to arch/cpu/x86/drivers/legacy_pc/pit.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/rtc.c b/arch/cpu/x86/drivers/legacy_pc/rtc.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/rtc.c rename to arch/cpu/x86/drivers/legacy_pc/rtc.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/rtc.h b/arch/cpu/x86/drivers/legacy_pc/rtc.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/rtc.h rename to arch/cpu/x86/drivers/legacy_pc/rtc.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/shared-isr.c b/arch/cpu/x86/drivers/legacy_pc/shared-isr.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/shared-isr.c rename to arch/cpu/x86/drivers/legacy_pc/shared-isr.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/shared-isr.h b/arch/cpu/x86/drivers/legacy_pc/shared-isr.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/shared-isr.h rename to arch/cpu/x86/drivers/legacy_pc/shared-isr.h diff --git a/drivers/cpu/x86/drivers/legacy_pc/uart-16x50.c b/arch/cpu/x86/drivers/legacy_pc/uart-16x50.c similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/uart-16x50.c rename to arch/cpu/x86/drivers/legacy_pc/uart-16x50.c diff --git a/drivers/cpu/x86/drivers/legacy_pc/uart-16x50.h b/arch/cpu/x86/drivers/legacy_pc/uart-16x50.h similarity index 100% rename from drivers/cpu/x86/drivers/legacy_pc/uart-16x50.h rename to arch/cpu/x86/drivers/legacy_pc/uart-16x50.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/eth.c b/arch/cpu/x86/drivers/quarkX1000/eth.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/eth.c rename to arch/cpu/x86/drivers/quarkX1000/eth.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/eth.h b/arch/cpu/x86/drivers/quarkX1000/eth.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/eth.h rename to arch/cpu/x86/drivers/quarkX1000/eth.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/gpio.c b/arch/cpu/x86/drivers/quarkX1000/gpio.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/gpio.c rename to arch/cpu/x86/drivers/quarkX1000/gpio.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/gpio.h b/arch/cpu/x86/drivers/quarkX1000/gpio.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/gpio.h rename to arch/cpu/x86/drivers/quarkX1000/gpio.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/i2c-registers.h b/arch/cpu/x86/drivers/quarkX1000/i2c-registers.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/i2c-registers.h rename to arch/cpu/x86/drivers/quarkX1000/i2c-registers.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/i2c.c b/arch/cpu/x86/drivers/quarkX1000/i2c.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/i2c.c rename to arch/cpu/x86/drivers/quarkX1000/i2c.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/i2c.h b/arch/cpu/x86/drivers/quarkX1000/i2c.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/i2c.h rename to arch/cpu/x86/drivers/quarkX1000/i2c.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/imr-conf.c b/arch/cpu/x86/drivers/quarkX1000/imr-conf.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/imr-conf.c rename to arch/cpu/x86/drivers/quarkX1000/imr-conf.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/imr-conf.h b/arch/cpu/x86/drivers/quarkX1000/imr-conf.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/imr-conf.h rename to arch/cpu/x86/drivers/quarkX1000/imr-conf.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/imr.c b/arch/cpu/x86/drivers/quarkX1000/imr.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/imr.c rename to arch/cpu/x86/drivers/quarkX1000/imr.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/imr.h b/arch/cpu/x86/drivers/quarkX1000/imr.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/imr.h rename to arch/cpu/x86/drivers/quarkX1000/imr.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/msg-bus.c b/arch/cpu/x86/drivers/quarkX1000/msg-bus.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/msg-bus.c rename to arch/cpu/x86/drivers/quarkX1000/msg-bus.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/msg-bus.h b/arch/cpu/x86/drivers/quarkX1000/msg-bus.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/msg-bus.h rename to arch/cpu/x86/drivers/quarkX1000/msg-bus.h diff --git a/drivers/cpu/x86/drivers/quarkX1000/uart.c b/arch/cpu/x86/drivers/quarkX1000/uart.c similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/uart.c rename to arch/cpu/x86/drivers/quarkX1000/uart.c diff --git a/drivers/cpu/x86/drivers/quarkX1000/uart.h b/arch/cpu/x86/drivers/quarkX1000/uart.h similarity index 100% rename from drivers/cpu/x86/drivers/quarkX1000/uart.h rename to arch/cpu/x86/drivers/quarkX1000/uart.h diff --git a/drivers/cpu/x86/helpers.S b/arch/cpu/x86/helpers.S similarity index 100% rename from drivers/cpu/x86/helpers.S rename to arch/cpu/x86/helpers.S diff --git a/drivers/cpu/x86/helpers.h b/arch/cpu/x86/helpers.h similarity index 100% rename from drivers/cpu/x86/helpers.h rename to arch/cpu/x86/helpers.h diff --git a/drivers/cpu/x86/init/common/cpu.c b/arch/cpu/x86/init/common/cpu.c similarity index 100% rename from drivers/cpu/x86/init/common/cpu.c rename to arch/cpu/x86/init/common/cpu.c diff --git a/drivers/cpu/x86/init/common/cpu.h b/arch/cpu/x86/init/common/cpu.h similarity index 100% rename from drivers/cpu/x86/init/common/cpu.h rename to arch/cpu/x86/init/common/cpu.h diff --git a/drivers/cpu/x86/init/common/gdt.c b/arch/cpu/x86/init/common/gdt.c similarity index 100% rename from drivers/cpu/x86/init/common/gdt.c rename to arch/cpu/x86/init/common/gdt.c diff --git a/drivers/cpu/x86/init/common/gdt.h b/arch/cpu/x86/init/common/gdt.h similarity index 100% rename from drivers/cpu/x86/init/common/gdt.h rename to arch/cpu/x86/init/common/gdt.h diff --git a/drivers/cpu/x86/init/common/idt.c b/arch/cpu/x86/init/common/idt.c similarity index 100% rename from drivers/cpu/x86/init/common/idt.c rename to arch/cpu/x86/init/common/idt.c diff --git a/drivers/cpu/x86/init/common/idt.h b/arch/cpu/x86/init/common/idt.h similarity index 100% rename from drivers/cpu/x86/init/common/idt.h rename to arch/cpu/x86/init/common/idt.h diff --git a/drivers/cpu/x86/init/common/interrupt.h b/arch/cpu/x86/init/common/interrupt.h similarity index 100% rename from drivers/cpu/x86/init/common/interrupt.h rename to arch/cpu/x86/init/common/interrupt.h diff --git a/drivers/cpu/x86/init/common/irq.h b/arch/cpu/x86/init/common/irq.h similarity index 100% rename from drivers/cpu/x86/init/common/irq.h rename to arch/cpu/x86/init/common/irq.h diff --git a/drivers/cpu/x86/init/legacy_pc/irq.c b/arch/cpu/x86/init/legacy_pc/irq.c similarity index 100% rename from drivers/cpu/x86/init/legacy_pc/irq.c rename to arch/cpu/x86/init/legacy_pc/irq.c diff --git a/drivers/cpu/x86/mm/README.md b/arch/cpu/x86/mm/README.md similarity index 100% rename from drivers/cpu/x86/mm/README.md rename to arch/cpu/x86/mm/README.md diff --git a/drivers/cpu/x86/mm/gdt-layout.h b/arch/cpu/x86/mm/gdt-layout.h similarity index 100% rename from drivers/cpu/x86/mm/gdt-layout.h rename to arch/cpu/x86/mm/gdt-layout.h diff --git a/drivers/cpu/x86/mm/ldt-layout.h b/arch/cpu/x86/mm/ldt-layout.h similarity index 100% rename from drivers/cpu/x86/mm/ldt-layout.h rename to arch/cpu/x86/mm/ldt-layout.h diff --git a/drivers/cpu/x86/mm/multi-segment.c b/arch/cpu/x86/mm/multi-segment.c similarity index 100% rename from drivers/cpu/x86/mm/multi-segment.c rename to arch/cpu/x86/mm/multi-segment.c diff --git a/drivers/cpu/x86/mm/multi-segment.h b/arch/cpu/x86/mm/multi-segment.h similarity index 100% rename from drivers/cpu/x86/mm/multi-segment.h rename to arch/cpu/x86/mm/multi-segment.h diff --git a/drivers/cpu/x86/mm/paging-prot-domains.c b/arch/cpu/x86/mm/paging-prot-domains.c similarity index 100% rename from drivers/cpu/x86/mm/paging-prot-domains.c rename to arch/cpu/x86/mm/paging-prot-domains.c diff --git a/drivers/cpu/x86/mm/paging-prot-domains.h b/arch/cpu/x86/mm/paging-prot-domains.h similarity index 100% rename from drivers/cpu/x86/mm/paging-prot-domains.h rename to arch/cpu/x86/mm/paging-prot-domains.h diff --git a/drivers/cpu/x86/mm/paging.h b/arch/cpu/x86/mm/paging.h similarity index 100% rename from drivers/cpu/x86/mm/paging.h rename to arch/cpu/x86/mm/paging.h diff --git a/drivers/cpu/x86/mm/prot-domains.c b/arch/cpu/x86/mm/prot-domains.c similarity index 100% rename from drivers/cpu/x86/mm/prot-domains.c rename to arch/cpu/x86/mm/prot-domains.c diff --git a/drivers/cpu/x86/mm/prot-domains.h b/arch/cpu/x86/mm/prot-domains.h similarity index 100% rename from drivers/cpu/x86/mm/prot-domains.h rename to arch/cpu/x86/mm/prot-domains.h diff --git a/drivers/cpu/x86/mm/segmentation.h b/arch/cpu/x86/mm/segmentation.h similarity index 100% rename from drivers/cpu/x86/mm/segmentation.h rename to arch/cpu/x86/mm/segmentation.h diff --git a/drivers/cpu/x86/mm/stacks.c b/arch/cpu/x86/mm/stacks.c similarity index 100% rename from drivers/cpu/x86/mm/stacks.c rename to arch/cpu/x86/mm/stacks.c diff --git a/drivers/cpu/x86/mm/stacks.h b/arch/cpu/x86/mm/stacks.h similarity index 100% rename from drivers/cpu/x86/mm/stacks.h rename to arch/cpu/x86/mm/stacks.h diff --git a/drivers/cpu/x86/mm/swseg-prot-domains.c b/arch/cpu/x86/mm/swseg-prot-domains.c similarity index 100% rename from drivers/cpu/x86/mm/swseg-prot-domains.c rename to arch/cpu/x86/mm/swseg-prot-domains.c diff --git a/drivers/cpu/x86/mm/swseg-prot-domains.h b/arch/cpu/x86/mm/swseg-prot-domains.h similarity index 100% rename from drivers/cpu/x86/mm/swseg-prot-domains.h rename to arch/cpu/x86/mm/swseg-prot-domains.h diff --git a/drivers/cpu/x86/mm/syscalls-int-asm.S b/arch/cpu/x86/mm/syscalls-int-asm.S similarity index 100% rename from drivers/cpu/x86/mm/syscalls-int-asm.S rename to arch/cpu/x86/mm/syscalls-int-asm.S diff --git a/drivers/cpu/x86/mm/syscalls-int.c b/arch/cpu/x86/mm/syscalls-int.c similarity index 100% rename from drivers/cpu/x86/mm/syscalls-int.c rename to arch/cpu/x86/mm/syscalls-int.c diff --git a/drivers/cpu/x86/mm/syscalls-int.h b/arch/cpu/x86/mm/syscalls-int.h similarity index 100% rename from drivers/cpu/x86/mm/syscalls-int.h rename to arch/cpu/x86/mm/syscalls-int.h diff --git a/drivers/cpu/x86/mm/syscalls.h b/arch/cpu/x86/mm/syscalls.h similarity index 100% rename from drivers/cpu/x86/mm/syscalls.h rename to arch/cpu/x86/mm/syscalls.h diff --git a/drivers/cpu/x86/mm/tss-prot-domains-asm.S b/arch/cpu/x86/mm/tss-prot-domains-asm.S similarity index 100% rename from drivers/cpu/x86/mm/tss-prot-domains-asm.S rename to arch/cpu/x86/mm/tss-prot-domains-asm.S diff --git a/drivers/cpu/x86/mm/tss-prot-domains.c b/arch/cpu/x86/mm/tss-prot-domains.c similarity index 100% rename from drivers/cpu/x86/mm/tss-prot-domains.c rename to arch/cpu/x86/mm/tss-prot-domains.c diff --git a/drivers/cpu/x86/mm/tss-prot-domains.h b/arch/cpu/x86/mm/tss-prot-domains.h similarity index 100% rename from drivers/cpu/x86/mm/tss-prot-domains.h rename to arch/cpu/x86/mm/tss-prot-domains.h diff --git a/drivers/cpu/x86/mm/tss.c b/arch/cpu/x86/mm/tss.c similarity index 100% rename from drivers/cpu/x86/mm/tss.c rename to arch/cpu/x86/mm/tss.c diff --git a/drivers/cpu/x86/mm/tss.h b/arch/cpu/x86/mm/tss.h similarity index 100% rename from drivers/cpu/x86/mm/tss.h rename to arch/cpu/x86/mm/tss.h diff --git a/drivers/cpu/x86/quarkX1000.ld b/arch/cpu/x86/quarkX1000.ld similarity index 100% rename from drivers/cpu/x86/quarkX1000.ld rename to arch/cpu/x86/quarkX1000.ld diff --git a/drivers/cpu/x86/quarkX1000_dma.ld b/arch/cpu/x86/quarkX1000_dma.ld similarity index 100% rename from drivers/cpu/x86/quarkX1000_dma.ld rename to arch/cpu/x86/quarkX1000_dma.ld diff --git a/drivers/cpu/x86/quarkX1000_multi_seg.ld b/arch/cpu/x86/quarkX1000_multi_seg.ld similarity index 100% rename from drivers/cpu/x86/quarkX1000_multi_seg.ld rename to arch/cpu/x86/quarkX1000_multi_seg.ld diff --git a/drivers/cpu/x86/quarkX1000_paging.ld b/arch/cpu/x86/quarkX1000_paging.ld similarity index 100% rename from drivers/cpu/x86/quarkX1000_paging.ld rename to arch/cpu/x86/quarkX1000_paging.ld diff --git a/drivers/cpu/x86/startup.h b/arch/cpu/x86/startup.h similarity index 100% rename from drivers/cpu/x86/startup.h rename to arch/cpu/x86/startup.h diff --git a/drivers/cpu/x86/uefi/bootstrap_uefi.c b/arch/cpu/x86/uefi/bootstrap_uefi.c similarity index 100% rename from drivers/cpu/x86/uefi/bootstrap_uefi.c rename to arch/cpu/x86/uefi/bootstrap_uefi.c diff --git a/drivers/cpu/x86/uefi/build_uefi.sh b/arch/cpu/x86/uefi/build_uefi.sh similarity index 100% rename from drivers/cpu/x86/uefi/build_uefi.sh rename to arch/cpu/x86/uefi/build_uefi.sh diff --git a/drivers/dev/bme280/README.bme280 b/arch/dev/bme280/README.bme280 similarity index 100% rename from drivers/dev/bme280/README.bme280 rename to arch/dev/bme280/README.bme280 diff --git a/drivers/dev/bme280/bme280-arch.h b/arch/dev/bme280/bme280-arch.h similarity index 100% rename from drivers/dev/bme280/bme280-arch.h rename to arch/dev/bme280/bme280-arch.h diff --git a/drivers/dev/bme280/bme280-sensor.c b/arch/dev/bme280/bme280-sensor.c similarity index 100% rename from drivers/dev/bme280/bme280-sensor.c rename to arch/dev/bme280/bme280-sensor.c diff --git a/drivers/dev/bme280/bme280-sensor.h b/arch/dev/bme280/bme280-sensor.h similarity index 100% rename from drivers/dev/bme280/bme280-sensor.h rename to arch/dev/bme280/bme280-sensor.h diff --git a/drivers/dev/bme280/bme280.c b/arch/dev/bme280/bme280.c similarity index 100% rename from drivers/dev/bme280/bme280.c rename to arch/dev/bme280/bme280.c diff --git a/drivers/dev/bme280/bme280.h b/arch/dev/bme280/bme280.h similarity index 100% rename from drivers/dev/bme280/bme280.h rename to arch/dev/bme280/bme280.h diff --git a/drivers/dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c b/arch/dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c similarity index 100% rename from drivers/dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c rename to arch/dev/cc1200/cc1200-802154g-863-870-fsk-50kbps.c diff --git a/drivers/dev/cc1200/cc1200-868-fsk-1-2kbps.c b/arch/dev/cc1200/cc1200-868-fsk-1-2kbps.c similarity index 100% rename from drivers/dev/cc1200/cc1200-868-fsk-1-2kbps.c rename to arch/dev/cc1200/cc1200-868-fsk-1-2kbps.c diff --git a/drivers/dev/cc1200/cc1200-arch.h b/arch/dev/cc1200/cc1200-arch.h similarity index 100% rename from drivers/dev/cc1200/cc1200-arch.h rename to arch/dev/cc1200/cc1200-arch.h diff --git a/drivers/dev/cc1200/cc1200-conf.h b/arch/dev/cc1200/cc1200-conf.h similarity index 100% rename from drivers/dev/cc1200/cc1200-conf.h rename to arch/dev/cc1200/cc1200-conf.h diff --git a/drivers/dev/cc1200/cc1200-const.h b/arch/dev/cc1200/cc1200-const.h similarity index 100% rename from drivers/dev/cc1200/cc1200-const.h rename to arch/dev/cc1200/cc1200-const.h diff --git a/drivers/dev/cc1200/cc1200-rf-cfg.h b/arch/dev/cc1200/cc1200-rf-cfg.h similarity index 100% rename from drivers/dev/cc1200/cc1200-rf-cfg.h rename to arch/dev/cc1200/cc1200-rf-cfg.h diff --git a/drivers/dev/cc1200/cc1200.c b/arch/dev/cc1200/cc1200.c similarity index 100% rename from drivers/dev/cc1200/cc1200.c rename to arch/dev/cc1200/cc1200.c diff --git a/drivers/dev/cc2420/cc2420.c b/arch/dev/cc2420/cc2420.c similarity index 100% rename from drivers/dev/cc2420/cc2420.c rename to arch/dev/cc2420/cc2420.c diff --git a/drivers/dev/cc2420/cc2420.h b/arch/dev/cc2420/cc2420.h similarity index 100% rename from drivers/dev/cc2420/cc2420.h rename to arch/dev/cc2420/cc2420.h diff --git a/drivers/dev/cc2420/cc2420_const.h b/arch/dev/cc2420/cc2420_const.h similarity index 100% rename from drivers/dev/cc2420/cc2420_const.h rename to arch/dev/cc2420/cc2420_const.h diff --git a/drivers/dev/disk/disk.h b/arch/dev/disk/disk.h similarity index 100% rename from drivers/dev/disk/disk.h rename to arch/dev/disk/disk.h diff --git a/drivers/dev/disk/mmc/mmc-arch.h b/arch/dev/disk/mmc/mmc-arch.h similarity index 100% rename from drivers/dev/disk/mmc/mmc-arch.h rename to arch/dev/disk/mmc/mmc-arch.h diff --git a/drivers/dev/disk/mmc/mmc.c b/arch/dev/disk/mmc/mmc.c similarity index 100% rename from drivers/dev/disk/mmc/mmc.c rename to arch/dev/disk/mmc/mmc.c diff --git a/drivers/dev/disk/mmc/mmc.h b/arch/dev/disk/mmc/mmc.h similarity index 100% rename from drivers/dev/disk/mmc/mmc.h rename to arch/dev/disk/mmc/mmc.h diff --git a/drivers/dev/ds2411/ds2411.c b/arch/dev/ds2411/ds2411.c similarity index 100% rename from drivers/dev/ds2411/ds2411.c rename to arch/dev/ds2411/ds2411.c diff --git a/drivers/dev/ds2411/ds2411.h b/arch/dev/ds2411/ds2411.h similarity index 100% rename from drivers/dev/ds2411/ds2411.h rename to arch/dev/ds2411/ds2411.h diff --git a/drivers/dev/enc28j60/enc28j60-ip64-driver.c b/arch/dev/enc28j60/enc28j60-ip64-driver.c similarity index 100% rename from drivers/dev/enc28j60/enc28j60-ip64-driver.c rename to arch/dev/enc28j60/enc28j60-ip64-driver.c diff --git a/drivers/dev/enc28j60/enc28j60-ip64-driver.h b/arch/dev/enc28j60/enc28j60-ip64-driver.h similarity index 100% rename from drivers/dev/enc28j60/enc28j60-ip64-driver.h rename to arch/dev/enc28j60/enc28j60-ip64-driver.h diff --git a/drivers/dev/enc28j60/enc28j60.c b/arch/dev/enc28j60/enc28j60.c similarity index 100% rename from drivers/dev/enc28j60/enc28j60.c rename to arch/dev/enc28j60/enc28j60.c diff --git a/drivers/dev/enc28j60/enc28j60.h b/arch/dev/enc28j60/enc28j60.h similarity index 100% rename from drivers/dev/enc28j60/enc28j60.h rename to arch/dev/enc28j60/enc28j60.h diff --git a/drivers/dev/sht11/sht11-sensor.c b/arch/dev/sht11/sht11-sensor.c similarity index 100% rename from drivers/dev/sht11/sht11-sensor.c rename to arch/dev/sht11/sht11-sensor.c diff --git a/drivers/dev/sht11/sht11-sensor.h b/arch/dev/sht11/sht11-sensor.h similarity index 100% rename from drivers/dev/sht11/sht11-sensor.h rename to arch/dev/sht11/sht11-sensor.h diff --git a/drivers/dev/sht11/sht11.c b/arch/dev/sht11/sht11.c similarity index 100% rename from drivers/dev/sht11/sht11.c rename to arch/dev/sht11/sht11.c diff --git a/drivers/dev/sht11/sht11.h b/arch/dev/sht11/sht11.h similarity index 100% rename from drivers/dev/sht11/sht11.h rename to arch/dev/sht11/sht11.h diff --git a/drivers/platform/cc2538dk/Makefile.cc2538dk b/arch/platform/cc2538dk/Makefile.cc2538dk similarity index 96% rename from drivers/platform/cc2538dk/Makefile.cc2538dk rename to arch/platform/cc2538dk/Makefile.cc2538dk index 2de77c5fc..eebb6193e 100644 --- a/drivers/platform/cc2538dk/Makefile.cc2538dk +++ b/arch/platform/cc2538dk/Makefile.cc2538dk @@ -16,7 +16,7 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) CLEAN += *.cc2538dk ### Define the CPU directory -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc2538 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/cc2538 include $(CONTIKI_CPU)/Makefile.cc2538 MODULES += core/net core/net/mac core/net/mac/framer \ diff --git a/drivers/platform/cc2538dk/README.md b/arch/platform/cc2538dk/README.md similarity index 100% rename from drivers/platform/cc2538dk/README.md rename to arch/platform/cc2538dk/README.md diff --git a/drivers/platform/cc2538dk/contiki-conf.h b/arch/platform/cc2538dk/contiki-conf.h similarity index 100% rename from drivers/platform/cc2538dk/contiki-conf.h rename to arch/platform/cc2538dk/contiki-conf.h diff --git a/drivers/platform/cc2538dk/contiki-main.c b/arch/platform/cc2538dk/contiki-main.c similarity index 100% rename from drivers/platform/cc2538dk/contiki-main.c rename to arch/platform/cc2538dk/contiki-main.c diff --git a/drivers/platform/cc2538dk/dev/als-sensor.c b/arch/platform/cc2538dk/dev/als-sensor.c similarity index 100% rename from drivers/platform/cc2538dk/dev/als-sensor.c rename to arch/platform/cc2538dk/dev/als-sensor.c diff --git a/drivers/platform/cc2538dk/dev/als-sensor.h b/arch/platform/cc2538dk/dev/als-sensor.h similarity index 100% rename from drivers/platform/cc2538dk/dev/als-sensor.h rename to arch/platform/cc2538dk/dev/als-sensor.h diff --git a/drivers/platform/cc2538dk/dev/board.h b/arch/platform/cc2538dk/dev/board.h similarity index 100% rename from drivers/platform/cc2538dk/dev/board.h rename to arch/platform/cc2538dk/dev/board.h diff --git a/drivers/platform/cc2538dk/dev/button-sensor.c b/arch/platform/cc2538dk/dev/button-sensor.c similarity index 100% rename from drivers/platform/cc2538dk/dev/button-sensor.c rename to arch/platform/cc2538dk/dev/button-sensor.c diff --git a/drivers/platform/cc2538dk/dev/button-sensor.h b/arch/platform/cc2538dk/dev/button-sensor.h similarity index 100% rename from drivers/platform/cc2538dk/dev/button-sensor.h rename to arch/platform/cc2538dk/dev/button-sensor.h diff --git a/drivers/platform/cc2538dk/dev/leds-arch.c b/arch/platform/cc2538dk/dev/leds-arch.c similarity index 100% rename from drivers/platform/cc2538dk/dev/leds-arch.c rename to arch/platform/cc2538dk/dev/leds-arch.c diff --git a/drivers/platform/cc2538dk/dev/smartrf-sensors.c b/arch/platform/cc2538dk/dev/smartrf-sensors.c similarity index 100% rename from drivers/platform/cc2538dk/dev/smartrf-sensors.c rename to arch/platform/cc2538dk/dev/smartrf-sensors.c diff --git a/drivers/platform/cooja-ip64/Makefile.cooja-ip64 b/arch/platform/cooja-ip64/Makefile.cooja-ip64 similarity index 88% rename from drivers/platform/cooja-ip64/Makefile.cooja-ip64 rename to arch/platform/cooja-ip64/Makefile.cooja-ip64 index 352f5cd55..fd9e41d23 100644 --- a/drivers/platform/cooja-ip64/Makefile.cooja-ip64 +++ b/arch/platform/cooja-ip64/Makefile.cooja-ip64 @@ -1,4 +1,4 @@ -COOJAPLATFORMDIR=$(CONTIKI)/drivers/platform/cooja +COOJAPLATFORMDIR=$(CONTIKI)/arch/platform/cooja MODULES += core/net/ip64 include $(COOJAPLATFORMDIR)/Makefile.cooja diff --git a/drivers/platform/cooja-ip64/Makefile.customrules-cooja-ip64 b/arch/platform/cooja-ip64/Makefile.customrules-cooja-ip64 similarity index 100% rename from drivers/platform/cooja-ip64/Makefile.customrules-cooja-ip64 rename to arch/platform/cooja-ip64/Makefile.customrules-cooja-ip64 diff --git a/drivers/platform/cooja-ip64/contiki-cooja-ip64-main.c b/arch/platform/cooja-ip64/contiki-cooja-ip64-main.c similarity index 100% rename from drivers/platform/cooja-ip64/contiki-cooja-ip64-main.c rename to arch/platform/cooja-ip64/contiki-cooja-ip64-main.c diff --git a/drivers/platform/cooja-ip64/ip64-conf.h b/arch/platform/cooja-ip64/ip64-conf.h similarity index 100% rename from drivers/platform/cooja-ip64/ip64-conf.h rename to arch/platform/cooja-ip64/ip64-conf.h diff --git a/drivers/platform/cooja-ip64/subplatform-conf.h b/arch/platform/cooja-ip64/subplatform-conf.h similarity index 100% rename from drivers/platform/cooja-ip64/subplatform-conf.h rename to arch/platform/cooja-ip64/subplatform-conf.h diff --git a/drivers/platform/cooja/Makefile.cooja b/arch/platform/cooja/Makefile.cooja similarity index 96% rename from drivers/platform/cooja/Makefile.cooja rename to arch/platform/cooja/Makefile.cooja index b7fbcd9cc..66292414c 100644 --- a/drivers/platform/cooja/Makefile.cooja +++ b/arch/platform/cooja/Makefile.cooja @@ -41,7 +41,7 @@ JNILIB = $(OBJECTDIR)/$(LIBNAME).$(TARGET) CONTIKI_APP_OBJ = $(CONTIKI_APP).co ### COOJA platform sources -COOJA = $(CONTIKI)/drivers/platform/$(TARGET) +COOJA = $(CONTIKI)/arch/platform/$(TARGET) CONTIKI_TARGET_DIRS = . dev lib sys cfs net # (COOJA_SOURCEDIRS contains additional sources dirs set from simulator) @@ -67,7 +67,7 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) .SUFFIXES: ### Define the CPU directory -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/x86 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/x86 ### Compiler arguments #CC = gcc diff --git a/drivers/platform/cooja/Makefile.customrules-cooja b/arch/platform/cooja/Makefile.customrules-cooja similarity index 100% rename from drivers/platform/cooja/Makefile.customrules-cooja rename to arch/platform/cooja/Makefile.customrules-cooja diff --git a/drivers/platform/cooja/cfs/cfs-cooja.c b/arch/platform/cooja/cfs/cfs-cooja.c similarity index 100% rename from drivers/platform/cooja/cfs/cfs-cooja.c rename to arch/platform/cooja/cfs/cfs-cooja.c diff --git a/drivers/platform/cooja/contiki-conf.h b/arch/platform/cooja/contiki-conf.h similarity index 100% rename from drivers/platform/cooja/contiki-conf.h rename to arch/platform/cooja/contiki-conf.h diff --git a/drivers/platform/cooja/contiki-cooja-main.c b/arch/platform/cooja/contiki-cooja-main.c similarity index 100% rename from drivers/platform/cooja/contiki-cooja-main.c rename to arch/platform/cooja/contiki-cooja-main.c diff --git a/drivers/platform/cooja/dev/beep.c b/arch/platform/cooja/dev/beep.c similarity index 100% rename from drivers/platform/cooja/dev/beep.c rename to arch/platform/cooja/dev/beep.c diff --git a/drivers/platform/cooja/dev/beep.h b/arch/platform/cooja/dev/beep.h similarity index 100% rename from drivers/platform/cooja/dev/beep.h rename to arch/platform/cooja/dev/beep.h diff --git a/drivers/platform/cooja/dev/button-sensor.c b/arch/platform/cooja/dev/button-sensor.c similarity index 100% rename from drivers/platform/cooja/dev/button-sensor.c rename to arch/platform/cooja/dev/button-sensor.c diff --git a/drivers/platform/cooja/dev/button-sensor.h b/arch/platform/cooja/dev/button-sensor.h similarity index 100% rename from drivers/platform/cooja/dev/button-sensor.h rename to arch/platform/cooja/dev/button-sensor.h diff --git a/drivers/platform/cooja/dev/cooja-radio.c b/arch/platform/cooja/dev/cooja-radio.c similarity index 100% rename from drivers/platform/cooja/dev/cooja-radio.c rename to arch/platform/cooja/dev/cooja-radio.c diff --git a/drivers/platform/cooja/dev/cooja-radio.h b/arch/platform/cooja/dev/cooja-radio.h similarity index 100% rename from drivers/platform/cooja/dev/cooja-radio.h rename to arch/platform/cooja/dev/cooja-radio.h diff --git a/drivers/platform/cooja/dev/eeprom.c b/arch/platform/cooja/dev/eeprom.c similarity index 100% rename from drivers/platform/cooja/dev/eeprom.c rename to arch/platform/cooja/dev/eeprom.c diff --git a/drivers/platform/cooja/dev/ip.c b/arch/platform/cooja/dev/ip.c similarity index 100% rename from drivers/platform/cooja/dev/ip.c rename to arch/platform/cooja/dev/ip.c diff --git a/drivers/platform/cooja/dev/ip.h b/arch/platform/cooja/dev/ip.h similarity index 100% rename from drivers/platform/cooja/dev/ip.h rename to arch/platform/cooja/dev/ip.h diff --git a/drivers/platform/cooja/dev/leds-arch.c b/arch/platform/cooja/dev/leds-arch.c similarity index 100% rename from drivers/platform/cooja/dev/leds-arch.c rename to arch/platform/cooja/dev/leds-arch.c diff --git a/drivers/platform/cooja/dev/moteid.c b/arch/platform/cooja/dev/moteid.c similarity index 100% rename from drivers/platform/cooja/dev/moteid.c rename to arch/platform/cooja/dev/moteid.c diff --git a/drivers/platform/cooja/dev/moteid.h b/arch/platform/cooja/dev/moteid.h similarity index 100% rename from drivers/platform/cooja/dev/moteid.h rename to arch/platform/cooja/dev/moteid.h diff --git a/drivers/platform/cooja/dev/pir-sensor.c b/arch/platform/cooja/dev/pir-sensor.c similarity index 100% rename from drivers/platform/cooja/dev/pir-sensor.c rename to arch/platform/cooja/dev/pir-sensor.c diff --git a/drivers/platform/cooja/dev/pir-sensor.h b/arch/platform/cooja/dev/pir-sensor.h similarity index 100% rename from drivers/platform/cooja/dev/pir-sensor.h rename to arch/platform/cooja/dev/pir-sensor.h diff --git a/drivers/platform/cooja/dev/rs232.c b/arch/platform/cooja/dev/rs232.c similarity index 100% rename from drivers/platform/cooja/dev/rs232.c rename to arch/platform/cooja/dev/rs232.c diff --git a/drivers/platform/cooja/dev/rs232.h b/arch/platform/cooja/dev/rs232.h similarity index 100% rename from drivers/platform/cooja/dev/rs232.h rename to arch/platform/cooja/dev/rs232.h diff --git a/drivers/platform/cooja/dev/uart1.h b/arch/platform/cooja/dev/uart1.h similarity index 100% rename from drivers/platform/cooja/dev/uart1.h rename to arch/platform/cooja/dev/uart1.h diff --git a/drivers/platform/cooja/dev/vib-sensor.c b/arch/platform/cooja/dev/vib-sensor.c similarity index 100% rename from drivers/platform/cooja/dev/vib-sensor.c rename to arch/platform/cooja/dev/vib-sensor.c diff --git a/drivers/platform/cooja/dev/vib-sensor.h b/arch/platform/cooja/dev/vib-sensor.h similarity index 100% rename from drivers/platform/cooja/dev/vib-sensor.h rename to arch/platform/cooja/dev/vib-sensor.h diff --git a/drivers/platform/cooja/dev/watchdog.c b/arch/platform/cooja/dev/watchdog.c similarity index 100% rename from drivers/platform/cooja/dev/watchdog.c rename to arch/platform/cooja/dev/watchdog.c diff --git a/drivers/platform/cooja/lib/simEnvChange.c b/arch/platform/cooja/lib/simEnvChange.c similarity index 100% rename from drivers/platform/cooja/lib/simEnvChange.c rename to arch/platform/cooja/lib/simEnvChange.c diff --git a/drivers/platform/cooja/lib/simEnvChange.h b/arch/platform/cooja/lib/simEnvChange.h similarity index 100% rename from drivers/platform/cooja/lib/simEnvChange.h rename to arch/platform/cooja/lib/simEnvChange.h diff --git a/drivers/platform/cooja/mtarch.c b/arch/platform/cooja/mtarch.c similarity index 100% rename from drivers/platform/cooja/mtarch.c rename to arch/platform/cooja/mtarch.c diff --git a/drivers/platform/cooja/mtarch.h b/arch/platform/cooja/mtarch.h similarity index 100% rename from drivers/platform/cooja/mtarch.h rename to arch/platform/cooja/mtarch.h diff --git a/drivers/platform/cooja/net/init-net.h b/arch/platform/cooja/net/init-net.h similarity index 100% rename from drivers/platform/cooja/net/init-net.h rename to arch/platform/cooja/net/init-net.h diff --git a/drivers/platform/cooja/net/uip-driver.c b/arch/platform/cooja/net/uip-driver.c similarity index 100% rename from drivers/platform/cooja/net/uip-driver.c rename to arch/platform/cooja/net/uip-driver.c diff --git a/drivers/platform/cooja/net/uip-driver.h b/arch/platform/cooja/net/uip-driver.h similarity index 100% rename from drivers/platform/cooja/net/uip-driver.h rename to arch/platform/cooja/net/uip-driver.h diff --git a/drivers/platform/cooja/rtimer-arch.c b/arch/platform/cooja/rtimer-arch.c similarity index 100% rename from drivers/platform/cooja/rtimer-arch.c rename to arch/platform/cooja/rtimer-arch.c diff --git a/drivers/platform/cooja/rtimer-arch.h b/arch/platform/cooja/rtimer-arch.h similarity index 100% rename from drivers/platform/cooja/rtimer-arch.h rename to arch/platform/cooja/rtimer-arch.h diff --git a/drivers/platform/cooja/slip-arch.c b/arch/platform/cooja/slip-arch.c similarity index 100% rename from drivers/platform/cooja/slip-arch.c rename to arch/platform/cooja/slip-arch.c diff --git a/drivers/platform/cooja/sys/clock.c b/arch/platform/cooja/sys/clock.c similarity index 100% rename from drivers/platform/cooja/sys/clock.c rename to arch/platform/cooja/sys/clock.c diff --git a/drivers/platform/cooja/sys/cooja_mt.c b/arch/platform/cooja/sys/cooja_mt.c similarity index 100% rename from drivers/platform/cooja/sys/cooja_mt.c rename to arch/platform/cooja/sys/cooja_mt.c diff --git a/drivers/platform/cooja/sys/cooja_mt.h b/arch/platform/cooja/sys/cooja_mt.h similarity index 100% rename from drivers/platform/cooja/sys/cooja_mt.h rename to arch/platform/cooja/sys/cooja_mt.h diff --git a/drivers/platform/cooja/sys/cooja_mtarch.c b/arch/platform/cooja/sys/cooja_mtarch.c similarity index 100% rename from drivers/platform/cooja/sys/cooja_mtarch.c rename to arch/platform/cooja/sys/cooja_mtarch.c diff --git a/drivers/platform/cooja/sys/cooja_mtarch.h b/arch/platform/cooja/sys/cooja_mtarch.h similarity index 100% rename from drivers/platform/cooja/sys/cooja_mtarch.h rename to arch/platform/cooja/sys/cooja_mtarch.h diff --git a/drivers/platform/cooja/sys/log.c b/arch/platform/cooja/sys/log.c similarity index 100% rename from drivers/platform/cooja/sys/log.c rename to arch/platform/cooja/sys/log.c diff --git a/drivers/platform/cooja/sys/node-id.h b/arch/platform/cooja/sys/node-id.h similarity index 100% rename from drivers/platform/cooja/sys/node-id.h rename to arch/platform/cooja/sys/node-id.h diff --git a/drivers/platform/cooja/testapps/hello-world.c b/arch/platform/cooja/testapps/hello-world.c similarity index 100% rename from drivers/platform/cooja/testapps/hello-world.c rename to arch/platform/cooja/testapps/hello-world.c diff --git a/drivers/platform/cooja/testapps/testbutton.c b/arch/platform/cooja/testapps/testbutton.c similarity index 100% rename from drivers/platform/cooja/testapps/testbutton.c rename to arch/platform/cooja/testapps/testbutton.c diff --git a/drivers/platform/cooja/testapps/testcfs.c b/arch/platform/cooja/testapps/testcfs.c similarity index 100% rename from drivers/platform/cooja/testapps/testcfs.c rename to arch/platform/cooja/testapps/testcfs.c diff --git a/drivers/platform/cooja/testapps/testctimer.c b/arch/platform/cooja/testapps/testctimer.c similarity index 100% rename from drivers/platform/cooja/testapps/testctimer.c rename to arch/platform/cooja/testapps/testctimer.c diff --git a/drivers/platform/cooja/testapps/testetimer.c b/arch/platform/cooja/testapps/testetimer.c similarity index 100% rename from drivers/platform/cooja/testapps/testetimer.c rename to arch/platform/cooja/testapps/testetimer.c diff --git a/drivers/platform/cooja/testapps/testsensors.c b/arch/platform/cooja/testapps/testsensors.c similarity index 100% rename from drivers/platform/cooja/testapps/testsensors.c rename to arch/platform/cooja/testapps/testsensors.c diff --git a/drivers/platform/cooja/testapps/testserial.c b/arch/platform/cooja/testapps/testserial.c similarity index 100% rename from drivers/platform/cooja/testapps/testserial.c rename to arch/platform/cooja/testapps/testserial.c diff --git a/drivers/platform/cooja/testapps/testuip.c b/arch/platform/cooja/testapps/testuip.c similarity index 100% rename from drivers/platform/cooja/testapps/testuip.c rename to arch/platform/cooja/testapps/testuip.c diff --git a/drivers/platform/galileo/Makefile.customrules-galileo b/arch/platform/galileo/Makefile.customrules-galileo similarity index 96% rename from drivers/platform/galileo/Makefile.customrules-galileo rename to arch/platform/galileo/Makefile.customrules-galileo index 0fa62301c..0591a4ec4 100644 --- a/drivers/platform/galileo/Makefile.customrules-galileo +++ b/arch/platform/galileo/Makefile.customrules-galileo @@ -1,5 +1,5 @@ GDB ?= gdb -OPENOCD_SCRIPTS = $(CONTIKI)/drivers/platform/galileo/bsp/openocd-scripts +OPENOCD_SCRIPTS = $(CONTIKI)/arch/platform/galileo/bsp/openocd-scripts .PHONY: debug $(CONTIKI_PROJECT) diff --git a/drivers/platform/galileo/Makefile.galileo b/arch/platform/galileo/Makefile.galileo similarity index 88% rename from drivers/platform/galileo/Makefile.galileo rename to arch/platform/galileo/Makefile.galileo index f4effcbd2..b317227bf 100644 --- a/drivers/platform/galileo/Makefile.galileo +++ b/arch/platform/galileo/Makefile.galileo @@ -1,4 +1,4 @@ -BSP_PATH=$(CONTIKI)/drivers/platform/galileo/bsp +BSP_PATH=$(CONTIKI)/arch/platform/galileo/bsp LIBC_PATH=$(BSP_PATH)/libc LIBC=$(LIBC_PATH)/i586-elf LIBGCC_PATH = /usr/lib/gcc/$(shell gcc -dumpmachine)/$(shell gcc -dumpversion) @@ -23,8 +23,8 @@ endif PROJECT_SOURCEFILES += newlib-syscalls.c -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/x86 -include $(CONTIKI)/drivers/cpu/x86/Makefile.x86_quarkX1000 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/x86 +include $(CONTIKI)/arch/cpu/x86/Makefile.x86_quarkX1000 CFLAGS += -fno-stack-protector -I$(LIBC)/include ifeq (clang,$(findstring clang,$(CC))) diff --git a/drivers/platform/galileo/README.md b/arch/platform/galileo/README.md similarity index 100% rename from drivers/platform/galileo/README.md rename to arch/platform/galileo/README.md diff --git a/drivers/platform/galileo/bsp/docker/Dockerfile b/arch/platform/galileo/bsp/docker/Dockerfile similarity index 100% rename from drivers/platform/galileo/bsp/docker/Dockerfile rename to arch/platform/galileo/bsp/docker/Dockerfile diff --git a/drivers/platform/galileo/bsp/grub/build_grub.sh b/arch/platform/galileo/bsp/grub/build_grub.sh similarity index 100% rename from drivers/platform/galileo/bsp/grub/build_grub.sh rename to arch/platform/galileo/bsp/grub/build_grub.sh diff --git a/drivers/platform/galileo/bsp/libc/build_newlib.sh b/arch/platform/galileo/bsp/libc/build_newlib.sh similarity index 100% rename from drivers/platform/galileo/bsp/libc/build_newlib.sh rename to arch/platform/galileo/bsp/libc/build_newlib.sh diff --git a/drivers/platform/galileo/bsp/libc/patches/large64_files.patch b/arch/platform/galileo/bsp/libc/patches/large64_files.patch similarity index 100% rename from drivers/platform/galileo/bsp/libc/patches/large64_files.patch rename to arch/platform/galileo/bsp/libc/patches/large64_files.patch diff --git a/drivers/platform/galileo/bsp/libc/patches/newlib_add_i586_elf.patch b/arch/platform/galileo/bsp/libc/patches/newlib_add_i586_elf.patch similarity index 100% rename from drivers/platform/galileo/bsp/libc/patches/newlib_add_i586_elf.patch rename to arch/platform/galileo/bsp/libc/patches/newlib_add_i586_elf.patch diff --git a/drivers/platform/galileo/bsp/libc/patches/stdio_strengthen_syms.patch b/arch/platform/galileo/bsp/libc/patches/stdio_strengthen_syms.patch similarity index 100% rename from drivers/platform/galileo/bsp/libc/patches/stdio_strengthen_syms.patch rename to arch/platform/galileo/bsp/libc/patches/stdio_strengthen_syms.patch diff --git a/drivers/platform/galileo/bsp/openocd-scripts/debug.cfg b/arch/platform/galileo/bsp/openocd-scripts/debug.cfg similarity index 100% rename from drivers/platform/galileo/bsp/openocd-scripts/debug.cfg rename to arch/platform/galileo/bsp/openocd-scripts/debug.cfg diff --git a/drivers/platform/galileo/contiki-conf.h b/arch/platform/galileo/contiki-conf.h similarity index 100% rename from drivers/platform/galileo/contiki-conf.h rename to arch/platform/galileo/contiki-conf.h diff --git a/drivers/platform/galileo/contiki-main.c b/arch/platform/galileo/contiki-main.c similarity index 100% rename from drivers/platform/galileo/contiki-main.c rename to arch/platform/galileo/contiki-main.c diff --git a/drivers/platform/galileo/core/sys/clock.c b/arch/platform/galileo/core/sys/clock.c similarity index 100% rename from drivers/platform/galileo/core/sys/clock.c rename to arch/platform/galileo/core/sys/clock.c diff --git a/drivers/platform/galileo/core/sys/mtarch.h b/arch/platform/galileo/core/sys/mtarch.h similarity index 100% rename from drivers/platform/galileo/core/sys/mtarch.h rename to arch/platform/galileo/core/sys/mtarch.h diff --git a/drivers/platform/galileo/core/sys/rtimer-arch.c b/arch/platform/galileo/core/sys/rtimer-arch.c similarity index 100% rename from drivers/platform/galileo/core/sys/rtimer-arch.c rename to arch/platform/galileo/core/sys/rtimer-arch.c diff --git a/drivers/platform/galileo/core/sys/rtimer-arch.h b/arch/platform/galileo/core/sys/rtimer-arch.h similarity index 100% rename from drivers/platform/galileo/core/sys/rtimer-arch.h rename to arch/platform/galileo/core/sys/rtimer-arch.h diff --git a/drivers/platform/galileo/drivers/cy8c9540a.c b/arch/platform/galileo/drivers/cy8c9540a.c similarity index 100% rename from drivers/platform/galileo/drivers/cy8c9540a.c rename to arch/platform/galileo/drivers/cy8c9540a.c diff --git a/drivers/platform/galileo/drivers/cy8c9540a.h b/arch/platform/galileo/drivers/cy8c9540a.h similarity index 100% rename from drivers/platform/galileo/drivers/cy8c9540a.h rename to arch/platform/galileo/drivers/cy8c9540a.h diff --git a/drivers/platform/galileo/drivers/galileo-gen1-pinmux.c b/arch/platform/galileo/drivers/galileo-gen1-pinmux.c similarity index 100% rename from drivers/platform/galileo/drivers/galileo-gen1-pinmux.c rename to arch/platform/galileo/drivers/galileo-gen1-pinmux.c diff --git a/drivers/platform/galileo/drivers/galileo-gen2-pinmux.c b/arch/platform/galileo/drivers/galileo-gen2-pinmux.c similarity index 100% rename from drivers/platform/galileo/drivers/galileo-gen2-pinmux.c rename to arch/platform/galileo/drivers/galileo-gen2-pinmux.c diff --git a/drivers/platform/galileo/drivers/galileo-gpio.c b/arch/platform/galileo/drivers/galileo-gpio.c similarity index 100% rename from drivers/platform/galileo/drivers/galileo-gpio.c rename to arch/platform/galileo/drivers/galileo-gpio.c diff --git a/drivers/platform/galileo/drivers/galileo-gpio.h b/arch/platform/galileo/drivers/galileo-gpio.h similarity index 100% rename from drivers/platform/galileo/drivers/galileo-gpio.h rename to arch/platform/galileo/drivers/galileo-gpio.h diff --git a/drivers/platform/galileo/drivers/galileo-pinmux.h b/arch/platform/galileo/drivers/galileo-pinmux.h similarity index 100% rename from drivers/platform/galileo/drivers/galileo-pinmux.h rename to arch/platform/galileo/drivers/galileo-pinmux.h diff --git a/drivers/platform/galileo/drivers/gpio-pcal9535a.c b/arch/platform/galileo/drivers/gpio-pcal9535a.c similarity index 100% rename from drivers/platform/galileo/drivers/gpio-pcal9535a.c rename to arch/platform/galileo/drivers/gpio-pcal9535a.c diff --git a/drivers/platform/galileo/drivers/gpio-pcal9535a.h b/arch/platform/galileo/drivers/gpio-pcal9535a.h similarity index 100% rename from drivers/platform/galileo/drivers/gpio-pcal9535a.h rename to arch/platform/galileo/drivers/gpio-pcal9535a.h diff --git a/drivers/platform/galileo/drivers/pwm-pca9685.c b/arch/platform/galileo/drivers/pwm-pca9685.c similarity index 100% rename from drivers/platform/galileo/drivers/pwm-pca9685.c rename to arch/platform/galileo/drivers/pwm-pca9685.c diff --git a/drivers/platform/galileo/drivers/pwm-pca9685.h b/arch/platform/galileo/drivers/pwm-pca9685.h similarity index 100% rename from drivers/platform/galileo/drivers/pwm-pca9685.h rename to arch/platform/galileo/drivers/pwm-pca9685.h diff --git a/drivers/platform/galileo/net/eth-conf.c b/arch/platform/galileo/net/eth-conf.c similarity index 100% rename from drivers/platform/galileo/net/eth-conf.c rename to arch/platform/galileo/net/eth-conf.c diff --git a/drivers/platform/galileo/net/eth-conf.h b/arch/platform/galileo/net/eth-conf.h similarity index 100% rename from drivers/platform/galileo/net/eth-conf.h rename to arch/platform/galileo/net/eth-conf.h diff --git a/drivers/platform/galileo/newlib-syscalls.c b/arch/platform/galileo/newlib-syscalls.c similarity index 100% rename from drivers/platform/galileo/newlib-syscalls.c rename to arch/platform/galileo/newlib-syscalls.c diff --git a/drivers/platform/jn516x/App_Stack_Size.ld b/arch/platform/jn516x/App_Stack_Size.ld similarity index 100% rename from drivers/platform/jn516x/App_Stack_Size.ld rename to arch/platform/jn516x/App_Stack_Size.ld diff --git a/drivers/platform/jn516x/Makefile.jn516x b/arch/platform/jn516x/Makefile.jn516x similarity index 100% rename from drivers/platform/jn516x/Makefile.jn516x rename to arch/platform/jn516x/Makefile.jn516x diff --git a/drivers/platform/jn516x/README.md b/arch/platform/jn516x/README.md similarity index 100% rename from drivers/platform/jn516x/README.md rename to arch/platform/jn516x/README.md diff --git a/drivers/platform/jn516x/contiki-conf.h b/arch/platform/jn516x/contiki-conf.h similarity index 100% rename from drivers/platform/jn516x/contiki-conf.h rename to arch/platform/jn516x/contiki-conf.h diff --git a/drivers/platform/jn516x/contiki-jn516x-main.c b/arch/platform/jn516x/contiki-jn516x-main.c similarity index 100% rename from drivers/platform/jn516x/contiki-jn516x-main.c rename to arch/platform/jn516x/contiki-jn516x-main.c diff --git a/drivers/platform/jn516x/dev/clock.c b/arch/platform/jn516x/dev/clock.c similarity index 100% rename from drivers/platform/jn516x/dev/clock.c rename to arch/platform/jn516x/dev/clock.c diff --git a/drivers/platform/jn516x/dev/dongle/README.md b/arch/platform/jn516x/dev/dongle/README.md similarity index 100% rename from drivers/platform/jn516x/dev/dongle/README.md rename to arch/platform/jn516x/dev/dongle/README.md diff --git a/drivers/platform/jn516x/dev/dongle/leds-arch.c b/arch/platform/jn516x/dev/dongle/leds-arch.c similarity index 100% rename from drivers/platform/jn516x/dev/dongle/leds-arch.c rename to arch/platform/jn516x/dev/dongle/leds-arch.c diff --git a/drivers/platform/jn516x/dev/dr1174/README.md b/arch/platform/jn516x/dev/dr1174/README.md similarity index 100% rename from drivers/platform/jn516x/dev/dr1174/README.md rename to arch/platform/jn516x/dev/dr1174/README.md diff --git a/drivers/platform/jn516x/dev/dr1174/button-sensor.c b/arch/platform/jn516x/dev/dr1174/button-sensor.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1174/button-sensor.c rename to arch/platform/jn516x/dev/dr1174/button-sensor.c diff --git a/drivers/platform/jn516x/dev/dr1174/button-sensor.h b/arch/platform/jn516x/dev/dr1174/button-sensor.h similarity index 100% rename from drivers/platform/jn516x/dev/dr1174/button-sensor.h rename to arch/platform/jn516x/dev/dr1174/button-sensor.h diff --git a/drivers/platform/jn516x/dev/dr1174/leds-arch.c b/arch/platform/jn516x/dev/dr1174/leds-arch.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1174/leds-arch.c rename to arch/platform/jn516x/dev/dr1174/leds-arch.c diff --git a/drivers/platform/jn516x/dev/dr1175/README.md b/arch/platform/jn516x/dev/dr1175/README.md similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/README.md rename to arch/platform/jn516x/dev/dr1175/README.md diff --git a/drivers/platform/jn516x/dev/dr1175/ht-sensor.c b/arch/platform/jn516x/dev/dr1175/ht-sensor.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/ht-sensor.c rename to arch/platform/jn516x/dev/dr1175/ht-sensor.c diff --git a/drivers/platform/jn516x/dev/dr1175/ht-sensor.h b/arch/platform/jn516x/dev/dr1175/ht-sensor.h similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/ht-sensor.h rename to arch/platform/jn516x/dev/dr1175/ht-sensor.h diff --git a/drivers/platform/jn516x/dev/dr1175/leds-arch-1175.c b/arch/platform/jn516x/dev/dr1175/leds-arch-1175.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/leds-arch-1175.c rename to arch/platform/jn516x/dev/dr1175/leds-arch-1175.c diff --git a/drivers/platform/jn516x/dev/dr1175/leds-arch-1175.h b/arch/platform/jn516x/dev/dr1175/leds-arch-1175.h similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/leds-arch-1175.h rename to arch/platform/jn516x/dev/dr1175/leds-arch-1175.h diff --git a/drivers/platform/jn516x/dev/dr1175/light-sensor.c b/arch/platform/jn516x/dev/dr1175/light-sensor.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/light-sensor.c rename to arch/platform/jn516x/dev/dr1175/light-sensor.c diff --git a/drivers/platform/jn516x/dev/dr1175/light-sensor.h b/arch/platform/jn516x/dev/dr1175/light-sensor.h similarity index 100% rename from drivers/platform/jn516x/dev/dr1175/light-sensor.h rename to arch/platform/jn516x/dev/dr1175/light-sensor.h diff --git a/drivers/platform/jn516x/dev/dr1199/README.md b/arch/platform/jn516x/dev/dr1199/README.md similarity index 100% rename from drivers/platform/jn516x/dev/dr1199/README.md rename to arch/platform/jn516x/dev/dr1199/README.md diff --git a/drivers/platform/jn516x/dev/dr1199/leds-arch-1199.c b/arch/platform/jn516x/dev/dr1199/leds-arch-1199.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1199/leds-arch-1199.c rename to arch/platform/jn516x/dev/dr1199/leds-arch-1199.c diff --git a/drivers/platform/jn516x/dev/dr1199/leds-arch-1199.h b/arch/platform/jn516x/dev/dr1199/leds-arch-1199.h similarity index 100% rename from drivers/platform/jn516x/dev/dr1199/leds-arch-1199.h rename to arch/platform/jn516x/dev/dr1199/leds-arch-1199.h diff --git a/drivers/platform/jn516x/dev/dr1199/pot-sensor.c b/arch/platform/jn516x/dev/dr1199/pot-sensor.c similarity index 100% rename from drivers/platform/jn516x/dev/dr1199/pot-sensor.c rename to arch/platform/jn516x/dev/dr1199/pot-sensor.c diff --git a/drivers/platform/jn516x/dev/dr1199/pot-sensor.h b/arch/platform/jn516x/dev/dr1199/pot-sensor.h similarity index 100% rename from drivers/platform/jn516x/dev/dr1199/pot-sensor.h rename to arch/platform/jn516x/dev/dr1199/pot-sensor.h diff --git a/drivers/platform/jn516x/dev/exceptions.c b/arch/platform/jn516x/dev/exceptions.c similarity index 100% rename from drivers/platform/jn516x/dev/exceptions.c rename to arch/platform/jn516x/dev/exceptions.c diff --git a/drivers/platform/jn516x/dev/exceptions.h b/arch/platform/jn516x/dev/exceptions.h similarity index 100% rename from drivers/platform/jn516x/dev/exceptions.h rename to arch/platform/jn516x/dev/exceptions.h diff --git a/drivers/platform/jn516x/dev/jn516x-ccm-star.c b/arch/platform/jn516x/dev/jn516x-ccm-star.c similarity index 100% rename from drivers/platform/jn516x/dev/jn516x-ccm-star.c rename to arch/platform/jn516x/dev/jn516x-ccm-star.c diff --git a/drivers/platform/jn516x/dev/leds-extension.c b/arch/platform/jn516x/dev/leds-extension.c similarity index 100% rename from drivers/platform/jn516x/dev/leds-extension.c rename to arch/platform/jn516x/dev/leds-extension.c diff --git a/drivers/platform/jn516x/dev/leds-extension.h b/arch/platform/jn516x/dev/leds-extension.h similarity index 100% rename from drivers/platform/jn516x/dev/leds-extension.h rename to arch/platform/jn516x/dev/leds-extension.h diff --git a/drivers/platform/jn516x/dev/micromac-radio.c b/arch/platform/jn516x/dev/micromac-radio.c similarity index 100% rename from drivers/platform/jn516x/dev/micromac-radio.c rename to arch/platform/jn516x/dev/micromac-radio.c diff --git a/drivers/platform/jn516x/dev/micromac-radio.h b/arch/platform/jn516x/dev/micromac-radio.h similarity index 100% rename from drivers/platform/jn516x/dev/micromac-radio.h rename to arch/platform/jn516x/dev/micromac-radio.h diff --git a/drivers/platform/jn516x/dev/mtarch.c b/arch/platform/jn516x/dev/mtarch.c similarity index 100% rename from drivers/platform/jn516x/dev/mtarch.c rename to arch/platform/jn516x/dev/mtarch.c diff --git a/drivers/platform/jn516x/dev/mtarch.h b/arch/platform/jn516x/dev/mtarch.h similarity index 100% rename from drivers/platform/jn516x/dev/mtarch.h rename to arch/platform/jn516x/dev/mtarch.h diff --git a/drivers/platform/jn516x/dev/node-id.c b/arch/platform/jn516x/dev/node-id.c similarity index 100% rename from drivers/platform/jn516x/dev/node-id.c rename to arch/platform/jn516x/dev/node-id.c diff --git a/drivers/platform/jn516x/dev/rtimer-arch-slow.c b/arch/platform/jn516x/dev/rtimer-arch-slow.c similarity index 100% rename from drivers/platform/jn516x/dev/rtimer-arch-slow.c rename to arch/platform/jn516x/dev/rtimer-arch-slow.c diff --git a/drivers/platform/jn516x/dev/rtimer-arch.c b/arch/platform/jn516x/dev/rtimer-arch.c similarity index 100% rename from drivers/platform/jn516x/dev/rtimer-arch.c rename to arch/platform/jn516x/dev/rtimer-arch.c diff --git a/drivers/platform/jn516x/dev/rtimer-arch.h b/arch/platform/jn516x/dev/rtimer-arch.h similarity index 100% rename from drivers/platform/jn516x/dev/rtimer-arch.h rename to arch/platform/jn516x/dev/rtimer-arch.h diff --git a/drivers/platform/jn516x/dev/slip_uart0.c b/arch/platform/jn516x/dev/slip_uart0.c similarity index 100% rename from drivers/platform/jn516x/dev/slip_uart0.c rename to arch/platform/jn516x/dev/slip_uart0.c diff --git a/drivers/platform/jn516x/dev/uart-driver.c b/arch/platform/jn516x/dev/uart-driver.c similarity index 100% rename from drivers/platform/jn516x/dev/uart-driver.c rename to arch/platform/jn516x/dev/uart-driver.c diff --git a/drivers/platform/jn516x/dev/uart-driver.h b/arch/platform/jn516x/dev/uart-driver.h similarity index 100% rename from drivers/platform/jn516x/dev/uart-driver.h rename to arch/platform/jn516x/dev/uart-driver.h diff --git a/drivers/platform/jn516x/dev/uart0.c b/arch/platform/jn516x/dev/uart0.c similarity index 100% rename from drivers/platform/jn516x/dev/uart0.c rename to arch/platform/jn516x/dev/uart0.c diff --git a/drivers/platform/jn516x/dev/uart0.h b/arch/platform/jn516x/dev/uart0.h similarity index 100% rename from drivers/platform/jn516x/dev/uart0.h rename to arch/platform/jn516x/dev/uart0.h diff --git a/drivers/platform/jn516x/dev/uart1.c b/arch/platform/jn516x/dev/uart1.c similarity index 100% rename from drivers/platform/jn516x/dev/uart1.c rename to arch/platform/jn516x/dev/uart1.c diff --git a/drivers/platform/jn516x/dev/uart1.h b/arch/platform/jn516x/dev/uart1.h similarity index 100% rename from drivers/platform/jn516x/dev/uart1.h rename to arch/platform/jn516x/dev/uart1.h diff --git a/drivers/platform/jn516x/dev/watchdog.c b/arch/platform/jn516x/dev/watchdog.c similarity index 100% rename from drivers/platform/jn516x/dev/watchdog.c rename to arch/platform/jn516x/dev/watchdog.c diff --git a/drivers/platform/jn516x/lib/slip.c b/arch/platform/jn516x/lib/slip.c similarity index 100% rename from drivers/platform/jn516x/lib/slip.c rename to arch/platform/jn516x/lib/slip.c diff --git a/drivers/platform/jn516x/lib/sprintf.c b/arch/platform/jn516x/lib/sprintf.c similarity index 100% rename from drivers/platform/jn516x/lib/sprintf.c rename to arch/platform/jn516x/lib/sprintf.c diff --git a/drivers/platform/jn516x/platform-conf.h b/arch/platform/jn516x/platform-conf.h similarity index 100% rename from drivers/platform/jn516x/platform-conf.h rename to arch/platform/jn516x/platform-conf.h diff --git a/drivers/platform/native/Makefile.native b/arch/platform/native/Makefile.native similarity index 92% rename from drivers/platform/native/Makefile.native rename to arch/platform/native/Makefile.native index 17b45a134..d17df0a36 100644 --- a/drivers/platform/native/Makefile.native +++ b/arch/platform/native/Makefile.native @@ -31,8 +31,8 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) .SUFFIXES: ### Define the CPU directory -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/native -include $(CONTIKI)/drivers/cpu/native/Makefile.native +CONTIKI_CPU=$(CONTIKI)/arch/cpu/native +include $(CONTIKI)/arch/cpu/native/Makefile.native ifeq ($(HOST_OS),Windows) CFLAGS += -I/usr/include/ncurses diff --git a/drivers/platform/native/cfs-coffee-arch.h b/arch/platform/native/cfs-coffee-arch.h similarity index 100% rename from drivers/platform/native/cfs-coffee-arch.h rename to arch/platform/native/cfs-coffee-arch.h diff --git a/drivers/platform/native/clock.c b/arch/platform/native/clock.c similarity index 100% rename from drivers/platform/native/clock.c rename to arch/platform/native/clock.c diff --git a/drivers/platform/native/contiki-conf.h b/arch/platform/native/contiki-conf.h similarity index 100% rename from drivers/platform/native/contiki-conf.h rename to arch/platform/native/contiki-conf.h diff --git a/drivers/platform/native/contiki-main.c b/arch/platform/native/contiki-main.c similarity index 100% rename from drivers/platform/native/contiki-main.c rename to arch/platform/native/contiki-main.c diff --git a/drivers/platform/native/dev/beep.c b/arch/platform/native/dev/beep.c similarity index 100% rename from drivers/platform/native/dev/beep.c rename to arch/platform/native/dev/beep.c diff --git a/drivers/platform/native/dev/beep.h b/arch/platform/native/dev/beep.h similarity index 100% rename from drivers/platform/native/dev/beep.h rename to arch/platform/native/dev/beep.h diff --git a/drivers/platform/native/dev/button-sensor.c b/arch/platform/native/dev/button-sensor.c similarity index 100% rename from drivers/platform/native/dev/button-sensor.c rename to arch/platform/native/dev/button-sensor.c diff --git a/drivers/platform/native/dev/button-sensor.h b/arch/platform/native/dev/button-sensor.h similarity index 100% rename from drivers/platform/native/dev/button-sensor.h rename to arch/platform/native/dev/button-sensor.h diff --git a/drivers/platform/native/dev/dummy-sensors.c b/arch/platform/native/dev/dummy-sensors.c similarity index 100% rename from drivers/platform/native/dev/dummy-sensors.c rename to arch/platform/native/dev/dummy-sensors.c diff --git a/drivers/platform/native/dev/irq.c b/arch/platform/native/dev/irq.c similarity index 100% rename from drivers/platform/native/dev/irq.c rename to arch/platform/native/dev/irq.c diff --git a/drivers/platform/native/dev/leds-arch.c b/arch/platform/native/dev/leds-arch.c similarity index 100% rename from drivers/platform/native/dev/leds-arch.c rename to arch/platform/native/dev/leds-arch.c diff --git a/drivers/platform/native/dev/pir-sensor.c b/arch/platform/native/dev/pir-sensor.c similarity index 100% rename from drivers/platform/native/dev/pir-sensor.c rename to arch/platform/native/dev/pir-sensor.c diff --git a/drivers/platform/native/dev/pir-sensor.h b/arch/platform/native/dev/pir-sensor.h similarity index 100% rename from drivers/platform/native/dev/pir-sensor.h rename to arch/platform/native/dev/pir-sensor.h diff --git a/drivers/platform/native/dev/temperature-sensor.h b/arch/platform/native/dev/temperature-sensor.h similarity index 100% rename from drivers/platform/native/dev/temperature-sensor.h rename to arch/platform/native/dev/temperature-sensor.h diff --git a/drivers/platform/native/dev/vib-sensor.c b/arch/platform/native/dev/vib-sensor.c similarity index 100% rename from drivers/platform/native/dev/vib-sensor.c rename to arch/platform/native/dev/vib-sensor.c diff --git a/drivers/platform/native/dev/vib-sensor.h b/arch/platform/native/dev/vib-sensor.h similarity index 100% rename from drivers/platform/native/dev/vib-sensor.h rename to arch/platform/native/dev/vib-sensor.h diff --git a/drivers/platform/native/dev/xmem.c b/arch/platform/native/dev/xmem.c similarity index 100% rename from drivers/platform/native/dev/xmem.c rename to arch/platform/native/dev/xmem.c diff --git a/drivers/platform/nrf52dk/Makefile.nrf52dk b/arch/platform/nrf52dk/Makefile.nrf52dk similarity index 85% rename from drivers/platform/nrf52dk/Makefile.nrf52dk rename to arch/platform/nrf52dk/Makefile.nrf52dk index c091a5776..1fc6505fa 100644 --- a/drivers/platform/nrf52dk/Makefile.nrf52dk +++ b/arch/platform/nrf52dk/Makefile.nrf52dk @@ -3,13 +3,13 @@ ifndef CONTIKI endif ### Include the board-specific makefile -PLATFORM_ROOT_DIR = $(CONTIKI)/drivers/platform/$(TARGET) +PLATFORM_ROOT_DIR = $(CONTIKI)/arch/platform/$(TARGET) CONTIKI_TARGET_DIRS += . dev config CONTIKI_SOURCEFILES += contiki-main.c leds-arch.c nrf52dk-sensors.c button-sensor.c temperature-sensor.c ifeq ($(NRF52_USE_RTT),1) -### Use the existing debug I/O in drivers/cpu/arm/common +### Use the existing debug I/O in arch/cpu/arm/common CONTIKI_TARGET_DIRS += rtt CONTIKI_SOURCEFILES += rtt-printf.c segger-rtt.c segger-rtt-printf.c else @@ -25,7 +25,7 @@ CLEAN += *.nrf52dk SMALL ?= 0 ### Define the CPU directory and pull in the correct CPU makefile. -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/nrf52832 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/nrf52832 include $(CONTIKI_CPU)/Makefile.nrf52832 MODULES += core/net core/net/mac core/net/mac/framer \ diff --git a/drivers/platform/nrf52dk/README-BLE-6LoWPAN.md b/arch/platform/nrf52dk/README-BLE-6LoWPAN.md similarity index 100% rename from drivers/platform/nrf52dk/README-BLE-6LoWPAN.md rename to arch/platform/nrf52dk/README-BLE-6LoWPAN.md diff --git a/drivers/platform/nrf52dk/README.md b/arch/platform/nrf52dk/README.md similarity index 100% rename from drivers/platform/nrf52dk/README.md rename to arch/platform/nrf52dk/README.md diff --git a/drivers/platform/nrf52dk/config/nrf_drv_config.h b/arch/platform/nrf52dk/config/nrf_drv_config.h similarity index 100% rename from drivers/platform/nrf52dk/config/nrf_drv_config.h rename to arch/platform/nrf52dk/config/nrf_drv_config.h diff --git a/drivers/platform/nrf52dk/config/pstorage_platform.h b/arch/platform/nrf52dk/config/pstorage_platform.h similarity index 100% rename from drivers/platform/nrf52dk/config/pstorage_platform.h rename to arch/platform/nrf52dk/config/pstorage_platform.h diff --git a/drivers/platform/nrf52dk/contiki-conf.h b/arch/platform/nrf52dk/contiki-conf.h similarity index 100% rename from drivers/platform/nrf52dk/contiki-conf.h rename to arch/platform/nrf52dk/contiki-conf.h diff --git a/drivers/platform/nrf52dk/contiki-main.c b/arch/platform/nrf52dk/contiki-main.c similarity index 100% rename from drivers/platform/nrf52dk/contiki-main.c rename to arch/platform/nrf52dk/contiki-main.c diff --git a/drivers/platform/nrf52dk/dbg-io/dbg.c b/arch/platform/nrf52dk/dbg-io/dbg.c similarity index 100% rename from drivers/platform/nrf52dk/dbg-io/dbg.c rename to arch/platform/nrf52dk/dbg-io/dbg.c diff --git a/drivers/platform/nrf52dk/dbg-io/dbg.h b/arch/platform/nrf52dk/dbg-io/dbg.h similarity index 100% rename from drivers/platform/nrf52dk/dbg-io/dbg.h rename to arch/platform/nrf52dk/dbg-io/dbg.h diff --git a/drivers/platform/nrf52dk/dbg-io/debug-uart.h b/arch/platform/nrf52dk/dbg-io/debug-uart.h similarity index 100% rename from drivers/platform/nrf52dk/dbg-io/debug-uart.h rename to arch/platform/nrf52dk/dbg-io/debug-uart.h diff --git a/drivers/platform/nrf52dk/dev/button-sensor.c b/arch/platform/nrf52dk/dev/button-sensor.c similarity index 100% rename from drivers/platform/nrf52dk/dev/button-sensor.c rename to arch/platform/nrf52dk/dev/button-sensor.c diff --git a/drivers/platform/nrf52dk/dev/button-sensor.h b/arch/platform/nrf52dk/dev/button-sensor.h similarity index 100% rename from drivers/platform/nrf52dk/dev/button-sensor.h rename to arch/platform/nrf52dk/dev/button-sensor.h diff --git a/drivers/platform/nrf52dk/dev/leds-arch.c b/arch/platform/nrf52dk/dev/leds-arch.c similarity index 100% rename from drivers/platform/nrf52dk/dev/leds-arch.c rename to arch/platform/nrf52dk/dev/leds-arch.c diff --git a/drivers/platform/nrf52dk/dev/nrf52dk-sensors.c b/arch/platform/nrf52dk/dev/nrf52dk-sensors.c similarity index 100% rename from drivers/platform/nrf52dk/dev/nrf52dk-sensors.c rename to arch/platform/nrf52dk/dev/nrf52dk-sensors.c diff --git a/drivers/platform/nrf52dk/dev/temperature-sensor.c b/arch/platform/nrf52dk/dev/temperature-sensor.c similarity index 100% rename from drivers/platform/nrf52dk/dev/temperature-sensor.c rename to arch/platform/nrf52dk/dev/temperature-sensor.c diff --git a/drivers/platform/nrf52dk/dev/temperature-sensor.h b/arch/platform/nrf52dk/dev/temperature-sensor.h similarity index 100% rename from drivers/platform/nrf52dk/dev/temperature-sensor.h rename to arch/platform/nrf52dk/dev/temperature-sensor.h diff --git a/drivers/platform/nrf52dk/platform-conf.h b/arch/platform/nrf52dk/platform-conf.h similarity index 100% rename from drivers/platform/nrf52dk/platform-conf.h rename to arch/platform/nrf52dk/platform-conf.h diff --git a/drivers/platform/nrf52dk/rtt/rtt-printf.c b/arch/platform/nrf52dk/rtt/rtt-printf.c similarity index 100% rename from drivers/platform/nrf52dk/rtt/rtt-printf.c rename to arch/platform/nrf52dk/rtt/rtt-printf.c diff --git a/drivers/platform/nrf52dk/rtt/segger-rtt-conf.h b/arch/platform/nrf52dk/rtt/segger-rtt-conf.h similarity index 100% rename from drivers/platform/nrf52dk/rtt/segger-rtt-conf.h rename to arch/platform/nrf52dk/rtt/segger-rtt-conf.h diff --git a/drivers/platform/nrf52dk/rtt/segger-rtt-printf.c b/arch/platform/nrf52dk/rtt/segger-rtt-printf.c similarity index 100% rename from drivers/platform/nrf52dk/rtt/segger-rtt-printf.c rename to arch/platform/nrf52dk/rtt/segger-rtt-printf.c diff --git a/drivers/platform/nrf52dk/rtt/segger-rtt.c b/arch/platform/nrf52dk/rtt/segger-rtt.c similarity index 100% rename from drivers/platform/nrf52dk/rtt/segger-rtt.c rename to arch/platform/nrf52dk/rtt/segger-rtt.c diff --git a/drivers/platform/nrf52dk/rtt/segger-rtt.h b/arch/platform/nrf52dk/rtt/segger-rtt.h similarity index 100% rename from drivers/platform/nrf52dk/rtt/segger-rtt.h rename to arch/platform/nrf52dk/rtt/segger-rtt.h diff --git a/drivers/platform/openmote-cc2538/Makefile.openmote-cc2538 b/arch/platform/openmote-cc2538/Makefile.openmote-cc2538 similarity index 93% rename from drivers/platform/openmote-cc2538/Makefile.openmote-cc2538 rename to arch/platform/openmote-cc2538/Makefile.openmote-cc2538 index d3d1f1968..108bd1841 100644 --- a/drivers/platform/openmote-cc2538/Makefile.openmote-cc2538 +++ b/arch/platform/openmote-cc2538/Makefile.openmote-cc2538 @@ -11,7 +11,7 @@ endif ### Configure the build for the board and pull in board-specific sources CONTIKI_TARGET_DIRS += . dev -PLATFORM_ROOT_DIR = $(CONTIKI)/drivers/platform/$(TARGET) +PLATFORM_ROOT_DIR = $(CONTIKI)/arch/platform/$(TARGET) ### Include CONTIKI_TARGET_SOURCEFILES += contiki-main.c board.c @@ -23,7 +23,7 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) CLEAN += *.openmote-cc2538 ### Define the CPU directory -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc2538 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/cc2538 include $(CONTIKI_CPU)/Makefile.cc2538 MODULES += core/net core/net/mac core/net/mac/framer \ diff --git a/drivers/platform/openmote-cc2538/README.md b/arch/platform/openmote-cc2538/README.md similarity index 100% rename from drivers/platform/openmote-cc2538/README.md rename to arch/platform/openmote-cc2538/README.md diff --git a/drivers/platform/openmote-cc2538/board.c b/arch/platform/openmote-cc2538/board.c similarity index 100% rename from drivers/platform/openmote-cc2538/board.c rename to arch/platform/openmote-cc2538/board.c diff --git a/drivers/platform/openmote-cc2538/board.h b/arch/platform/openmote-cc2538/board.h similarity index 100% rename from drivers/platform/openmote-cc2538/board.h rename to arch/platform/openmote-cc2538/board.h diff --git a/drivers/platform/openmote-cc2538/contiki-conf.h b/arch/platform/openmote-cc2538/contiki-conf.h similarity index 100% rename from drivers/platform/openmote-cc2538/contiki-conf.h rename to arch/platform/openmote-cc2538/contiki-conf.h diff --git a/drivers/platform/openmote-cc2538/contiki-main.c b/arch/platform/openmote-cc2538/contiki-main.c similarity index 100% rename from drivers/platform/openmote-cc2538/contiki-main.c rename to arch/platform/openmote-cc2538/contiki-main.c diff --git a/drivers/platform/openmote-cc2538/dev/adxl346.c b/arch/platform/openmote-cc2538/dev/adxl346.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/adxl346.c rename to arch/platform/openmote-cc2538/dev/adxl346.c diff --git a/drivers/platform/openmote-cc2538/dev/adxl346.h b/arch/platform/openmote-cc2538/dev/adxl346.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/adxl346.h rename to arch/platform/openmote-cc2538/dev/adxl346.h diff --git a/drivers/platform/openmote-cc2538/dev/antenna.c b/arch/platform/openmote-cc2538/dev/antenna.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/antenna.c rename to arch/platform/openmote-cc2538/dev/antenna.c diff --git a/drivers/platform/openmote-cc2538/dev/antenna.h b/arch/platform/openmote-cc2538/dev/antenna.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/antenna.h rename to arch/platform/openmote-cc2538/dev/antenna.h diff --git a/drivers/platform/openmote-cc2538/dev/button-sensor.c b/arch/platform/openmote-cc2538/dev/button-sensor.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/button-sensor.c rename to arch/platform/openmote-cc2538/dev/button-sensor.c diff --git a/drivers/platform/openmote-cc2538/dev/button-sensor.h b/arch/platform/openmote-cc2538/dev/button-sensor.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/button-sensor.h rename to arch/platform/openmote-cc2538/dev/button-sensor.h diff --git a/drivers/platform/openmote-cc2538/dev/leds-arch.c b/arch/platform/openmote-cc2538/dev/leds-arch.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/leds-arch.c rename to arch/platform/openmote-cc2538/dev/leds-arch.c diff --git a/drivers/platform/openmote-cc2538/dev/max44009.c b/arch/platform/openmote-cc2538/dev/max44009.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/max44009.c rename to arch/platform/openmote-cc2538/dev/max44009.c diff --git a/drivers/platform/openmote-cc2538/dev/max44009.h b/arch/platform/openmote-cc2538/dev/max44009.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/max44009.h rename to arch/platform/openmote-cc2538/dev/max44009.h diff --git a/drivers/platform/openmote-cc2538/dev/openmote-sensors.c b/arch/platform/openmote-cc2538/dev/openmote-sensors.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/openmote-sensors.c rename to arch/platform/openmote-cc2538/dev/openmote-sensors.c diff --git a/drivers/platform/openmote-cc2538/dev/openmote-sensors.h b/arch/platform/openmote-cc2538/dev/openmote-sensors.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/openmote-sensors.h rename to arch/platform/openmote-cc2538/dev/openmote-sensors.h diff --git a/drivers/platform/openmote-cc2538/dev/sht21.c b/arch/platform/openmote-cc2538/dev/sht21.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/sht21.c rename to arch/platform/openmote-cc2538/dev/sht21.c diff --git a/drivers/platform/openmote-cc2538/dev/sht21.h b/arch/platform/openmote-cc2538/dev/sht21.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/sht21.h rename to arch/platform/openmote-cc2538/dev/sht21.h diff --git a/drivers/platform/openmote-cc2538/dev/tps62730.c b/arch/platform/openmote-cc2538/dev/tps62730.c similarity index 100% rename from drivers/platform/openmote-cc2538/dev/tps62730.c rename to arch/platform/openmote-cc2538/dev/tps62730.c diff --git a/drivers/platform/openmote-cc2538/dev/tps62730.h b/arch/platform/openmote-cc2538/dev/tps62730.h similarity index 100% rename from drivers/platform/openmote-cc2538/dev/tps62730.h rename to arch/platform/openmote-cc2538/dev/tps62730.h diff --git a/drivers/platform/sky/Makefile.common b/arch/platform/sky/Makefile.common similarity index 99% rename from drivers/platform/sky/Makefile.common rename to arch/platform/sky/Makefile.common index 2a894e310..a7bc4f17d 100644 --- a/drivers/platform/sky/Makefile.common +++ b/arch/platform/sky/Makefile.common @@ -18,7 +18,7 @@ endif CONTIKI_TARGET_SOURCEFILES += $(ARCH) $(UIPDRIVERS) MCU=msp430f1611 -include $(CONTIKI)/drivers/cpu/msp430/Makefile.msp430 +include $(CONTIKI)/arch/cpu/msp430/Makefile.msp430 ifdef IAR diff --git a/drivers/platform/sky/Makefile.sky b/arch/platform/sky/Makefile.sky similarity index 71% rename from drivers/platform/sky/Makefile.sky rename to arch/platform/sky/Makefile.sky index 35a6901b8..6812c2629 100644 --- a/drivers/platform/sky/Makefile.sky +++ b/arch/platform/sky/Makefile.sky @@ -4,8 +4,8 @@ CONTIKI_TARGET_SOURCEFILES += contiki-sky-platform.c \ sht11.c sht11-sensor.c light-sensor.c battery-sensor.c \ button-sensor.c radio-sensor.c -include $(CONTIKI)/drivers/platform/sky/Makefile.common +include $(CONTIKI)/arch/platform/sky/Makefile.common MODULES += core/net/mac core/net/mac/framer core/net \ core/net/mac/csma core/net/mac/nullmac \ - drivers/dev/cc2420 drivers/dev/sht11 drivers/dev/ds2411 + arch/dev/cc2420 arch/dev/sht11 arch/dev/ds2411 diff --git a/drivers/platform/sky/apps/blink.c b/arch/platform/sky/apps/blink.c similarity index 100% rename from drivers/platform/sky/apps/blink.c rename to arch/platform/sky/apps/blink.c diff --git a/drivers/platform/sky/apps/burn-nodeid.c b/arch/platform/sky/apps/burn-nodeid.c similarity index 100% rename from drivers/platform/sky/apps/burn-nodeid.c rename to arch/platform/sky/apps/burn-nodeid.c diff --git a/drivers/platform/sky/apps/fader.c b/arch/platform/sky/apps/fader.c similarity index 100% rename from drivers/platform/sky/apps/fader.c rename to arch/platform/sky/apps/fader.c diff --git a/drivers/platform/sky/cfs-coffee-arch.h b/arch/platform/sky/cfs-coffee-arch.h similarity index 100% rename from drivers/platform/sky/cfs-coffee-arch.h rename to arch/platform/sky/cfs-coffee-arch.h diff --git a/drivers/platform/sky/contiki-conf.h b/arch/platform/sky/contiki-conf.h similarity index 100% rename from drivers/platform/sky/contiki-conf.h rename to arch/platform/sky/contiki-conf.h diff --git a/drivers/platform/sky/contiki-sky-main.c b/arch/platform/sky/contiki-sky-main.c similarity index 100% rename from drivers/platform/sky/contiki-sky-main.c rename to arch/platform/sky/contiki-sky-main.c diff --git a/drivers/platform/sky/contiki-sky-platform.c b/arch/platform/sky/contiki-sky-platform.c similarity index 100% rename from drivers/platform/sky/contiki-sky-platform.c rename to arch/platform/sky/contiki-sky-platform.c diff --git a/drivers/platform/sky/dev/battery-sensor.c b/arch/platform/sky/dev/battery-sensor.c similarity index 100% rename from drivers/platform/sky/dev/battery-sensor.c rename to arch/platform/sky/dev/battery-sensor.c diff --git a/drivers/platform/sky/dev/button-sensor.c b/arch/platform/sky/dev/button-sensor.c similarity index 100% rename from drivers/platform/sky/dev/button-sensor.c rename to arch/platform/sky/dev/button-sensor.c diff --git a/drivers/platform/sky/dev/i2c.c b/arch/platform/sky/dev/i2c.c similarity index 100% rename from drivers/platform/sky/dev/i2c.c rename to arch/platform/sky/dev/i2c.c diff --git a/drivers/platform/sky/dev/i2c.h b/arch/platform/sky/dev/i2c.h similarity index 100% rename from drivers/platform/sky/dev/i2c.h rename to arch/platform/sky/dev/i2c.h diff --git a/drivers/platform/sky/dev/light-sensor.c b/arch/platform/sky/dev/light-sensor.c similarity index 100% rename from drivers/platform/sky/dev/light-sensor.c rename to arch/platform/sky/dev/light-sensor.c diff --git a/drivers/platform/sky/dev/light-sensor.h b/arch/platform/sky/dev/light-sensor.h similarity index 100% rename from drivers/platform/sky/dev/light-sensor.h rename to arch/platform/sky/dev/light-sensor.h diff --git a/drivers/platform/sky/dev/radio-sensor.c b/arch/platform/sky/dev/radio-sensor.c similarity index 100% rename from drivers/platform/sky/dev/radio-sensor.c rename to arch/platform/sky/dev/radio-sensor.c diff --git a/drivers/platform/sky/dev/sht11-arch.h b/arch/platform/sky/dev/sht11-arch.h similarity index 100% rename from drivers/platform/sky/dev/sht11-arch.h rename to arch/platform/sky/dev/sht11-arch.h diff --git a/drivers/platform/sky/dev/sky-sensors.c b/arch/platform/sky/dev/sky-sensors.c similarity index 100% rename from drivers/platform/sky/dev/sky-sensors.c rename to arch/platform/sky/dev/sky-sensors.c diff --git a/drivers/platform/sky/dev/sky-sensors.h b/arch/platform/sky/dev/sky-sensors.h similarity index 100% rename from drivers/platform/sky/dev/sky-sensors.h rename to arch/platform/sky/dev/sky-sensors.h diff --git a/drivers/platform/sky/dev/temperature-sensor.c b/arch/platform/sky/dev/temperature-sensor.c similarity index 100% rename from drivers/platform/sky/dev/temperature-sensor.c rename to arch/platform/sky/dev/temperature-sensor.c diff --git a/drivers/platform/sky/dev/temperature-sensor.h b/arch/platform/sky/dev/temperature-sensor.h similarity index 100% rename from drivers/platform/sky/dev/temperature-sensor.h rename to arch/platform/sky/dev/temperature-sensor.h diff --git a/drivers/platform/sky/dev/xmem.c b/arch/platform/sky/dev/xmem.c similarity index 100% rename from drivers/platform/sky/dev/xmem.c rename to arch/platform/sky/dev/xmem.c diff --git a/drivers/platform/sky/doc/sky.txt b/arch/platform/sky/doc/sky.txt similarity index 100% rename from drivers/platform/sky/doc/sky.txt rename to arch/platform/sky/doc/sky.txt diff --git a/drivers/platform/sky/node-id.c b/arch/platform/sky/node-id.c similarity index 100% rename from drivers/platform/sky/node-id.c rename to arch/platform/sky/node-id.c diff --git a/drivers/platform/sky/platform-conf.h b/arch/platform/sky/platform-conf.h similarity index 100% rename from drivers/platform/sky/platform-conf.h rename to arch/platform/sky/platform-conf.h diff --git a/drivers/platform/srf06-cc26xx/Makefile.srf06-cc26xx b/arch/platform/srf06-cc26xx/Makefile.srf06-cc26xx similarity index 90% rename from drivers/platform/srf06-cc26xx/Makefile.srf06-cc26xx rename to arch/platform/srf06-cc26xx/Makefile.srf06-cc26xx index c3a431152..6a64aca2b 100644 --- a/drivers/platform/srf06-cc26xx/Makefile.srf06-cc26xx +++ b/arch/platform/srf06-cc26xx/Makefile.srf06-cc26xx @@ -12,7 +12,7 @@ endif CONTIKI_TARGET_DIRS += . ### Include the board-specific makefile -PLATFORM_ROOT_DIR = $(CONTIKI)/drivers/platform/$(TARGET) +PLATFORM_ROOT_DIR = $(CONTIKI)/arch/platform/$(TARGET) -include $(PLATFORM_ROOT_DIR)/$(BOARD)/Makefile.$(notdir $(BOARD)) CONTIKI_TARGET_SOURCEFILES += contiki-main.c @@ -29,7 +29,7 @@ SMALL ?= 0 ### Define the CPU directory and pull in the correct CPU makefile. This will ### be defined by one of the makefiles included above and it can be either ### Makefile.cc26xx or Makefile.cc13xx -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc26xx-cc13xx +CONTIKI_CPU=$(CONTIKI)/arch/cpu/cc26xx-cc13xx include $(CONTIKI_CPU)/Makefile.$(CPU_FAMILY) MODULES += core/net core/net/mac core/net/mac/framer \ diff --git a/drivers/platform/srf06-cc26xx/README.md b/arch/platform/srf06-cc26xx/README.md similarity index 100% rename from drivers/platform/srf06-cc26xx/README.md rename to arch/platform/srf06-cc26xx/README.md diff --git a/drivers/platform/srf06-cc26xx/common/board-spi.c b/arch/platform/srf06-cc26xx/common/board-spi.c similarity index 100% rename from drivers/platform/srf06-cc26xx/common/board-spi.c rename to arch/platform/srf06-cc26xx/common/board-spi.c diff --git a/drivers/platform/srf06-cc26xx/common/board-spi.h b/arch/platform/srf06-cc26xx/common/board-spi.h similarity index 100% rename from drivers/platform/srf06-cc26xx/common/board-spi.h rename to arch/platform/srf06-cc26xx/common/board-spi.h diff --git a/drivers/platform/srf06-cc26xx/common/ext-flash.c b/arch/platform/srf06-cc26xx/common/ext-flash.c similarity index 100% rename from drivers/platform/srf06-cc26xx/common/ext-flash.c rename to arch/platform/srf06-cc26xx/common/ext-flash.c diff --git a/drivers/platform/srf06-cc26xx/common/ext-flash.h b/arch/platform/srf06-cc26xx/common/ext-flash.h similarity index 100% rename from drivers/platform/srf06-cc26xx/common/ext-flash.h rename to arch/platform/srf06-cc26xx/common/ext-flash.h diff --git a/drivers/platform/srf06-cc26xx/contiki-conf.h b/arch/platform/srf06-cc26xx/contiki-conf.h similarity index 100% rename from drivers/platform/srf06-cc26xx/contiki-conf.h rename to arch/platform/srf06-cc26xx/contiki-conf.h diff --git a/drivers/platform/srf06-cc26xx/contiki-main.c b/arch/platform/srf06-cc26xx/contiki-main.c similarity index 100% rename from drivers/platform/srf06-cc26xx/contiki-main.c rename to arch/platform/srf06-cc26xx/contiki-main.c diff --git a/drivers/platform/srf06-cc26xx/launchpad/Makefile.launchpad b/arch/platform/srf06-cc26xx/launchpad/Makefile.launchpad similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/Makefile.launchpad rename to arch/platform/srf06-cc26xx/launchpad/Makefile.launchpad diff --git a/drivers/platform/srf06-cc26xx/launchpad/board-peripherals.h b/arch/platform/srf06-cc26xx/launchpad/board-peripherals.h similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/board-peripherals.h rename to arch/platform/srf06-cc26xx/launchpad/board-peripherals.h diff --git a/drivers/platform/srf06-cc26xx/launchpad/board.c b/arch/platform/srf06-cc26xx/launchpad/board.c similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/board.c rename to arch/platform/srf06-cc26xx/launchpad/board.c diff --git a/drivers/platform/srf06-cc26xx/launchpad/button-sensor.c b/arch/platform/srf06-cc26xx/launchpad/button-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/button-sensor.c rename to arch/platform/srf06-cc26xx/launchpad/button-sensor.c diff --git a/drivers/platform/srf06-cc26xx/launchpad/button-sensor.h b/arch/platform/srf06-cc26xx/launchpad/button-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/button-sensor.h rename to arch/platform/srf06-cc26xx/launchpad/button-sensor.h diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc1310/Makefile.cc1310 b/arch/platform/srf06-cc26xx/launchpad/cc1310/Makefile.cc1310 similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc1310/Makefile.cc1310 rename to arch/platform/srf06-cc26xx/launchpad/cc1310/Makefile.cc1310 diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc1310/board.h b/arch/platform/srf06-cc26xx/launchpad/cc1310/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc1310/board.h rename to arch/platform/srf06-cc26xx/launchpad/cc1310/board.h diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc1350/Makefile.cc1350 b/arch/platform/srf06-cc26xx/launchpad/cc1350/Makefile.cc1350 similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc1350/Makefile.cc1350 rename to arch/platform/srf06-cc26xx/launchpad/cc1350/Makefile.cc1350 diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc1350/board.h b/arch/platform/srf06-cc26xx/launchpad/cc1350/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc1350/board.h rename to arch/platform/srf06-cc26xx/launchpad/cc1350/board.h diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc1350/rf-switch.c b/arch/platform/srf06-cc26xx/launchpad/cc1350/rf-switch.c similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc1350/rf-switch.c rename to arch/platform/srf06-cc26xx/launchpad/cc1350/rf-switch.c diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc1350/tx-power-driver.c b/arch/platform/srf06-cc26xx/launchpad/cc1350/tx-power-driver.c similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc1350/tx-power-driver.c rename to arch/platform/srf06-cc26xx/launchpad/cc1350/tx-power-driver.c diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc2650/Makefile.cc2650 b/arch/platform/srf06-cc26xx/launchpad/cc2650/Makefile.cc2650 similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc2650/Makefile.cc2650 rename to arch/platform/srf06-cc26xx/launchpad/cc2650/Makefile.cc2650 diff --git a/drivers/platform/srf06-cc26xx/launchpad/cc2650/board.h b/arch/platform/srf06-cc26xx/launchpad/cc2650/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/cc2650/board.h rename to arch/platform/srf06-cc26xx/launchpad/cc2650/board.h diff --git a/drivers/platform/srf06-cc26xx/launchpad/launchpad-sensors.c b/arch/platform/srf06-cc26xx/launchpad/launchpad-sensors.c similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/launchpad-sensors.c rename to arch/platform/srf06-cc26xx/launchpad/launchpad-sensors.c diff --git a/drivers/platform/srf06-cc26xx/launchpad/leds-arch.c b/arch/platform/srf06-cc26xx/launchpad/leds-arch.c similarity index 100% rename from drivers/platform/srf06-cc26xx/launchpad/leds-arch.c rename to arch/platform/srf06-cc26xx/launchpad/leds-arch.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/Makefile.sensortag b/arch/platform/srf06-cc26xx/sensortag/Makefile.sensortag similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/Makefile.sensortag rename to arch/platform/srf06-cc26xx/sensortag/Makefile.sensortag diff --git a/drivers/platform/srf06-cc26xx/sensortag/bmp-280-sensor.c b/arch/platform/srf06-cc26xx/sensortag/bmp-280-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/bmp-280-sensor.c rename to arch/platform/srf06-cc26xx/sensortag/bmp-280-sensor.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/bmp-280-sensor.h b/arch/platform/srf06-cc26xx/sensortag/bmp-280-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/bmp-280-sensor.h rename to arch/platform/srf06-cc26xx/sensortag/bmp-280-sensor.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/board-i2c.c b/arch/platform/srf06-cc26xx/sensortag/board-i2c.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/board-i2c.c rename to arch/platform/srf06-cc26xx/sensortag/board-i2c.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/board-i2c.h b/arch/platform/srf06-cc26xx/sensortag/board-i2c.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/board-i2c.h rename to arch/platform/srf06-cc26xx/sensortag/board-i2c.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/board-peripherals.h b/arch/platform/srf06-cc26xx/sensortag/board-peripherals.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/board-peripherals.h rename to arch/platform/srf06-cc26xx/sensortag/board-peripherals.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/board.c b/arch/platform/srf06-cc26xx/sensortag/board.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/board.c rename to arch/platform/srf06-cc26xx/sensortag/board.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/button-sensor.c b/arch/platform/srf06-cc26xx/sensortag/button-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/button-sensor.c rename to arch/platform/srf06-cc26xx/sensortag/button-sensor.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/button-sensor.h b/arch/platform/srf06-cc26xx/sensortag/button-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/button-sensor.h rename to arch/platform/srf06-cc26xx/sensortag/button-sensor.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/buzzer.c b/arch/platform/srf06-cc26xx/sensortag/buzzer.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/buzzer.c rename to arch/platform/srf06-cc26xx/sensortag/buzzer.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/buzzer.h b/arch/platform/srf06-cc26xx/sensortag/buzzer.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/buzzer.h rename to arch/platform/srf06-cc26xx/sensortag/buzzer.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/cc1350/Makefile.cc1350 b/arch/platform/srf06-cc26xx/sensortag/cc1350/Makefile.cc1350 similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/cc1350/Makefile.cc1350 rename to arch/platform/srf06-cc26xx/sensortag/cc1350/Makefile.cc1350 diff --git a/drivers/platform/srf06-cc26xx/sensortag/cc1350/board.h b/arch/platform/srf06-cc26xx/sensortag/cc1350/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/cc1350/board.h rename to arch/platform/srf06-cc26xx/sensortag/cc1350/board.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/cc1350/leds-arch.c b/arch/platform/srf06-cc26xx/sensortag/cc1350/leds-arch.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/cc1350/leds-arch.c rename to arch/platform/srf06-cc26xx/sensortag/cc1350/leds-arch.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/cc2650/Makefile.cc2650 b/arch/platform/srf06-cc26xx/sensortag/cc2650/Makefile.cc2650 similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/cc2650/Makefile.cc2650 rename to arch/platform/srf06-cc26xx/sensortag/cc2650/Makefile.cc2650 diff --git a/drivers/platform/srf06-cc26xx/sensortag/cc2650/board.h b/arch/platform/srf06-cc26xx/sensortag/cc2650/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/cc2650/board.h rename to arch/platform/srf06-cc26xx/sensortag/cc2650/board.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/cc2650/leds-arch.c b/arch/platform/srf06-cc26xx/sensortag/cc2650/leds-arch.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/cc2650/leds-arch.c rename to arch/platform/srf06-cc26xx/sensortag/cc2650/leds-arch.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.c b/arch/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.c rename to arch/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.h b/arch/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.h rename to arch/platform/srf06-cc26xx/sensortag/hdc-1000-sensor.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.c b/arch/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.c rename to arch/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.h b/arch/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.h rename to arch/platform/srf06-cc26xx/sensortag/mpu-9250-sensor.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/opt-3001-sensor.c b/arch/platform/srf06-cc26xx/sensortag/opt-3001-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/opt-3001-sensor.c rename to arch/platform/srf06-cc26xx/sensortag/opt-3001-sensor.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/opt-3001-sensor.h b/arch/platform/srf06-cc26xx/sensortag/opt-3001-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/opt-3001-sensor.h rename to arch/platform/srf06-cc26xx/sensortag/opt-3001-sensor.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/reed-relay.c b/arch/platform/srf06-cc26xx/sensortag/reed-relay.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/reed-relay.c rename to arch/platform/srf06-cc26xx/sensortag/reed-relay.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/reed-relay.h b/arch/platform/srf06-cc26xx/sensortag/reed-relay.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/reed-relay.h rename to arch/platform/srf06-cc26xx/sensortag/reed-relay.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/sensor-common.c b/arch/platform/srf06-cc26xx/sensortag/sensor-common.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/sensor-common.c rename to arch/platform/srf06-cc26xx/sensortag/sensor-common.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/sensor-common.h b/arch/platform/srf06-cc26xx/sensortag/sensor-common.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/sensor-common.h rename to arch/platform/srf06-cc26xx/sensortag/sensor-common.h diff --git a/drivers/platform/srf06-cc26xx/sensortag/sensortag-sensors.c b/arch/platform/srf06-cc26xx/sensortag/sensortag-sensors.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/sensortag-sensors.c rename to arch/platform/srf06-cc26xx/sensortag/sensortag-sensors.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/tmp-007-sensor.c b/arch/platform/srf06-cc26xx/sensortag/tmp-007-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/tmp-007-sensor.c rename to arch/platform/srf06-cc26xx/sensortag/tmp-007-sensor.c diff --git a/drivers/platform/srf06-cc26xx/sensortag/tmp-007-sensor.h b/arch/platform/srf06-cc26xx/sensortag/tmp-007-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/sensortag/tmp-007-sensor.h rename to arch/platform/srf06-cc26xx/sensortag/tmp-007-sensor.h diff --git a/drivers/platform/srf06-cc26xx/srf06/Makefile.srf06 b/arch/platform/srf06-cc26xx/srf06/Makefile.srf06 similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/Makefile.srf06 rename to arch/platform/srf06-cc26xx/srf06/Makefile.srf06 diff --git a/drivers/platform/srf06-cc26xx/srf06/als-sensor.c b/arch/platform/srf06-cc26xx/srf06/als-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/als-sensor.c rename to arch/platform/srf06-cc26xx/srf06/als-sensor.c diff --git a/drivers/platform/srf06-cc26xx/srf06/als-sensor.h b/arch/platform/srf06-cc26xx/srf06/als-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/als-sensor.h rename to arch/platform/srf06-cc26xx/srf06/als-sensor.h diff --git a/drivers/platform/srf06-cc26xx/srf06/board-peripherals.h b/arch/platform/srf06-cc26xx/srf06/board-peripherals.h similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/board-peripherals.h rename to arch/platform/srf06-cc26xx/srf06/board-peripherals.h diff --git a/drivers/platform/srf06-cc26xx/srf06/board.c b/arch/platform/srf06-cc26xx/srf06/board.c similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/board.c rename to arch/platform/srf06-cc26xx/srf06/board.c diff --git a/drivers/platform/srf06-cc26xx/srf06/button-sensor.c b/arch/platform/srf06-cc26xx/srf06/button-sensor.c similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/button-sensor.c rename to arch/platform/srf06-cc26xx/srf06/button-sensor.c diff --git a/drivers/platform/srf06-cc26xx/srf06/button-sensor.h b/arch/platform/srf06-cc26xx/srf06/button-sensor.h similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/button-sensor.h rename to arch/platform/srf06-cc26xx/srf06/button-sensor.h diff --git a/drivers/platform/srf06-cc26xx/srf06/cc13xx/Makefile.cc13xx b/arch/platform/srf06-cc26xx/srf06/cc13xx/Makefile.cc13xx similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/cc13xx/Makefile.cc13xx rename to arch/platform/srf06-cc26xx/srf06/cc13xx/Makefile.cc13xx diff --git a/drivers/platform/srf06-cc26xx/srf06/cc13xx/board.h b/arch/platform/srf06-cc26xx/srf06/cc13xx/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/cc13xx/board.h rename to arch/platform/srf06-cc26xx/srf06/cc13xx/board.h diff --git a/drivers/platform/srf06-cc26xx/srf06/cc26xx/Makefile.cc26xx b/arch/platform/srf06-cc26xx/srf06/cc26xx/Makefile.cc26xx similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/cc26xx/Makefile.cc26xx rename to arch/platform/srf06-cc26xx/srf06/cc26xx/Makefile.cc26xx diff --git a/drivers/platform/srf06-cc26xx/srf06/cc26xx/board.h b/arch/platform/srf06-cc26xx/srf06/cc26xx/board.h similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/cc26xx/board.h rename to arch/platform/srf06-cc26xx/srf06/cc26xx/board.h diff --git a/drivers/platform/srf06-cc26xx/srf06/leds-arch.c b/arch/platform/srf06-cc26xx/srf06/leds-arch.c similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/leds-arch.c rename to arch/platform/srf06-cc26xx/srf06/leds-arch.c diff --git a/drivers/platform/srf06-cc26xx/srf06/srf06-sensors.c b/arch/platform/srf06-cc26xx/srf06/srf06-sensors.c similarity index 100% rename from drivers/platform/srf06-cc26xx/srf06/srf06-sensors.c rename to arch/platform/srf06-cc26xx/srf06/srf06-sensors.c diff --git a/drivers/platform/zoul/Makefile.zoul b/arch/platform/zoul/Makefile.zoul similarity index 96% rename from drivers/platform/zoul/Makefile.zoul rename to arch/platform/zoul/Makefile.zoul index 599fc2568..dbe9825b2 100644 --- a/drivers/platform/zoul/Makefile.zoul +++ b/arch/platform/zoul/Makefile.zoul @@ -26,7 +26,7 @@ CFLAGS += -DDATE="\"`date +"%02u %02d %02m %02y %02H %02M %02S"`\"" ### Configure the build for the board and pull in board-specific sources CONTIKI_TARGET_DIRS += . dev CONTIKI_TARGET_DIRS += . $(BOARD) -PLATFORM_ROOT_DIR = $(CONTIKI)/drivers/platform/$(TARGET) +PLATFORM_ROOT_DIR = $(CONTIKI)/arch/platform/$(TARGET) ### Include the board dir if one exists -include $(PLATFORM_ROOT_DIR)/$(BOARD)/Makefile.$(BOARD) @@ -42,12 +42,12 @@ CONTIKI_SOURCEFILES += $(CONTIKI_TARGET_SOURCEFILES) CLEAN += *.zoul ### Define the CPU directory -CONTIKI_CPU=$(CONTIKI)/drivers/cpu/cc2538 +CONTIKI_CPU=$(CONTIKI)/arch/cpu/cc2538 include $(CONTIKI_CPU)/Makefile.cc2538 MODULES += core/net core/net/mac core/net/mac/framer \ core/net/mac/csma core/net/mac/nullmac \ - drivers/dev/cc1200 + arch/dev/cc1200 ifeq ($(WITH_IP64),1) MODULES += core/net/ip64 diff --git a/drivers/platform/zoul/README.md b/arch/platform/zoul/README.md similarity index 100% rename from drivers/platform/zoul/README.md rename to arch/platform/zoul/README.md diff --git a/drivers/platform/zoul/contiki-conf.h b/arch/platform/zoul/contiki-conf.h similarity index 100% rename from drivers/platform/zoul/contiki-conf.h rename to arch/platform/zoul/contiki-conf.h diff --git a/drivers/platform/zoul/contiki-main.c b/arch/platform/zoul/contiki-main.c similarity index 100% rename from drivers/platform/zoul/contiki-main.c rename to arch/platform/zoul/contiki-main.c diff --git a/drivers/platform/zoul/dev/ac-dimmer.c b/arch/platform/zoul/dev/ac-dimmer.c similarity index 100% rename from drivers/platform/zoul/dev/ac-dimmer.c rename to arch/platform/zoul/dev/ac-dimmer.c diff --git a/drivers/platform/zoul/dev/ac-dimmer.h b/arch/platform/zoul/dev/ac-dimmer.h similarity index 100% rename from drivers/platform/zoul/dev/ac-dimmer.h rename to arch/platform/zoul/dev/ac-dimmer.h diff --git a/drivers/platform/zoul/dev/adc-sensors.c b/arch/platform/zoul/dev/adc-sensors.c similarity index 100% rename from drivers/platform/zoul/dev/adc-sensors.c rename to arch/platform/zoul/dev/adc-sensors.c diff --git a/drivers/platform/zoul/dev/adc-sensors.h b/arch/platform/zoul/dev/adc-sensors.h similarity index 100% rename from drivers/platform/zoul/dev/adc-sensors.h rename to arch/platform/zoul/dev/adc-sensors.h diff --git a/drivers/platform/zoul/dev/adc-zoul.c b/arch/platform/zoul/dev/adc-zoul.c similarity index 100% rename from drivers/platform/zoul/dev/adc-zoul.c rename to arch/platform/zoul/dev/adc-zoul.c diff --git a/drivers/platform/zoul/dev/adc-zoul.h b/arch/platform/zoul/dev/adc-zoul.h similarity index 100% rename from drivers/platform/zoul/dev/adc-zoul.h rename to arch/platform/zoul/dev/adc-zoul.h diff --git a/drivers/platform/zoul/dev/antenna-sw.c b/arch/platform/zoul/dev/antenna-sw.c similarity index 100% rename from drivers/platform/zoul/dev/antenna-sw.c rename to arch/platform/zoul/dev/antenna-sw.c diff --git a/drivers/platform/zoul/dev/antenna-sw.h b/arch/platform/zoul/dev/antenna-sw.h similarity index 100% rename from drivers/platform/zoul/dev/antenna-sw.h rename to arch/platform/zoul/dev/antenna-sw.h diff --git a/drivers/platform/zoul/dev/bme280-arch.c b/arch/platform/zoul/dev/bme280-arch.c similarity index 100% rename from drivers/platform/zoul/dev/bme280-arch.c rename to arch/platform/zoul/dev/bme280-arch.c diff --git a/drivers/platform/zoul/dev/bmpx8x.c b/arch/platform/zoul/dev/bmpx8x.c similarity index 100% rename from drivers/platform/zoul/dev/bmpx8x.c rename to arch/platform/zoul/dev/bmpx8x.c diff --git a/drivers/platform/zoul/dev/bmpx8x.h b/arch/platform/zoul/dev/bmpx8x.h similarity index 100% rename from drivers/platform/zoul/dev/bmpx8x.h rename to arch/platform/zoul/dev/bmpx8x.h diff --git a/drivers/platform/zoul/dev/button-sensor.c b/arch/platform/zoul/dev/button-sensor.c similarity index 100% rename from drivers/platform/zoul/dev/button-sensor.c rename to arch/platform/zoul/dev/button-sensor.c diff --git a/drivers/platform/zoul/dev/button-sensor.h b/arch/platform/zoul/dev/button-sensor.h similarity index 100% rename from drivers/platform/zoul/dev/button-sensor.h rename to arch/platform/zoul/dev/button-sensor.h diff --git a/drivers/platform/zoul/dev/cc1200-zoul-arch.c b/arch/platform/zoul/dev/cc1200-zoul-arch.c similarity index 100% rename from drivers/platform/zoul/dev/cc1200-zoul-arch.c rename to arch/platform/zoul/dev/cc1200-zoul-arch.c diff --git a/drivers/platform/zoul/dev/dht22.c b/arch/platform/zoul/dev/dht22.c similarity index 100% rename from drivers/platform/zoul/dev/dht22.c rename to arch/platform/zoul/dev/dht22.c diff --git a/drivers/platform/zoul/dev/dht22.h b/arch/platform/zoul/dev/dht22.h similarity index 100% rename from drivers/platform/zoul/dev/dht22.h rename to arch/platform/zoul/dev/dht22.h diff --git a/drivers/platform/zoul/dev/grove-gyro.c b/arch/platform/zoul/dev/grove-gyro.c similarity index 100% rename from drivers/platform/zoul/dev/grove-gyro.c rename to arch/platform/zoul/dev/grove-gyro.c diff --git a/drivers/platform/zoul/dev/grove-gyro.h b/arch/platform/zoul/dev/grove-gyro.h similarity index 100% rename from drivers/platform/zoul/dev/grove-gyro.h rename to arch/platform/zoul/dev/grove-gyro.h diff --git a/drivers/platform/zoul/dev/iaq.c b/arch/platform/zoul/dev/iaq.c similarity index 100% rename from drivers/platform/zoul/dev/iaq.c rename to arch/platform/zoul/dev/iaq.c diff --git a/drivers/platform/zoul/dev/iaq.h b/arch/platform/zoul/dev/iaq.h similarity index 100% rename from drivers/platform/zoul/dev/iaq.h rename to arch/platform/zoul/dev/iaq.h diff --git a/drivers/platform/zoul/dev/led-strip.c b/arch/platform/zoul/dev/led-strip.c similarity index 100% rename from drivers/platform/zoul/dev/led-strip.c rename to arch/platform/zoul/dev/led-strip.c diff --git a/drivers/platform/zoul/dev/led-strip.h b/arch/platform/zoul/dev/led-strip.h similarity index 100% rename from drivers/platform/zoul/dev/led-strip.h rename to arch/platform/zoul/dev/led-strip.h diff --git a/drivers/platform/zoul/dev/leds-arch.c b/arch/platform/zoul/dev/leds-arch.c similarity index 100% rename from drivers/platform/zoul/dev/leds-arch.c rename to arch/platform/zoul/dev/leds-arch.c diff --git a/drivers/platform/zoul/dev/mmc-arch.c b/arch/platform/zoul/dev/mmc-arch.c similarity index 100% rename from drivers/platform/zoul/dev/mmc-arch.c rename to arch/platform/zoul/dev/mmc-arch.c diff --git a/drivers/platform/zoul/dev/motion-sensor.c b/arch/platform/zoul/dev/motion-sensor.c similarity index 100% rename from drivers/platform/zoul/dev/motion-sensor.c rename to arch/platform/zoul/dev/motion-sensor.c diff --git a/drivers/platform/zoul/dev/motion-sensor.h b/arch/platform/zoul/dev/motion-sensor.h similarity index 100% rename from drivers/platform/zoul/dev/motion-sensor.h rename to arch/platform/zoul/dev/motion-sensor.h diff --git a/drivers/platform/zoul/dev/mp3-wtv020sd.c b/arch/platform/zoul/dev/mp3-wtv020sd.c similarity index 100% rename from drivers/platform/zoul/dev/mp3-wtv020sd.c rename to arch/platform/zoul/dev/mp3-wtv020sd.c diff --git a/drivers/platform/zoul/dev/mp3-wtv020sd.h b/arch/platform/zoul/dev/mp3-wtv020sd.h similarity index 100% rename from drivers/platform/zoul/dev/mp3-wtv020sd.h rename to arch/platform/zoul/dev/mp3-wtv020sd.h diff --git a/drivers/platform/zoul/dev/pm10-sensor.c b/arch/platform/zoul/dev/pm10-sensor.c similarity index 100% rename from drivers/platform/zoul/dev/pm10-sensor.c rename to arch/platform/zoul/dev/pm10-sensor.c diff --git a/drivers/platform/zoul/dev/pm10-sensor.h b/arch/platform/zoul/dev/pm10-sensor.h similarity index 100% rename from drivers/platform/zoul/dev/pm10-sensor.h rename to arch/platform/zoul/dev/pm10-sensor.h diff --git a/drivers/platform/zoul/dev/relay.c b/arch/platform/zoul/dev/relay.c similarity index 100% rename from drivers/platform/zoul/dev/relay.c rename to arch/platform/zoul/dev/relay.c diff --git a/drivers/platform/zoul/dev/relay.h b/arch/platform/zoul/dev/relay.h similarity index 100% rename from drivers/platform/zoul/dev/relay.h rename to arch/platform/zoul/dev/relay.h diff --git a/drivers/platform/zoul/dev/rgb-bl-lcd.c b/arch/platform/zoul/dev/rgb-bl-lcd.c similarity index 100% rename from drivers/platform/zoul/dev/rgb-bl-lcd.c rename to arch/platform/zoul/dev/rgb-bl-lcd.c diff --git a/drivers/platform/zoul/dev/rgb-bl-lcd.h b/arch/platform/zoul/dev/rgb-bl-lcd.h similarity index 100% rename from drivers/platform/zoul/dev/rgb-bl-lcd.h rename to arch/platform/zoul/dev/rgb-bl-lcd.h diff --git a/drivers/platform/zoul/dev/rtcc-config.h b/arch/platform/zoul/dev/rtcc-config.h similarity index 100% rename from drivers/platform/zoul/dev/rtcc-config.h rename to arch/platform/zoul/dev/rtcc-config.h diff --git a/drivers/platform/zoul/dev/rtcc.c b/arch/platform/zoul/dev/rtcc.c similarity index 100% rename from drivers/platform/zoul/dev/rtcc.c rename to arch/platform/zoul/dev/rtcc.c diff --git a/drivers/platform/zoul/dev/rtcc.h b/arch/platform/zoul/dev/rtcc.h similarity index 100% rename from drivers/platform/zoul/dev/rtcc.h rename to arch/platform/zoul/dev/rtcc.h diff --git a/drivers/platform/zoul/dev/servo.c b/arch/platform/zoul/dev/servo.c similarity index 100% rename from drivers/platform/zoul/dev/servo.c rename to arch/platform/zoul/dev/servo.c diff --git a/drivers/platform/zoul/dev/servo.h b/arch/platform/zoul/dev/servo.h similarity index 100% rename from drivers/platform/zoul/dev/servo.h rename to arch/platform/zoul/dev/servo.h diff --git a/drivers/platform/zoul/dev/sht25.c b/arch/platform/zoul/dev/sht25.c similarity index 100% rename from drivers/platform/zoul/dev/sht25.c rename to arch/platform/zoul/dev/sht25.c diff --git a/drivers/platform/zoul/dev/sht25.h b/arch/platform/zoul/dev/sht25.h similarity index 100% rename from drivers/platform/zoul/dev/sht25.h rename to arch/platform/zoul/dev/sht25.h diff --git a/drivers/platform/zoul/dev/tmp102.c b/arch/platform/zoul/dev/tmp102.c similarity index 100% rename from drivers/platform/zoul/dev/tmp102.c rename to arch/platform/zoul/dev/tmp102.c diff --git a/drivers/platform/zoul/dev/tmp102.h b/arch/platform/zoul/dev/tmp102.h similarity index 100% rename from drivers/platform/zoul/dev/tmp102.h rename to arch/platform/zoul/dev/tmp102.h diff --git a/drivers/platform/zoul/dev/tsl256x.c b/arch/platform/zoul/dev/tsl256x.c similarity index 100% rename from drivers/platform/zoul/dev/tsl256x.c rename to arch/platform/zoul/dev/tsl256x.c diff --git a/drivers/platform/zoul/dev/tsl256x.h b/arch/platform/zoul/dev/tsl256x.h similarity index 100% rename from drivers/platform/zoul/dev/tsl256x.h rename to arch/platform/zoul/dev/tsl256x.h diff --git a/drivers/platform/zoul/dev/weather-meter.c b/arch/platform/zoul/dev/weather-meter.c similarity index 100% rename from drivers/platform/zoul/dev/weather-meter.c rename to arch/platform/zoul/dev/weather-meter.c diff --git a/drivers/platform/zoul/dev/weather-meter.h b/arch/platform/zoul/dev/weather-meter.h similarity index 100% rename from drivers/platform/zoul/dev/weather-meter.h rename to arch/platform/zoul/dev/weather-meter.h diff --git a/drivers/platform/zoul/dev/zonik.c b/arch/platform/zoul/dev/zonik.c similarity index 100% rename from drivers/platform/zoul/dev/zonik.c rename to arch/platform/zoul/dev/zonik.c diff --git a/drivers/platform/zoul/dev/zonik.h b/arch/platform/zoul/dev/zonik.h similarity index 100% rename from drivers/platform/zoul/dev/zonik.h rename to arch/platform/zoul/dev/zonik.h diff --git a/drivers/platform/zoul/dev/zoul-sensors.c b/arch/platform/zoul/dev/zoul-sensors.c similarity index 100% rename from drivers/platform/zoul/dev/zoul-sensors.c rename to arch/platform/zoul/dev/zoul-sensors.c diff --git a/drivers/platform/zoul/dev/zoul-sensors.h b/arch/platform/zoul/dev/zoul-sensors.h similarity index 100% rename from drivers/platform/zoul/dev/zoul-sensors.h rename to arch/platform/zoul/dev/zoul-sensors.h diff --git a/drivers/platform/zoul/firefly-reva/Makefile.firefly-reva b/arch/platform/zoul/firefly-reva/Makefile.firefly-reva similarity index 100% rename from drivers/platform/zoul/firefly-reva/Makefile.firefly-reva rename to arch/platform/zoul/firefly-reva/Makefile.firefly-reva diff --git a/drivers/platform/zoul/firefly-reva/README.md b/arch/platform/zoul/firefly-reva/README.md similarity index 100% rename from drivers/platform/zoul/firefly-reva/README.md rename to arch/platform/zoul/firefly-reva/README.md diff --git a/drivers/platform/zoul/firefly-reva/board.c b/arch/platform/zoul/firefly-reva/board.c similarity index 100% rename from drivers/platform/zoul/firefly-reva/board.c rename to arch/platform/zoul/firefly-reva/board.c diff --git a/drivers/platform/zoul/firefly-reva/board.h b/arch/platform/zoul/firefly-reva/board.h similarity index 100% rename from drivers/platform/zoul/firefly-reva/board.h rename to arch/platform/zoul/firefly-reva/board.h diff --git a/drivers/platform/zoul/firefly/Makefile.firefly b/arch/platform/zoul/firefly/Makefile.firefly similarity index 100% rename from drivers/platform/zoul/firefly/Makefile.firefly rename to arch/platform/zoul/firefly/Makefile.firefly diff --git a/drivers/platform/zoul/firefly/README.md b/arch/platform/zoul/firefly/README.md similarity index 100% rename from drivers/platform/zoul/firefly/README.md rename to arch/platform/zoul/firefly/README.md diff --git a/drivers/platform/zoul/firefly/board.c b/arch/platform/zoul/firefly/board.c similarity index 100% rename from drivers/platform/zoul/firefly/board.c rename to arch/platform/zoul/firefly/board.c diff --git a/drivers/platform/zoul/firefly/board.h b/arch/platform/zoul/firefly/board.h similarity index 100% rename from drivers/platform/zoul/firefly/board.h rename to arch/platform/zoul/firefly/board.h diff --git a/drivers/platform/zoul/fs/fat/diskio.c b/arch/platform/zoul/fs/fat/diskio.c similarity index 100% rename from drivers/platform/zoul/fs/fat/diskio.c rename to arch/platform/zoul/fs/fat/diskio.c diff --git a/drivers/platform/zoul/fs/fat/ffconf.h b/arch/platform/zoul/fs/fat/ffconf.h similarity index 100% rename from drivers/platform/zoul/fs/fat/ffconf.h rename to arch/platform/zoul/fs/fat/ffconf.h diff --git a/drivers/platform/zoul/images/firefly-reva.jpg b/arch/platform/zoul/images/firefly-reva.jpg similarity index 100% rename from drivers/platform/zoul/images/firefly-reva.jpg rename to arch/platform/zoul/images/firefly-reva.jpg diff --git a/drivers/platform/zoul/orion/Makefile.orion b/arch/platform/zoul/orion/Makefile.orion similarity index 86% rename from drivers/platform/zoul/orion/Makefile.orion rename to arch/platform/zoul/orion/Makefile.orion index ef1b74c3e..7c5804d39 100644 --- a/drivers/platform/zoul/orion/Makefile.orion +++ b/arch/platform/zoul/orion/Makefile.orion @@ -1,5 +1,5 @@ MOTELIST_ZOLERTIA = orion -MODULES += drivers/dev/enc28j60 +MODULES += arch/dev/enc28j60 CC2538_ENC28J60_ARCH ?= gpio WITH_IP64 ?= 1 CFLAGS += -DUIP_FALLBACK_INTERFACE=ip64_uip_fallback_interface diff --git a/drivers/platform/zoul/orion/README.md b/arch/platform/zoul/orion/README.md similarity index 100% rename from drivers/platform/zoul/orion/README.md rename to arch/platform/zoul/orion/README.md diff --git a/drivers/platform/zoul/orion/board.c b/arch/platform/zoul/orion/board.c similarity index 100% rename from drivers/platform/zoul/orion/board.c rename to arch/platform/zoul/orion/board.c diff --git a/drivers/platform/zoul/orion/board.h b/arch/platform/zoul/orion/board.h similarity index 100% rename from drivers/platform/zoul/orion/board.h rename to arch/platform/zoul/orion/board.h diff --git a/drivers/platform/zoul/orion/enc28j60-arch-gpio.c b/arch/platform/zoul/orion/enc28j60-arch-gpio.c similarity index 100% rename from drivers/platform/zoul/orion/enc28j60-arch-gpio.c rename to arch/platform/zoul/orion/enc28j60-arch-gpio.c diff --git a/drivers/platform/zoul/orion/enc28j60-arch-spi.c b/arch/platform/zoul/orion/enc28j60-arch-spi.c similarity index 100% rename from drivers/platform/zoul/orion/enc28j60-arch-spi.c rename to arch/platform/zoul/orion/enc28j60-arch-spi.c diff --git a/drivers/platform/zoul/orion/ip64-conf.h b/arch/platform/zoul/orion/ip64-conf.h similarity index 100% rename from drivers/platform/zoul/orion/ip64-conf.h rename to arch/platform/zoul/orion/ip64-conf.h diff --git a/drivers/platform/zoul/remote-reva/Makefile.remote-reva b/arch/platform/zoul/remote-reva/Makefile.remote-reva similarity index 53% rename from drivers/platform/zoul/remote-reva/Makefile.remote-reva rename to arch/platform/zoul/remote-reva/Makefile.remote-reva index b1969e1b5..525364a20 100644 --- a/drivers/platform/zoul/remote-reva/Makefile.remote-reva +++ b/arch/platform/zoul/remote-reva/Makefile.remote-reva @@ -1,4 +1,4 @@ MOTELIST_ZOLERTIA = remote BOARD_SOURCEFILES += board.c antenna-sw.c mmc-arch.c rtcc.c power-mgmt.c leds-arch.c -MODULES += core/lib/fs/fat core/lib/fs/fat/option drivers/platform/zoul/fs/fat drivers/dev/disk/mmc +MODULES += core/lib/fs/fat core/lib/fs/fat/option arch/platform/zoul/fs/fat arch/dev/disk/mmc diff --git a/drivers/platform/zoul/remote-reva/README.md b/arch/platform/zoul/remote-reva/README.md similarity index 100% rename from drivers/platform/zoul/remote-reva/README.md rename to arch/platform/zoul/remote-reva/README.md diff --git a/drivers/platform/zoul/remote-reva/board.c b/arch/platform/zoul/remote-reva/board.c similarity index 100% rename from drivers/platform/zoul/remote-reva/board.c rename to arch/platform/zoul/remote-reva/board.c diff --git a/drivers/platform/zoul/remote-reva/board.h b/arch/platform/zoul/remote-reva/board.h similarity index 100% rename from drivers/platform/zoul/remote-reva/board.h rename to arch/platform/zoul/remote-reva/board.h diff --git a/drivers/platform/zoul/remote-reva/power-mgmt.c b/arch/platform/zoul/remote-reva/power-mgmt.c similarity index 100% rename from drivers/platform/zoul/remote-reva/power-mgmt.c rename to arch/platform/zoul/remote-reva/power-mgmt.c diff --git a/drivers/platform/zoul/remote-reva/power-mgmt.h b/arch/platform/zoul/remote-reva/power-mgmt.h similarity index 100% rename from drivers/platform/zoul/remote-reva/power-mgmt.h rename to arch/platform/zoul/remote-reva/power-mgmt.h diff --git a/drivers/platform/zoul/remote-revb/Makefile.remote-revb b/arch/platform/zoul/remote-revb/Makefile.remote-revb similarity index 53% rename from drivers/platform/zoul/remote-revb/Makefile.remote-revb rename to arch/platform/zoul/remote-revb/Makefile.remote-revb index 17d864616..daf9fd367 100644 --- a/drivers/platform/zoul/remote-revb/Makefile.remote-revb +++ b/arch/platform/zoul/remote-revb/Makefile.remote-revb @@ -1,4 +1,4 @@ MOTELIST_ZOLERTIA = remote BOARD_SOURCEFILES += board.c antenna-sw.c mmc-arch.c rtcc.c leds-res-arch.c power-mgmt.c -MODULES += core/lib/fs/fat core/lib/fs/fat/option drivers/platform/zoul/fs/fat drivers/dev/disk/mmc +MODULES += core/lib/fs/fat core/lib/fs/fat/option arch/platform/zoul/fs/fat arch/dev/disk/mmc diff --git a/drivers/platform/zoul/remote-revb/README.md b/arch/platform/zoul/remote-revb/README.md similarity index 100% rename from drivers/platform/zoul/remote-revb/README.md rename to arch/platform/zoul/remote-revb/README.md diff --git a/drivers/platform/zoul/remote-revb/board.c b/arch/platform/zoul/remote-revb/board.c similarity index 100% rename from drivers/platform/zoul/remote-revb/board.c rename to arch/platform/zoul/remote-revb/board.c diff --git a/drivers/platform/zoul/remote-revb/board.h b/arch/platform/zoul/remote-revb/board.h similarity index 100% rename from drivers/platform/zoul/remote-revb/board.h rename to arch/platform/zoul/remote-revb/board.h diff --git a/drivers/platform/zoul/remote-revb/leds-res-arch.c b/arch/platform/zoul/remote-revb/leds-res-arch.c similarity index 100% rename from drivers/platform/zoul/remote-revb/leds-res-arch.c rename to arch/platform/zoul/remote-revb/leds-res-arch.c diff --git a/drivers/platform/zoul/remote-revb/power-mgmt.c b/arch/platform/zoul/remote-revb/power-mgmt.c similarity index 100% rename from drivers/platform/zoul/remote-revb/power-mgmt.c rename to arch/platform/zoul/remote-revb/power-mgmt.c diff --git a/drivers/platform/zoul/remote-revb/power-mgmt.h b/arch/platform/zoul/remote-revb/power-mgmt.h similarity index 100% rename from drivers/platform/zoul/remote-revb/power-mgmt.h rename to arch/platform/zoul/remote-revb/power-mgmt.h diff --git a/drivers/platform/zoul/zolertia-zoul-cdc-acm.inf b/arch/platform/zoul/zolertia-zoul-cdc-acm.inf similarity index 100% rename from drivers/platform/zoul/zolertia-zoul-cdc-acm.inf rename to arch/platform/zoul/zolertia-zoul-cdc-acm.inf diff --git a/doc/Makefile b/doc/Makefile index 985cc6f0f..555986417 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -1,4 +1,4 @@ -basedirs := core drivers/cpu drivers/platform apps +basedirs := core arch/cpu arch/platform apps manuals := $(shell find ./ -name "*.txt") filetypes := -iwholename "*/doc/*.txt" empty := diff --git a/examples/ipv6/rpl-border-router/Makefile b/examples/ipv6/rpl-border-router/Makefile index c231e1622..f3974f4ea 100644 --- a/examples/ipv6/rpl-border-router/Makefile +++ b/examples/ipv6/rpl-border-router/Makefile @@ -9,7 +9,7 @@ PROJECT_SOURCEFILES += slip-bridge.c #Simple built-in webserver is the default. #Override with make WITH_WEBSERVER=0 for no webserver. #WITH_WEBSERVER=webserver-name will use /apps/webserver-name if it can be -#found in the /apps, /drivers//platform/$(TARGET)/apps/, or current directory (in that order). +#found in the /apps, /arch/platform/$(TARGET)/apps/, or current directory (in that order). # WITH_WEBSERVER=webserver for /apps/webserver #make clean before changing webservers! diff --git a/examples/platform-specific/zoul/Makefile b/examples/platform-specific/zoul/Makefile index 948066f73..86295306e 100644 --- a/examples/platform-specific/zoul/Makefile +++ b/examples/platform-specific/zoul/Makefile @@ -13,7 +13,7 @@ CONTIKI_TARGET_SOURCEFILES += adc-sensors.c weather-meter.c grove-gyro.c CONTIKI_TARGET_SOURCEFILES += rgb-bl-lcd.c pm10-sensor.c iaq.c zonik.c relay.c CONTIKI_TARGET_SOURCEFILES += dht22.c servo.c ac-dimmer.c bme280-arch.c -MODULES += drivers//dev/bme280 +MODULES += arch/dev/bme280 all: $(CONTIKI_PROJECT) diff --git a/tools/Makefile b/tools/Makefile index a4d3022ef..798426cb9 100644 --- a/tools/Makefile +++ b/tools/Makefile @@ -19,7 +19,7 @@ cleanfiles: @find ../examples -name "contiki-*.a" -delete cleantargets: ${info Removing .TARGET builds...} - @rm -f -v ${addprefix ../examples/*/*., ${shell ls ../drivers/platform/}} - @rm -f -v ${addprefix ../examples/*/*/*., ${shell ls ../drivers/platform/}} + @rm -f -v ${addprefix ../examples/*/*., ${shell ls ../arch/platform/}} + @rm -f -v ${addprefix ../examples/*/*/*., ${shell ls ../arch/platform/}} cleandone: @echo ${info All done!}