Xenofon (Fontas) Fafoutis
91882209bf
HAL SPI API Proposal
...
Documenting the SPI HAL API
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
Simon Duquennoy
802576a1bc
Merge pull request #399 from g-oikonomou/contrib/jn516x/dbg-io
...
Use os/lib/dbg-io for platform jn516x
2018-04-04 10:02:39 +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
176bfb206d
Merge pull request #394 from g-oikonomou/contrib/jn516x/leftover-br
...
Delete jn516x-specific BR example
2018-04-03 14:48:22 +02:00
Simon Duquennoy
1884fe9b0e
Merge branch 'develop' into contrib/jn516x/leftover-br
2018-04-03 14:22:57 +02:00
Simon Duquennoy
1f3745f07f
Merge pull request #408 from g-oikonomou/contrib/build/remove-obsolete-makefile
...
Remove obsolete Makefile
2018-04-03 12:52:24 +02:00
Simon Duquennoy
b9f31813c2
Merge branch 'develop' into contrib/build/remove-obsolete-makefile
2018-04-03 11:59:21 +02:00
Simon Duquennoy
1d216c9e9a
Merge pull request #406 from g-oikonomou/bugfix/always-dirty
...
Fix CONTIKI_TARGET_STRING
2018-04-03 11:58:56 +02:00
George Oikonomou
46f73b9a8a
Remove obsolete Makefile
2018-04-02 23:00:52 +01:00
George Oikonomou
4ededd17d6
Emulate interrupt manipulation on native
2018-04-02 22:13:56 +01:00
Simon Duquennoy
e78b2376c6
Merge branch 'develop' into bugfix/always-dirty
2018-04-02 23:00:22 +02:00
Simon Duquennoy
18a2a49d66
Merge pull request #397 from g-oikonomou/contrib/mqtt-client-no-ext
...
Allow the MQTT client to build & work without platform-specific extensions
2018-04-02 22:59:58 +02:00
Simon Duquennoy
f43f9a0f43
Merge branch 'develop' into contrib/mqtt-client-no-ext
2018-04-02 22:03:33 +02:00
Simon Duquennoy
4eabf542be
Merge pull request #402 from g-oikonomou/contrib/gpio/logging
...
Add some logging to the GPIO HAL
2018-04-02 22:03:21 +02:00
Simon Duquennoy
5e21edb20b
Merge branch 'develop' into contrib/gpio/logging
2018-04-02 21:15:16 +02:00
Simon Duquennoy
318d3e003a
Merge pull request #403 from g-oikonomou/contrib/native/remove-typedefs
...
Remove obsolete typedefs from platform native
2018-04-02 21:14:53 +02:00
Simon Duquennoy
fb93316f21
Merge branch 'develop' into contrib/native/remove-typedefs
2018-04-02 20:33:24 +02:00
Simon Duquennoy
3a8be60c09
Merge pull request #405 from g-oikonomou/contrib/led-hal/no-led-support
...
Allow the LED HAL to work on platforms without LEDs
2018-04-02 20:32:47 +02:00
Simon Duquennoy
d01f6381be
Merge branch 'develop' into contrib/led-hal/no-led-support
2018-04-02 19:26:27 +02:00
Simon Duquennoy
588527a8fc
Merge pull request #407 from g-oikonomou/contrib/gitignore
...
Add some build artifacts to .gitignore
2018-04-02 19:26:16 +02:00
Simon Duquennoy
419fd3e4ed
Merge branch 'develop' into contrib/gitignore
2018-04-02 18:49:50 +02:00
Simon Duquennoy
e29b9ff43c
Merge pull request #371 from g-oikonomou/contrib/dbg-io
...
Move debug functions to os/lib/dbg-io
2018-04-02 18:48:43 +02:00
George Oikonomou
7a17d652b5
Git ignore the msp430-specific .firmware make target
2018-04-02 15:50:09 +01:00
George Oikonomou
4bc9424dd3
Ignore .e and .o even if outside obj_<target>
2018-04-02 15:48:48 +01:00
George Oikonomou
a025a9020f
Allow the MQTT client to build & work without platform-specific extensions
2018-04-01 16:53:12 +01:00
George Oikonomou
5d1ed3c17f
Fix CONTIKI_VERSION_STRING
...
Currently, the version string always ends with -dirty. This is related to the logic behind --git-dir, which assumes that the current working dir is the top-level dir of the repo, unless --work-tree is also specified
2018-04-01 16:20:23 +01:00
George Oikonomou
84a74907f3
Allow the LED HAL to work on platforms without LEDs
2018-04-01 15:20:19 +01:00
George Oikonomou
1d59a258ed
Remove obsolete typedefs
2018-04-01 14:34:52 +01:00
George Oikonomou
59e26c8b21
Add some logging to the GPIO HAL
2018-04-01 14:33:04 +01:00
George Oikonomou
148e796ee1
Don't implement putc and __sp
...
Those two functions are not necessary in Contiki-NG
2018-03-30 22:21:24 +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
3f4a1f7c54
Extend the usage target and add help target
2018-03-30 21:23:00 +01:00
George Oikonomou
a22324291f
Specify a number of targets as .PHONY
2018-03-30 21:22:59 +01:00
George Oikonomou
9a1d34e163
Change distclean to clean all platforms
2018-03-30 21:22:59 +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
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