1
0
mirror of https://github.com/elua/elua.git synced 2025-01-08 20:56:17 +08:00

687 Commits

Author SHA1 Message Date
naves.thiago
8f3976397f Fix RPC on MBED 2011-05-15 16:18:21 -03:00
Peter Edwards
d717fc44db Merged rfs_server/mux VS2010 compilation patch from Peter Edwards 2011-05-07 23:57:45 +03:00
Bogdan Marinescu
abefe29667 added SPI support for STR912 2011-05-07 23:31:44 +03:00
Bogdan Marinescu
1ca3b324b5 Initialization fix for STR912 2011-05-07 23:09:31 +03:00
Bogdan Marinescu
ea148e9741 Fixes some typos in the build scripts and the help text of 'mux' 2011-05-07 22:07:09 +03:00
Bogdan Marinescu
d21b544b74 Fixed an error that happened while merging the AVR32 networking support 2011-05-07 22:04:45 +03:00
Mike King
328bdb6094 Merged Mike King's patch for serial_win32.c 2011-05-07 22:04:09 +03:00
Nuccio Raciti
6cd2ba8366 Merge of AVR32 ethernet support from Nuccio Raciti 2011-05-07 19:09:43 +03:00
sweetlilmre
2f529e06f9 Added support for compiling mux and rfs_server under Visual Studio 2010. Patch includes move of rfs functions out of main.c in rfs_server and into rfs_transports.c/h
Signed-off-by: sweetlilmre <sweetlilmre@gmail.com>
2011-05-07 14:00:11 +02:00
Dado Sutter
c0d6211fc2 - Fixed issue #231 on the tracker
http://tracker.eluaproject.net/issues/231
  spi.write() hang when argument was a string with lenght=1
2011-05-02 22:18:57 -03:00
James Snyder
aee02c2986 Lengthen LuaRPC timeout over serial. 2011-05-02 17:39:00 -05:00
James Snyder
286f1263df bitarray: fix post-creation value setting for arrays with value sizes of 8,16,32 bits 2011-05-02 17:29:29 -05:00
James Snyder
ae856ae163 add bitarray, bit and pack modules to desktop luarpc build 2011-05-02 16:46:53 -05:00
James Snyder
06a9536b57 bitarray only needs types from type.h not full platform.h This adjustment makes compiling into luarpc (desktop) easier. 2011-05-02 16:43:49 -05:00
Martin Guy
b00b37e000 Merge branch 'master' of github.com:elua/elua 2011-04-27 02:48:13 +02:00
James Snyder
7c41ff5fda add note about SVN->Git instructions 2011-04-26 18:54:00 -05:00
Martin Guy
ead2bf6b27 Turn KC_UP into term.KC_UP for clarity 2011-04-27 01:10:34 +02:00
Martin Guy
a0c387efb7 Fix typo 2011-04-27 00:52:33 +02:00
James Snyder
3185d8542e fix order of GitHub setup instructions 2011-04-26 17:17:52 -05:00
James Snyder
a637578dc6 Merge branch 'master' of https://github.com/elua/elua 2011-04-26 16:53:40 -05:00
James Snyder
4ce04512c8 Update downloads page with some Git instructions. 2011-04-26 16:51:36 -05:00
Martin Guy
c0faaa1305 Fix markup 2011-04-26 23:36:33 +02:00
Martin Guy
9e936e070f fix typo 2011-04-26 23:32:14 +02:00
Martin Guy
e1b80e55bb Fix bug #221 2011-04-25 21:27:50 +02:00
Martin Guy
27d0ed361e Revert "Put more SERMUX code under #ifdef BUILD_SERMUX"
This reverts commit 02cc57c53822d6aec3f55cca15c6f1f2f3c4cad7.

Objected to by Bogdan.
2011-04-25 21:26:19 +02:00
Martin Guy
53efb1b4c8 Add code to allow compilation with BUILD_LUA_INT_HANDLERS on avr32 platforms 2011-04-25 17:46:22 +02:00
Martin Guy
02cc57c538 Put more SERMUX code under #ifdef BUILD_SERMUX
Saves 184 bytes in code segment when !BUILD_SERMUX by replacing constant
runtime checks with compile-time ones.
2011-04-25 17:16:05 +02:00
Martin Guy
dfcde5bb47 Starting to fix AVR32 UARt code:
- Check for error return values and return errors when they happen
- Return error value when invalid parameters are passed
- uart.setup(): return the actual baud rate set.
2011-04-25 16:32:00 +02:00
Martin Guy
c0119c0908 Revert "Allow enabling/disabling of console buffer bu changing only BUF_ENABLE_CON"
This reverts commit a836ebeaaee9b3a84096f6f72213fa4a9d9f725a.

