Commit Graph

344 Commits

Author SHA1 Message Date
Simon Duquennoy
6fa97286b3
Merge branch 'release-4.1' into contrib/native/button-hal 2018-04-11 20:41:46 +02:00
George Oikonomou
3299780bbe Delete trailing whitespaces (arch/cpu/) 2018-04-07 14:49:40 +01:00
George Oikonomou
f254d22bf3 Delete trailing whitespaces (various leds-arch.c files) 2018-04-07 14:49:40 +01:00
George Oikonomou
f6bd7ba47a Fix code style 2018-04-07 14:49:40 +01:00
Simon Duquennoy
fe0b245962
Merge pull request #400 from g-oikonomou/contrib/native/interrupt-emulation
Emulate interrupt manipulation on native
2018-04-07 15:00:57 +02:00
George Oikonomou
a94b868a4f Tidy-up AROPTS for cpu native 2018-04-06 13:45:56 +01:00
Simon Duquennoy
9476148191 Cooja motes: larger log buffer 2018-04-06 04:04:55 -07:00
Simon Duquennoy
005a45009b
Merge branch 'develop' into contrib/build/cleanup 2018-04-05 08:37:55 +02:00
Xenofon (Fontas) Fafoutis
f91b223c57 ext-flash: doxygen errors fixed 2018-04-04 12:23:53 +01:00
Xenofon (Fontas) Fafoutis
629803c5e5 ext-flash driver moved to arch/dev/ 2018-04-04 11:30:32 +01:00
Xenofon (Fontas) Fafoutis
46d1dd1293 update xmem 2018-04-04 11:30:32 +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
8ea998847b Rename old msp430/sky SPI driver 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
03c63bdd0f Remove spi-hal-arch.h (CC13xx/CC26xx) 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
f6f0c15421 Rename macro and move to HAL 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
5e79f0a922 spi hal implementation for sensortag 2018-04-04 11:30:32 +01:00
xenofon (Fontas) Fafoutis
e7d7ee3962 generic spi driver for cc26xx-cc13xx
launchpad and ext-flash implementation
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
Simon Duquennoy
a6d8c9cf3f
Merge branch 'develop' into contrib/build/cleanup 2018-04-04 10:02:57 +02:00
George Oikonomou
e3ac8c449c Adjust build system
* Remove lib from CONTIKI_TARGET_DIRS since we no longer have anything in this dir
* Build dbg.c (has been added)
* Do not build sprintf.c (has been removed)
* Add os/lib/dbg-io to MODULES
2018-04-03 22:49:41 +01:00
George Oikonomou
16f61bc769 Delete platform-specific implementation of stdio functions 2018-04-03 22:49:41 +01:00
George Oikonomou
f0315cf5c7 Implement dbg_putchar() and dbg_send_bytes()
Those two functions are needed so we can use os/lib/dbg-io for this platform. The old putchar() in slip.c is no longer needed.
2018-04-03 22:49:41 +01:00
George Oikonomou
76bcfcb8cc Move slip.c to top-level platform code dir 2018-04-03 22:49:41 +01:00
Simon Duquennoy
4b11f8c99e
Merge branch 'develop' into contrib/build/cleanup 2018-04-03 14:50:17 +02:00
Simon Duquennoy
1884fe9b0e
Merge branch 'develop' into contrib/jn516x/leftover-br 2018-04-03 14:22:57 +02:00
George Oikonomou
7872da3c9b Transition platform native to the new LED HAL 2018-04-02 22:14:55 +01:00
George Oikonomou
6857d2fe20 Implement the GPIO HAL for platform native 2018-04-02 22:14:55 +01:00
George Oikonomou
b8a43e8bf9 Implement the button HAL for platform native 2018-04-02 22:14:55 +01:00
George Oikonomou
4ededd17d6 Emulate interrupt manipulation on native 2018-04-02 22:13:56 +01:00
Simon Duquennoy
fb93316f21
Merge branch 'develop' into contrib/native/remove-typedefs 2018-04-02 20:33:24 +02:00
George Oikonomou
1d59a258ed Remove obsolete typedefs 2018-04-01 14:34:52 +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
be2a818eaa Adjust nrf52832 compile output 2018-03-30 21:23:00 +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
1d3122750a Define different mspsim-maptable per project
The rule is changed such that it makes sure the .map file gets built first. We have separate map files per project, so we need separate mspsim-maptables
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
87dfa61fd6 Use dbg.c from the CPU dir and delete platform file 2018-03-30 21:06:52 +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