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
George Oikonomou
e458240200
Change asm() to __asm()
...
This is required in order to compile with -std=c99
2017-12-03 15:04:10 +00:00
George Oikonomou
618ca50fe7
Restructure docs for the CC2538 CPU
2017-12-03 00:05:12 +00:00
George Oikonomou
f25318b60d
Create doxygen groups for CPUs
...
* CC2538
* CC13xx-CC26xx
* nrf52832
2017-12-03 00:05:11 +00:00
Atis Elsts
f9516eae73
Add stack check library and example
2017-12-01 13:35:06 +00:00
George Oikonomou
4d92c63194
Fix MODULES for the CC2538
...
This commit fixes two bugs related to the usage of MODULES for CC2538-based platforms:
* newlib is no longer under `lib/newlib` but under `os/lib/newlib`.
* There is no such thing as `sys` under `arm/common`, so this module is removed.
2017-11-26 22:08:25 +00:00
Simon Duquennoy
faf526b441
Merge branch 'develop' into contrib/remove-mt
2017-11-17 19:40:06 +01:00
Atis Elsts
7b26ead9de
add deep sleep tracking for CC2538
2017-11-15 12:17:44 +00:00
Simon Duquennoy
0952960b91
Removing multi-threading support
2017-11-11 15:28:11 +01:00