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

521 Commits

Author SHA1 Message Date
Bogdan Marinescu
aa228cfc7c added const to elua_int_table; added hw_cli/hw_sei in cpu module; various other fixes 2010-11-13 22:36:09 +00:00
Bogdan Marinescu
78acf26f6e add media page 2010-11-10 12:24:35 +00:00
Bogdan Marinescu
3612e87224 Added documentation on interrupts:
Generic info/eLua interrupt handlers: using interrupt handlers from Lua and C
  Platform interface/CPU: updated CPU platform interface
  Platform interface/Timers: updated timers platform interface
  Generic modules/cpu: updated CPU module documentation
  Generic modules/tmr: updated timer module documentation
  eLua internals/Overview/Implementing interrupts: interrupt handlers implementation guide

Also minor bugfixes in the interrupt implementation.
2010-11-06 23:58:05 +00:00
Bogdan Marinescu
6302c1524e STR9 backend modified for the new interrupt structure, the STR9 port can now be compiled fine (but the interrupts were not tested on this particular platform) 2010-11-04 22:40:09 +00:00
Bogdan Marinescu
5978c7b680 - Changed interrupt support infrastructure. No docs yet (will be added later), but check src/platform/lpc24xx/platform_int.c for a quick glimpse of the concept.
- Added direct access to interrupt flags; an interrupt doesn't have to trigger a handler anymore, its flag(s) can be checked instead (platform_cpu_get_interrupt_flag).
- Added experimental C interrupt handlers support (NOT TESTED). It can be compiled and used separately from the Lua interrupt support implementation. Hint: src/elua_int.c, elua_int_set_c_handler and elua_int_get_c_handler, also BUILD_C_INT_HANDLERS (as opposed to BUILD_LUA_INT_HANDLERS).
- Added tmr.set_match_int function that sets a match interrupt on a timer (one-shot or cyclic). Also works on virtual timers. In fact, it currently works only on virtual timers, as none of the platforms have support for this operation with hardware timers.
-Added more interrupt support functions in the CPU module.

