Commit Graph

13798 Commits

Author SHA1 Message Date
George Oikonomou 75491b2213 Add native support to the GPIO HAL example 2018-04-02 22:14:56 +01:00
George Oikonomou 908641f324 Use correct format specifier for gpio_hal_pin_mask_t 2018-04-02 22:14:56 +01:00
George Oikonomou 5e85d80625 Test the MQTT client for platform native 2018-04-02 22:14:55 +01:00
George Oikonomou 024586c21a Allow the MQTT client example for platform native 2018-04-02 22:14:55 +01: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 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
George Oikonomou 6d592945a0 Use a single common dbg.h 2018-03-30 15:23:50 +01:00
George Oikonomou 40f6b1a2ba Rename files to resolve filename conflicts 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 8e52414e44 Fix naming convention 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