Commit Graph

70 Commits

Author SHA1 Message Date
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
MartenBE
e2d5f737db Deleted duplicate const specifiers 2018-02-02 15:26:16 +01:00
George Oikonomou
b5fa28e2d4 Link without using an archive file
For reasons discussed long ago and that have to do with how ld handles weak symbols, it was decided that it was preferable to link using an explicit list of object files, instead of adding object files to an archive first and then linking using this archive. This was applied for the CC2538, but not for CC13xx/CC26xx.

This pull applies this link logic to all CM3s. For this to work with the Contiki-NG build system, we need `.SECONDEXPANSION:`, so this pull moves that to the common CM3 Makefile.
2017-12-17 21:31:39 +00:00
George Oikonomou
48c10d3e30 Use Cortex-M mutexes (CC2538) 2017-12-09 17:09:58 +00:00
George Oikonomou
755a6b88df Use Cortex-M memory barriers (CC2538) 2017-12-09 17:09:57 +00:00
George Oikonomou
690bad7d5e Allow different CPUs to specify how they hook into CMSIS 2017-12-09 17:09:57 +00:00
George Oikonomou
98664e99ee Implement master interrupt manipulation (CC2538) 2017-12-09 17:08:31 +00:00
George Oikonomou
ea2fb7bcc1 Provide header file with configuration common to all CC2538-based platforms 2017-12-06 16:00:46 +00:00
George Oikonomou
d66633ffc4 Provide header file with defines for the CC2538 2017-12-06 16:00:46 +00:00
Simon Duquennoy
e795517750
Merge branch 'develop' into contrib/stack-guard 2017-12-05 15:16:54 +01:00
George Oikonomou
64c310bf2a Use the CM3 common Makefile to build CC2538-based platforms 2017-12-03 15:04:11 +00:00