All of the above were implemented and tested on the ELUA-PUC board, and nothing else. As a side effect, THIS COMMIT BRAKES THE STR912 PORT! The port will be modified to take advantage of the new interrupt structure soon; until then, please don't update it.
2010-11-03 23:57:27 +00:00
Bogdan Marinescu
8885b719d7 cross-compiler fix 2010-10-18 16:40:25 +00:00
James Snyder
94036f6c9f Enable adcscope for STR9. 2010-10-14 21:11:25 +00:00
James Snyder
e5a1a44cc1 Fix for STR9 ADC that prevented interrupts from firing if sequence was changed before sequence shutdown. 2010-10-14 21:11:13 +00:00
James Snyder
03898194b4 ADC implemented, not fully tested. 2010-10-13 22:19:09 +00:00
Bogdan Marinescu
b0428bc3ec EXTINT interrupt support for STR9 (UNTESTED) 2010-10-10 22:24:36 +00:00
Bogdan Marinescu
b7c8d7dddf added a reference to the #elua IRC channel in the community page 2010-10-06 18:05:09 +00:00
Bogdan Marinescu
016141009e fixed a misspelled link 2010-10-06 17:13:42 +00:00
Bogdan Marinescu
ccc16ebb44 community.html converted to AsciiDoc. This takes care of the first part of the menu :) 2010-10-06 17:04:53 +00:00
Bogdan Marinescu
2bdf0eec73 - Generate "offline" documentation by default. This simply means that the BerliOS logo and the counter will not be added to the navigation div. Use -online as argument to buildall.lua
to add them.
- Minor alignment changes
2010-10-05 22:45:26 +00:00
James Snyder
6fff49b0cb Switch overview to AsciiDoc. 2010-10-05 21:08:04 +00:00
James Snyder
2be99254d1 Crunch new images a bit, saves about 12% of size. 2010-10-05 19:55:22 +00:00
Bogdan Marinescu
0f6eadccd0 status page switched to AsciiDoc 2010-10-05 18:49:14 +00:00
Bogdan Marinescu
a41f589a9f more AsciiDoc work 2010-10-05 15:44:48 +00:00
Bogdan Marinescu
a6f8f4d8a1 Added partial integration of AsciiDoc (http://www.methods.co.nz/asciidoc/) to our documentation system. For now:
- AsciiDoc doesn't work on automatically generated documentation (eluadoc/), just on the static content (but it will)
- Both AsciiDoc and the previous HTML versions are supported, HTML has priority over AsciiDoc

You need at least version 8.6.0 of AsciiDoc to test this.
To give an example of how cool AsciiDoc is, the News page (en/news.html) was rewritten in AsciiDoc format (en/news.txt). 
If you can't see the beauty of writing HTML in such a way that the overall structure of the document remains clear and easy to understand, I reserve the right to question your mental health :)
And yes, the long term goal is to have everything written in AsciiDoc.
2010-10-04 20:55:39 +00:00
Bogdan Marinescu
e0e1c2c4fe added AVR32 without FOSC32 patch and MIZAR32 board support patch (Martin Guy) 2010-10-01 12:11:37 +00:00
Bogdan Marinescu
c757205f89 documentation about interrupt handlers (can be found in Generic info -> eLua interrupt handlers). NOT COMPLETE, still need to modify the CPU module, the CPU platform interface, and add the specific build details. 2010-09-28 23:43:16 +00:00
Bogdan Marinescu
78cab3b3ad - interrupt support in Lua
- ASM interrupt support for ARM targets which eliminates the need for buggy GCC __attribute__ ((interrupt ("IRQ"))) functions
- code refactoring
2010-09-26 18:54:18 +00:00
Bogdan Marinescu
08ffc6b04a generic IRQ handler for STR9 2010-09-21 21:59:10 +00:00
Bogdan Marinescu
ae54bffb5d further fix to romfs=compile under Win32 2010-09-15 17:15:43 +00:00
Bogdan Marinescu
19dd7c5ef6 cross compiler compilation fix 2010-09-12 22:48:42 +00:00
Bogdan Marinescu
d4d29d862f another part of the LM3SS1968 port 2010-09-05 21:02:56 +00:00
Bogdan Marinescu
76e79329f4 patch for EK-LM3S1968 from Tiziano Trevisan 2010-09-05 18:20:27 +00:00
James Snyder
297048b2a8 Enable reflect ADC support on lpc24xx by adjusting romfs examples and SConstruct to include adc examples on romfs. 2010-09-02 15:19:34 +00:00
James Snyder
834e1efc64 ADC Support for LPC24xx & Other Fixes
- ADC support should now work similarly to lpc17xx on lpc24xx
- uart setup updated to enable use of fractional adjustments to better match desired baud
2010-09-02 15:12:41 +00:00
Bogdan Marinescu
c6ec87455a i2c fixes for STR9 2010-08-24 19:52:33 +00:00
James Snyder
4a65cb94fb Fix line endings 2010-08-12 20:27:52 +00:00
Bogdan Marinescu
66588d13c2 CPU module bugfix 2010-08-12 12:34:46 +00:00
Bogdan Marinescu
eacfd4c312 added const to std_get_desc; removed .sconsign.dblite from stm32\FWLib 2010-08-12 11:41:05 +00:00
James Snyder
c6a3365521 Case inconsistency in lpc17xx.h cs LPC17xx.h files. 2010-08-09 17:34:43 +00:00
Dado Sutter
c5a81e5edd eLua web builder announced on the news
some minor changes on the left menu structure
2010-08-04 18:03:00 +00:00
Bogdan Marinescu
2619c80d4a added EVK1100 and SPI support for AVR32 2010-08-04 13:18:39 +00:00
James Snyder
e961350299 Disable scons variable cache. 2010-07-29 03:34:21 +00:00
James Snyder
521944d157 Fix avr32/conf.py per report from Martin Guy. 2010-07-28 15:29:58 +00:00
Bogdan Marinescu
329a519dde added documentation for the new i2c module 2010-07-21 21:59:55 +00:00
Bogdan Marinescu
6b3f038db3 added support for the I2C interface. UNTESTED, for now enabled only for the STR9 platform. Documentation will follow shortly 2010-07-21 20:21:55 +00:00
Dado Sutter
ebaf0c1160 Minor.
Just fixing duplicated lines that my editor (joe) strangely left on last edit.
2010-07-13 18:03:31 +00:00
Dado Sutter
e13cf06b5d PT-BR version of the site going offline for lack of support :(
We hope to offer it again in the future and I'll keep maintaining (offline) what I can.
2010-07-13 17:56:03 +00:00
James Snyder
851f7c16ba ADC for MBED/LPC1768.
Note: MBED P15->P20 == adc dev ids 0->5
2010-07-12 20:56:54 +00:00
Dado Sutter
7e59f07e97 - Early eLua versions used platform_libs.h to define which auxmods were to be built for each platform.
Header comment changed to reflect the current use of platform_conf.h for the same purposes.
2010-06-28 21:53:59 +00:00
Dado Sutter
cd7ac6dad1 - FAQ content migrating to the eLua User Labs
- Main site will still hold a small text linked to it.
2010-06-25 22:33:59 +00:00
Dado Sutter
68bd22b9f7 - Minor doc editing
- Minor version string format change
- Version string changed "trunk pos0.7"
2010-06-25 18:51:24 +00:00
James Snyder
e902d9b7f5 Fix romfs=compile build option.
Command line argument checker was looking for romfs=compiled (incorrect) and target lookup wasn't looking in the correct place.
2010-06-24 23:20:00 +00:00
Dado Sutter
0cf7f2ccb6 - Fixing (or trying to) the require from sd/mmc fs issue 2010-06-22 14:13:05 +00:00
Dado Sutter
195cb558ae Minor syntax correction 2010-06-21 23:38:25 +00:00
Dado Sutter
36cd6398ec - MMC file system added to LUA_LPATH, to allow requires from SD/MMC 2010-06-21 21:13:23 +00:00