Commit graph

43 commits

Author SHA1 Message Date
Gianfranco Costamagna ddd6b900cd Better error message in case of wrong CPUREV value 2013-10-17 12:33:36 +02:00
stefano pascali 36e7db42de Some little refactor 2013-07-19 16:15:55 +02:00
stefano pascali b43ce0f677 Travis-ci tweaks, added CPUREV to 01 regression test, needed by mbxxx platform 2013-07-12 17:07:04 +02:00
stefano pascali fcb09d5d30 Fixed mbxxx platform 2013-07-11 17:56:17 +02:00
Peter A. Bigot 5fc0575e99 Makefile.include: support make clean all
Historically $(OBJECTDIR) was created when Makefile.include is read.  A
consequence is that combining "clean" with "all" (or any other build
target) results in an error because the clean removes the object
directory that is required to exist when building dependencies.
Creating $(OBJECTDIR) on-demand ensures it is present when needed.

Removed creation of $(OBJECTDIR) on initial read, and added an order-only
dependency forcing its creation all Makefile* rules where the target is
explicitly or implicitly in $(OBJECTDIR).
2013-06-20 17:45:41 -05:00
Adam Dunkels a5046e83c7 Cleanup and refactoring of the STM32w port
This is a general cleanup of things like code style issues and code structure of the STM32w port to make it more like the rest of Contiki is structured.
2013-03-18 13:31:26 +01:00
Etienne Duble 7905316c54 Fix: stm32w flasher for Ubuntu 12.04 and later 2012-11-09 14:14:57 +01:00
Etienne Duble ecdbbaec9a Fix: handle stm32f-based serial interfaces (/dev/ttyACMx) 2012-11-09 14:00:16 +01:00
George Oikonomou 713c2e5974 DOS EOL and indentation fixes (core/ apps/ cpu/)
- Removed some DOS EOLs
- Changed some tabs to spaces
- Removed some trailing whitespaces

Part of Pull Request #6
2012-10-30 13:43:51 +00:00
Adam Dunkels 944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Adam Dunkels b85bc3379c Bugfix in clock_wait() declaration. Various style fixes. 2012-04-22 20:54:29 +02:00
David Kopf cac4e9a222 Add clock_delay_us and clock_set_seconds to clock.h. Modify clock_wait to use clock_time_t.
Remove the troublesome avr/dev/delay.* files.
Add PLATFORM_NAME and combine the confusing *_REVISION defines into a single PLATFORM_TYPE
2012-04-09 15:49:53 -04:00
simonduq 930c7c25bc fixes in mb851 and stm32w108: erroneous linking with mpu.o, conf file,
more printouts in main when ipv6 is used, and a target for memory
profiling taking stm's gnu.ld static stack size into account
2012-04-03 11:47:30 +02:00
simonduq 946f00bf7b stm32w: added ability to upload and reset all connected boards, and login using MOTE=x 2012-03-26 23:00:44 +02:00
simonduq 95ae5c5d51 avoid unnecessary symbols.c/h copying 2012-03-26 23:00:43 +02:00
simonduq e4fb360262 stm32w platforms: contikimac support in the Rime case, with EUI-64 2012-03-20 17:30:59 +01:00
simonduq 5da4463236 adding ducy cycling support to the stm32w-based platforms (patch by Chi-Anh La) 2012-03-20 17:29:58 +01:00
Ilya Dmitrichenko 9c99d46e24 Simplified host OS platform detection in Makefiles 2012-02-25 10:09:33 -05:00
Nicholas J Humfrey 1cda3da17e Converted u8_t to uint8_t and u16_t to uint16_t in the cpu directory. 2012-02-21 08:33:24 -05:00
Salvatore Pitrulli 7a48110067 STM32W flasher utilities for Linux and Windows merged into a single folder. 2011-05-10 19:26:33 +02:00
Salvatore Pitrulli 5eabf33211 Added functions for deep sleep to mbxxx platform. 2011-04-27 18:12:23 +02:00
Salvatore Pitrulli 01a7a78a94 Fixed temperature ADC conversion bug on mbxxx.
The conversion was made from an incorrect source when
the GPIO pin was not PB7.
Added functions and macros used to select the correct
ADC channel.
2011-04-20 18:06:20 +02:00
Salvatore Pitrulli 4ff82b76e5 Removed -fsigned-char GCC compiler options. 2011-04-14 08:12:11 +02:00
Salvatore Pitrulli 0105057c44 Removed unwanted file. 2011-04-14 08:10:58 +02:00
Salvatore Pitrulli 0a0ad39c9b Added weak symbols for STM32W exception handlers and other minor updates for the HAL. 2011-04-14 08:06:13 +02:00
Salvatore Pitrulli 57163c616d Removed some warnings. 2011-04-14 08:05:21 +02:00
Salvatore Pitrulli af8e58e063 Set LED pins to output when MB851 is in sleep mode.
This reduces power consumption.
2011-04-13 18:14:12 +02:00
Salvatore Pitrulli 6655c876f2 Added functions and example for deep sleep on mb851.
The added function let a process to make the system go
into deep sleep for maximum power saving.
The udp-ipv6-example shows how to use these new functions.
2011-04-08 11:53:48 +00:00
Oliver Schmidt f83fb3704b Replaced make-empty-symbols with empty-symbols.[c|h]
The symbol generation shell scripts cause CRLF issues on Windows/Cygwin again and again. Instead of fixing this yet again I opted to remove the symbol generation script at least for the "no symbols" scenario with two C source files to be copied.
2011-04-03 13:24:58 +02:00
Salvatore Pitrulli eb588f1aec New HAL and SimpleMAC for STM32W108. 2011-03-22 19:35:49 +01:00
salvopitru 5fcae86be3 Now it is putchar that has to be redefined (instead of __io_putchar), like other platforms. 2011-01-19 09:13:06 +00:00
salvopitru 9aa734936f RANDOM_MAX changed to RANDOM_RAND_MAX. 2011-01-17 10:08:14 +00:00
salvopitru fb75503624 'BTM' can be defined to flash devices already in bootloader mode.
COFFEE_FILES changed to COFFEE.
2011-01-17 09:41:47 +00:00
salvopitru a9b1b37bec Added definition of BAUD2UBR macro. 2011-01-17 09:22:24 +00:00
salvopitru d0db3fc39a Added a check for Coffee start address. 2010-12-15 15:01:00 +00:00
salvopitru 5fe80dd99d Added elfloader machine dependent code for STM32W. 2010-12-15 11:10:20 +00:00
salvopitru 28e1445a0f Added a simple implementation of Coffee for STM32W108. 2010-11-10 11:20:44 +00:00
salvopitru d8711d32a3 Added configuration in order to run Rime. 2010-10-27 14:05:23 +00:00
salvopitru db3f1864a0 Increased minimum stack size, because rpl uses it much more. 2010-10-26 11:07:20 +00:00
salvopitru 33ccbbb509 Fixed compile error raised after rand.c removal. 2010-10-26 10:47:23 +00:00
salvopitru 444a00949a Added missing libraries. 2010-10-26 10:24:17 +00:00
salvopitru 790f13a689 More safe detection of cygwin path. 2010-10-26 07:26:40 +00:00
salvopitru ec5e3ce0d7 New Contiki port to STM32W108. 2010-10-25 09:03:38 +00:00