As requested by Bogdan
2011-04-25 13:52:10 +02:00
Martin Guy
0a89dae26b Revert "Remove printing of internal code values from "Buffer overflow" message"
This reverts commit 593b4b92327622b62f262d3c333e93d914d4ff72.

As requested by Bogdan
2011-04-23 19:15:17 +02:00
Martin Guy
f49b44eae6 Fix typos in en_refman_gen_tmr doc 2011-04-23 18:56:41 +02:00
Martin Guy
593b4b9232 Remove printing of internal code values from "Buffer overflow" message
so that the relatively common UART input buffer overflow condition just says
"[ERROR] Buffer overflow." without the inscrutable "resid=0 resnum=0" numbers.
2011-04-23 18:20:15 +02:00
Martin Guy
a836ebeaae Allow enabling/disabling of console buffer bu changing only BUF_ENABLE_CON
(before, you had to change BUF_ENABLE_CON and CON_BUF_SIZE in parallel).
2011-04-23 18:05:50 +02:00
Martin Guy
3b17c33002 When there is an error reading a line of input, return the actual number of
characters received before the error (not a whole buffer full of junk!)
2011-04-23 18:03:51 +02:00
Martin Guy
35c0b09875 When the UART gets a receive error, clear the error flag to avoid infinite
repetition of the error state.
2011-04-23 18:02:47 +02:00
Martin Guy
b49a11f4a2 Fix typos in documentation 2011-04-21 20:48:04 +02:00
Martin Guy
eed1f7492d Prepare Mizar32 platform conf for support of ADC module (disabled by default) 2011-04-21 19:34:09 +02:00
Martin Guy
5cb0a63bee Fix defines so that inclusion of ADC code is controlled by BUILD_ADC
(previously, if NUM_ADC>0 but !BUILD_ADC, compilation failed with
unresolved symbols)
2011-04-21 19:09:19 +02:00
Martin Guy
ae73382af2 Omit AVR32 UART pin definitions for UARTS 3 and 4 when NUM_UART <= 2
(which is the usual case)
2011-04-13 13:16:04 +02:00
Martin Guy
3b77200eda EVK1100 has two UARTS, not four. USARTs 2 and 3 are used for SPI, and calling
uart.setup() on them can crash the board.
2011-04-13 13:06:53 +02:00
Martin Guy
d5b8f534ae Avoid compiler warning about adc_int_handler() when NUM_ADC == 0 2011-04-13 12:06:19 +02:00
Martin Guy
0c0fe83457 Revert "Avoid compiler warning about adc_int_handler() when NUM_ADC == 0"
This reverts commit d0eae8c43349e422a306d8b51fd10c531d359964.
2011-04-13 12:04:38 +02:00
Martin Guy
d0eae8c433 Avoid compiler warning about adc_int_handler() when NUM_ADC == 0 2011-04-13 12:01:51 +02:00
Martin Guy
2873ac892a Comment rationale behind Mizar32 pull-up resistor code on UART0 RX pin
and make it happen before the UART (interrupt) is initialized.
2011-04-13 11:56:00 +02:00
Martin Guy
a0cda92c75 Fix typos in pio refman doc 2011-04-13 11:38:26 +02:00
Martin Guy
d6042df51f Fix two typos in refman_gen_cpu doc 2011-04-13 11:34:31 +02:00
Martin Guy
873c731568 Fix typo in i2c doc: u23 -> u32 2011-04-13 09:32:05 +02:00
Martin Guy
d55aa8cf10 Add minimal documentation at the head of build_elua.lua
saying how to install dependencies and where to find out the
command-line flags
2011-04-12 17:05:08 +02:00
Martin Guy
1fd500623e Make build-elua.lua also a directly executable script (#! ...) 2011-04-12 16:34:42 +02:00
Martin Guy
28c2c86847 Fix typos in I2C documentation 2011-04-12 16:23:25 +02:00