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

678 Commits

Author SHA1 Message Date
Dado Sutter
17487f9ebe - doc folder replaced by some work done on Led Lab for the new doc and site
- This should actually be a merge but we made a mistake on the initial repo creation
  and a merge was not possible.
- Below there is a resumed log of the commit messages for the few steps, just for
  the record.

- The merged commit messages for this work are:

 - Removing Portuguese doc content
 - Ignore folder names fixed on .gitignore
 - Removed doc files which content migrated to the CMS
 - docdata.lua updated accordingly
 - Doc build checked ok
 - Overall doc structure and contents still being refined
 - Removing folder cache from git versioning
 - Removing folder dist from git versioning. The folders above are generated by the buildall.lua script and are not part of the sources
 - Adding .gitignore file with objects info to inform git what to ignore
 - Removed file
 - Merge branch 'master' of git@repos.giga.puc-rio.br:elua-doc.git
 - Moving all files and folders to a working doc folder
 - Css updated
 - Index page added and CSS adjusts
 - Merge branch 'master' of git@repos.giga.puc-rio.br:elua-doc.git
 - Signed-off-by: Guilherme Sanchez <guilhermesanchezpacheco@gmail.com>
 - Merge branch 'master' of git@repos.giga.puc-rio.br:elua-doc.git
 - files deleted
 - Changed function that creates functions submenus.
 - Menu inserted with árvore, CSS adjusts, google search
 - Changed past design to new design
 - CSS updated
 - initial import

- The commit ids were also preserved but they are related to this "other"
  work done on Led Lab. We'll keep the repo just in case.

4dce3f77c47b0c3001a2075a946e80ee52759b49 - Removing Portuguese doc content
78d8847525cacf045fe7e672cff6bd1e058a6a4b Ignore folder names fixed on .gitignore
48dee6b7962168ab1098bf709ead6f3cfe6b7964 - Removed doc files which content migrated to the CMS - docdata.lua updated accordingly - Doc build checked ok - Overall doc structure and contents still being refined
2aa2fe0c554db03dbc7029c34d0f4500fe625b37 - Removing folder cache from git versioning - Removing folder dist from git versioning   The folders above are generated by the buildall.lua script and are not part of the sources - Adding .gitignore file with objects info to inform git what to ignore
af6cc2890edf1855af319dc999a03feee5f9bee0 Removed file
6a180e72eb4f4860620cafc0685000e9f2174cfe Merge branch 'master' of git@repos.giga.puc-rio.br:elua-doc.git
eb430112e78ae537459ab315e228ebca84bdf2d4 Moving all files and folders to a working doc folder
d28a7c99489915630bd2625f3756fecf0d08ce37 Css updated
32836ffe382f04ab07c3e6f018c7b449a20d7a8d Index page added and CSS adjusts
1461d9957d9d25a1467cb57ab8717aa213a37e8d Merge branch 'master' of git@repos.giga.puc-rio.br:elua-doc.git
ae1934c04f35a29e25bb4495ae8a31cd9c000b5b Signed-off-by: Guilherme Sanchez <guilhermesanchezpacheco@gmail.com>
b5f31d70f1fac8d3fba325c9867a03f976775698 Merge branch 'master' of git@repos.giga.puc-rio.br:elua-doc.git
ec9ad8446b7ea38b252c6a416e70774349835e45 files deleted
bd7a80151b2030720ba8d8a303467d8c25a4b4b2 Changed function that creates functions submenus.
6a7494acaec694fadbb13520bcbccc51a6b95dfe Inserido menu com árvore, ajustes no CSS, busca do google
e979f1c259d425c9a3be83f9cda20eddffe073bb Changed past design to new design.
381459e95286886b052103a0253e60b29e064d7a CSS updated
4f81d2f1195efe733fe5f97517be325d75937bc3 initial import
2011-05-06 06:49:21 -03:00
Dado Sutter
573694b121 Removing the doc folder, preparing to merge with the inital work done for the new doc and site 2011-05-06 06:46:07 -03: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
Martin Guy
fe4c8d86f7 Integrated Martin Guy's emBLOD bootloader patch in eLua. Original patch message:
emBLOD is Marcus Jansson's second-stage boot loader for AVR32UC3A
parts as used in the EVK1100 and Mizar32 boards, designed to allow
firmware images larger than the on-chip flash memory by loading the
eLua binary from SD card into SDRAM and executing it there.

The source for the emBLOD loader is here https://github.com/cmp1084/emBLOD

When compilation option  bootloader=emblod is given to scons, a special
version is compiled that
- locates the program at the start of SDRAM
- doesn't initialize the system clocks and SDRAM controller, as these
are already set up by emBLOD.

If the bootloader= option is not given, eLua is compiled exactly as before.

The changes I've made to Marcus' originally posted patches are to put
DATA and BSS in internal static RAM, the same as before, since in the
best case (memcpy) the SDRAM is three times slower than access to
static RAM
http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=80657

This also has an impact on code speed: the interpreter runs 9 times
slower in external SDRAM than it does in internal flash.

Tested and working on Mizar32
2011-04-07 22:35:10 +03:00
Bogdan Marinescu
091b5d31e9 Lua build system improvements and bug fixes
- specify -Dmacro on the builder command line to automatically include the macro in the compiler command line
- refactoring: option handling code now moved to utils/utils.lua
- various small bugfixes
2011-04-07 17:38:10 +03:00
Martin Guy
01bcb32034 Apply Roberto's security and bug fixes to Lua 5.1.4 updating it to 5.1.4-3
See http://www.lua.org/ftp/patch-lua-5.1.4-3
2011-04-06 19:31:39 +02:00
Martin Guy
6a46c6d425 Fix pio.port.getval() on AVR32 and AT91SAM7X platforms.
See http://tracker.eluaproject.net/issues/188 for details
2011-04-06 19:00:42 +02:00
Martin Guy
044ca8cadd The AVR32 timer setup code is pointlessly complex, defining two structures
identical to the ones in the avr32 headers, then copying the bitfields one
by one.  This commit just uses the avr32 bitfields and writes them to the
regiters as 32-bit words. Code saving: 240 bytes (and it's faster of course)
2011-04-06 18:55:30 +02:00
Martin Guy
c7a698ff5e Merge branch 'master' of github.com:elua/elua 2011-04-06 18:07:31 +02:00
Martin Guy
7ae5518bf9 First version of AVR32 PWM driver and module for Mizar32 and EVK1100. 2011-04-06 18:04:16 +02:00