Commit Graph

55 Commits

Author SHA1 Message Date
George Oikonomou
123b38fc2b Rename make variable to better match current practice 2018-10-05 11:13:51 +01: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
Edvard Pettersen
796db58412
Merge branch 'develop' into contrib/ti-simplelink 2018-09-04 10:16:58 +02:00
Atis Elsts
c8792c9261 Set -Werror only if WERROR is set 2018-09-03 12:01:34 +01:00
Edvard Pettersen
232fbd4c98 Fixed travis errors 2018-08-31 16:39:20 +02:00
Edvard Pettersen
b8b1385c1f Extract changes to cpu/cc13xx-cc26xx 2018-08-31 11:05:34 +02:00
Edvard Pettersen
b20f38196a Added missing target dependency for .elf 2018-08-31 11:05:34 +02:00
Edvard Pettersen
7debfe830f Fixed issue with SPI0 and SPI HAL, and fixed bug in Makefile.cm3 2018-08-31 11:05:33 +02:00
Edvard Pettersen
45287759c2 Removed change 2018-08-31 11:05:32 +02:00
Edvard Pettersen
3ac27dc7c9 Cleanup of global Makefiles 2018-08-31 11:05:32 +02:00
Edvard Pettersen
7b812e73c9 Fixed naming and alignment of RF settings, Watchdog driver, Board files 2018-08-31 11:04:44 +02:00
Edvard Pettersen
02b812a631 [Feature]: Simplelink Platform for Simplelink SDK
Working Simplelink platform with the following Simplelink SDK's:
* CC13x0 SDK
* CC13x2 SDK
* CC26x2 SDK

Is also compatible with Code Composer Studio (XDCTools)
2018-08-31 11:04:41 +02:00
Edvard Pettersen
a76462b908 Initial commit of Simplelink rework 2018-08-31 11:04:40 +02:00
Richard Weickelt
8f0b3fb49c Undo unnecessary makefile edit 2018-08-31 11:04:38 +02:00
Richard Weickelt
c99c3b4b5f Rewriting clock module based upon DPL 2018-08-31 11:04:38 +02:00
Edvard Pettersen
765e35ba7f Added working simplelink platform without netstack 2018-08-31 11:04:38 +02:00
Edvard Pettersen
65ba0bb5a6 Fixed remaking Makefiles, removed implicit %.o for %.elf, aligned
defines, added volatile qualifier for RAM vector pointer
2018-08-31 11:04:37 +02:00
Richard Weickelt
a40e5bc314 Build the board file and add all libraries from the SDK 2018-08-31 11:04:37 +02:00
Edvard Pettersen
ddd451a19b Compiling example of dummy simplelink platform 2018-08-31 11:04:37 +02:00
Richard Weickelt
e8251d786b Fix path errors when including arm makefiles from another location than a CPU makefile 2018-08-31 11:04:37 +02:00
Simon Duquennoy
ff7c3ee042 Make rtimer 32-bit by default 2018-04-20 05:20:37 -07:00
Simon Duquennoy
4b11f8c99e
Merge branch 'develop' into contrib/build/cleanup 2018-04-03 14:50:17 +02: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
c7e36a3d55 Change clean target to be more explicit
Previously, the clean target would delete a number of file extensions, many of which currently unknown to our build system (old platforms?). This commit changes the target so that it only cleans what we know we are building. Platforms / CPUs can append to the target with platform-specific build artifacts.
2018-03-30 21:22:59 +01:00
George Oikonomou
16d8c5b4f9 Use a variable for the Contiki-NG archive file
Prevents having to hard-code the filename in multiple cpu/platform makefiles and allows us to easily rename it across the board in the future
2018-03-30 21:22:59 +01:00
George Oikonomou
ce540a8bca Harmonise filename pattern for the .map file
All map files are now called example-platform.map (e.g. hello-world-native.map).
2018-03-30 20:24:59 +01:00
George Oikonomou
ed3e2c850e Remove depedency to a debug-uart.h 2018-03-30 15:23:50 +01:00
George Oikonomou
bb338affeb Move dbg-io to os 2018-03-30 15:23:50 +01:00
George Oikonomou
a0e8b51950 Add license and copyright notice 2018-03-30 15:23:50 +01:00
George Oikonomou
89148eb030 Include contiki.h 2018-03-30 15:23:49 +01:00
George Oikonomou
888a99ed3c Move macros to top of file 2018-03-30 15:23:49 +01:00
George Oikonomou
4e3c7efa5f Fix code style 2018-03-30 15:23:49 +01:00
George Oikonomou
632ab90161 Apply cosmetic changes 2018-03-30 15:23:49 +01: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
Simon Duquennoy
81d1b1bd80 PROJECTDIR now turned into modules via MODULES_REL 2017-12-22 05:21:39 -08:00
Simon Duquennoy
84ea0971bc Remove obsolete flag AUTOSTART_ENABLE, as well as .co and .ce files 2017-12-22 05:21:39 -08: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
62a79c09fc Add mutex implementation for Cortex-M 2017-12-09 17:09:58 +00:00
George Oikonomou
35bd4eb1d8 Provide memory barrier for all Cortex-M CPUs 2017-12-09 17:09:57 +00:00
George Oikonomou
a05db7322d Provide header file with configuration common to all CM4-based CPUs 2017-12-06 16:00:46 +00:00
George Oikonomou
3a0ea73310 Provide header file with configuration common to all CM3-based CPUs 2017-12-06 16:00:46 +00:00
George Oikonomou
3bb60074df Provide header file with configuration common to all Arm CPUs 2017-12-06 16:00:46 +00:00
George Oikonomou
1e18f090ac Add Makefile for all CM3 CPUs 2017-12-03 15:04:10 +00:00
George Oikonomou
92c572bf76 Add Makefile for all CM4 CPUs 2017-12-03 15:04:10 +00:00
George Oikonomou
6333e3b8f7 Move CMSIS arm/cortex-m and add Makefile 2017-12-03 15:04:00 +00:00
George Oikonomou
9aa9a05b93 Add Makefile for all Arm CPUs 2017-12-03 15:03:37 +00:00
George Oikonomou
c8ecd201f5 Tidy-up CMSIS documentation
Define the group within the CMSIS dir and rename a doxygen group that was not displaying correctly in the built docs
2017-12-02 23:30:48 +00:00
George Oikonomou
1b87b86f2e Create doxygen group for ARM CPUs 2017-12-02 23:30:47 +00:00
George Oikonomou
e84eb8247b Remove doxygen groups for obsolete CPUs and platforms 2017-12-02 23:30:47 +00:00