Commit Graph

80 Commits

Author SHA1 Message Date
George Oikonomou 00291a5fa0
Merge branch 'develop' into contrib/cc1200-tsch 2018-10-10 22:19:23 +01:00
Simon Duquennoy b7c9cae60c Platform Zoul: move generic cc2538 defines from contiki-conf.h to cc2538-def.h 2018-10-10 17:01:11 +02:00
George Oikonomou 085601f795 Default to using os/lib/dbg-io for all arm-powered platforms
With the exception of one specific build configuration for platform nrf52dk, all our arm-based platforms use the debugging I/O library from os/lib/dbg-io. This commit changes the build system to include this module by default for all arm devices. Platform / CPU Makefiles will no longer need to request this MODULE explicitly. Configuration provided to allow exclusion where required, as is the case for nrf52dk when NRF52_USE_RTT is set to 1.
2018-10-04 15:49:59 +01:00
Simon Duquennoy 22cbced037 TSCH: timeslot timing templates as const 2018-10-04 13:07:25 +02:00
Simon Duquennoy f79a19eaab cc2538-rf and cc1200: only include implementation of RADIO_CONST_TSCH_TIMING when TSCH is enabled 2018-10-04 10:50:09 +02:00
Simon Duquennoy 5497dc1e20 TSCH: timeslot timings as a structure, for flexible configuration 2018-10-04 10:50:09 +02:00
Simon Duquennoy 64ce406ae4 Zoul: TSCH configuration assuming not only cc2538 2018-10-04 10:50:01 +02:00
Simon Duquennoy 4583fff094 Radio API: added values/objects for TSCH constants 2018-10-03 12:42:06 +02:00
kkrentz 501ce04f05 cc2538-rf: Simplified set_channel 2018-10-02 07:07:54 -07:00
kkrentz 9f78836219 cc2538-rf: Simplified get_channel 2018-10-02 07:07:01 -07:00
kkrentz 34f697adf7 cc2538-rf: Support for disabling the SHR search 2018-10-02 07:07:01 -07:00
kkrentz f8091cb87c cc2538-rf: Use logging API 2018-10-02 07:07:01 -07:00
kkrentz 9c1fefa7a7 cc2538-rf: More compact implementation of getting RSSIs 2018-10-02 07:07:01 -07:00
kkrentz 34997f60f6 cc2538-rf: Removed unused function "cc2538_rf_set_promiscous_mode" 2018-10-02 07:07:01 -07:00
kkrentz a1fddeb0f7 cc2538-rf: After init, we are not in receive mode 2018-10-02 07:07:01 -07:00
kkrentz c919975d41 cc2538-rf: I see no point in flushing twice 2018-10-02 07:07:01 -07:00
kkrentz 3045a47a29 cc2538-rf: As per the user's guide, RFCORE_XREG_FSCAL1 needs updating, too 2018-10-02 07:07:01 -07:00
Atis Elsts 8db3c8d3be add const to spi_device_t * parameter in SPI functions, and store ext-flash default config in ROM instead of RAM 2018-09-25 14:28:50 +01:00
Edvard Pettersen d0124e3de7 Reverting API change to GPIO HAL 2018-08-31 11:06:32 +02:00
Edvard Pettersen c53ab05aea Fixed missing changes for GPIO-HAL 2018-08-31 11:05:34 +02:00
kkrentz 21dd6209ff uip: Support for IEEE 802.15.4 short addresses 2018-05-12 02:29:33 -07:00
Simon Duquennoy f9a1f958e1 Merge remote-tracking branch 'origin/release-4.1' into develop 2018-04-20 08:37:14 -07:00
Simon Duquennoy 0b2ea0d810 cc2538-rf: use IEEE802154_DEFAULT_CHANNEL 2018-04-13 02:27:17 -07:00
George Oikonomou 3299780bbe Delete trailing whitespaces (arch/cpu/) 2018-04-07 14:49:40 +01:00
Xenofon (Fontas) Fafoutis 1c335e9faa fix logging error 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis d7baa54bd0 SPI HAL API: lock()/open() and close()/unlock() merged 2018-04-04 11:30:32 +01:00
George Oikonomou 2cad626360 Rename new SPI API to spi.[ch] 2018-04-04 11:30:32 +01:00
George Oikonomou ee4e287fc5 Rename old SPI API to -legacy.h 2018-04-04 11:30:32 +01:00
George Oikonomou 448ee8ae96 Rename arch-specific SPI HAL implementations 2018-04-04 11:30:32 +01:00
George Oikonomou 34df610fcc Remove spi-hal-arch.h (CC2538) 2018-04-04 11:30:32 +01:00
George Oikonomou 7160e1dbd2 Change the way of configuring SPI controller count 2018-04-04 11:30:32 +01:00
George Oikonomou 0695810044 Rename old CC2538 SPI driver 2018-04-04 11:30:32 +01:00
George Oikonomou 4a0dcf5f1e Minor code style fixes 2018-04-04 11:30:32 +01:00
George Oikonomou e7eee05c7d Add some inludes explicitly 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis 2a7e9f0835 SPI HAL implementation for CC2538 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis cf291c22f0 Minor changes in the GPIO HAL 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis 1bb04f2d20 revert cc2538 2018-04-04 11:30:32 +01:00
Niclas Finne 0683d4dc3d Imported SPI API from Yanzi Networks internal Contiki fork. 2018-04-04 11:30:32 +01:00
George Oikonomou b2438b4563 Enable putchar for all arm platforms
Instead of having to #undef putchar in every file where we want to use it, we undef it across the board. See the comment in arm-def.h as to why this needs done.
2018-03-30 22:20:48 +01:00
George Oikonomou 04ca5fd46a Update doxygen content and structure 2018-03-30 15:24:04 +01:00
George Oikonomou 86b10b69aa Resolve multiple symbol definitions 2018-03-30 15:23:50 +01:00
George Oikonomou 1bf1f37b24 Build dbg-io as a module 2018-03-30 15:23:50 +01:00
George Oikonomou 6d592945a0 Use a single common dbg.h 2018-03-30 15:23:50 +01:00
George Oikonomou ed3e2c850e Remove depedency to a debug-uart.h 2018-03-30 15:23:50 +01:00
George Oikonomou 7bf6679806 Allow the GPIO HAL to enable corresponding port interrupt on the NVIC 2018-03-14 09:34:46 +00:00
George Oikonomou 424bee9464 Add CC2538 GPIO conversion macro 2018-03-01 15:29:29 +00:00
George Oikonomou 095a89d937 Adjust CC2538 CPU drivers to use the GPIO HAL 2018-02-24 12:50:02 +00:00
George Oikonomou 10c2bcde15 Build the GPIO HAL for the CC2538 2018-02-24 12:50:02 +00:00
George Oikonomou ab7d7cd9f4 Implement the GPIO HAL for the CC2538 2018-02-24 12:50:02 +00:00
Niclas Finne 309745780e Removed the remaining Contiki Interface declaration macros (CCIF/CLIF) 2018-02-21 01:14:10 +01:00