Commit graph

47 commits

Author SHA1 Message Date
Jens Dede
59afae85e2 Use if instead of ifdef. Is more contiki standard-compliant 2016-05-02 22:34:58 +02:00
Jens Dede
119291d083 Fix putchar include when using IPv4 2016-05-02 19:13:26 +02:00
Adam Dunkels
bb2dcaa057 A massive all-tree automated update of all double inclusion guard #defines that changes from using two underscores as a prefix, which are reserved, to not using two underscores as a prefix 2013-11-24 20:20:11 +01: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
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
Niclas Finne
cdfa8708e3 * Added f2xxx for two series (for example z1)
* f1xxx is baseline and always included
* Cleaned up the names of uart and spi (no x in names)
* Updated SPI configuration for WiSMote
2012-01-09 14:54:57 +01:00
Niclas Finne
05b10eb9ce Initial WiSMote port based on code from Arago Systems. 2012-01-09 12:25:06 +01:00
Fredrik Osterlind
2644057fb2 using dma by default 2011-12-21 10:53:18 +01:00
Joakim Eriksson
5b1d9617c4 moved io and signal and IAR-GCC checks from driver files into contiki include file 2011-09-26 10:38:41 +02:00
Joakim Eriksson
95dde73618 fixed Sky platform for IAR compiler 2011-09-11 17:18:02 +02:00
Joakim Eriksson
77ec0bfa0f fixed the z1 platform and generic code used by z1 to work with IAR compiler 2011-05-25 17:21:51 +02:00
Niclas Finne
813489633c Added missing include 2011-04-15 15:49:43 +02:00
Joakim Eriksson
928bf6b6c1 fixed cpu/msp430 for compilation with IAR compiler 2011-04-06 20:08:48 +02:00
joxe
801a7e1149 fixed bug with uart DMA 2011-01-19 20:44:20 +00:00
adamdunkels
bb2e3b25bd Larger default DMA tx buffer size, to allow SLIP operation. Warn if DMA is enabled, since MSPsim does not yet support it. 2011-01-18 16:07:16 +00:00
adamdunkels
f002563e60 Tx on interrupts occasionally misses characters on output. Therefore we turn it off by default. 2011-01-09 20:44:14 +00:00
joxe
5b7b3da99c minor fixes of DMA uart code 2011-01-05 13:36:38 +00:00
joxe
565fda47aa added initial uart1 DMA rx support and required LPM requirements api 2011-01-05 12:02:01 +00:00
joxe
c0549cad3d added some files for MSP430X I/O 2010-08-24 16:23:20 +00:00
nifi
20c8b4f9c6 removed obsolete comments 2010-06-15 13:30:42 +00:00
fros4943
db777ce3d0 reverted previous patch: appears to create problems on hardware 2010-03-05 12:06:03 +00:00
nvt-se
7543d53603 Ensure that the UART port is available before writing 2010-03-03 23:18:58 +00:00
nifi
a364213180 IRQ_PORTx is no longer used. Instead returning port number. 2010-01-14 20:05:58 +00:00
nifi
a937f8626c removed files no longer used with new sensor APIs 2010-01-14 18:10:31 +00:00
nifi
4f2318152e Added support for CPU speed 2.4576MHz and configuration to enable/disable interrupt driven TX 2009-11-18 15:45:32 +00:00
nifi
2640f9bf26 Must check error flag before reading. Removed leds debug. 2009-11-18 13:24:12 +00:00
adamdunkels
790f2f632a Moved putchar into separate file to make it easier to override its implementation 2009-10-30 15:06:26 +00:00
fros4943
53d03aa924 uart correction values for 3.9Mhz (default sky freq.) 2009-10-27 16:25:28 +00:00
nifi
c6f7ef84fe Initialize the transmit ringbuffer before enabling TX interrupt 2009-09-08 10:39:49 +00:00
nvt-se
172ffb74c7 fix compiler warnings. patch from Jesper Karlsson. 2009-04-08 14:56:00 +00:00
adamdunkels
62ef4002a5 Always prod the watchdog on output to avoid spurious resets during long serial outputs 2009-03-02 22:01:26 +00:00
adamdunkels
6ab7ac0598 Added optional interrupt-based transmission, based on the ringbuf library 2009-03-01 20:40:30 +00:00
adamdunkels
e34e97cd6f Minor code style fixes 2009-02-24 21:30:20 +00:00
joxe
5a8dc2df28 added handling function for checkin if uart is transmitting or receiving - patch by Klaus Stengel 2009-01-31 12:46:57 +00:00
joxe
8748230ead changed usart code to handle LPM3 2008-09-18 17:59:27 +00:00
adamdunkels
64b6663b11 moved energest from lib/ to sys/ 2008-07-03 23:59:20 +00:00
joxe
57dedee38f enabled ADC IRQs if ADC sensors active 2008-04-25 15:53:55 +00:00
adamdunkels
cf5ff2bbb2 Made SLIP code coexist with ordinary serial code. If WITH_UIP=1, the SLIP code is used instead. 2008-02-03 20:59:35 +00:00
adamdunkels
e16b7ffcf0 Changed the return value of the inpt handler function to int so that it can wake up the CPU from LPM 2008-01-08 08:04:09 +00:00
nvt-se
b4f3ab5af7 Added support for configurable callbacks of uart1 input. 2007-09-06 11:45:08 +00:00
adamdunkels
00b1e371cf Added energy estimation, disabled IRQs for A/D converting as it used close to 100% CPU time 2007-05-22 21:01:32 +00:00
adamdunkels
9a5bac6282 Added energy estimation 2007-05-22 20:59:11 +00:00
adamdunkels
011306ce54 LPM4_EXIT instead of LPM_AWAKE() 2007-03-21 23:23:43 +00:00
adamdunkels
1fbc0aa5b7 UART1 driver 2007-03-15 21:37:19 +00:00
adamdunkels
574becc10e Interrupt arbitration for sensor drivers 2007-03-15 21:37:01 +00:00
joxe
6c59ef668f added SELECT_IO and SELECT_PM macros 2006-10-10 21:33:26 +00:00
adamdunkels
c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00