1
0
mirror of https://github.com/elua/elua.git synced 2025-01-25 01:02:54 +08:00

1130 Commits

Author SHA1 Message Date
James Snyder
c1d2298501 Convert UNIX/Linux build instructions to AsciiDoc, fix Windows equivalent formatting slightly. 2011-12-04 22:16:59 -06:00
James Snyder
7d6d28bd7f Update Windows building doc to reflect current git usage 2011-12-02 20:00:27 -06:00
James Snyder
9c27aed33a Update google analytics code 2011-12-02 19:02:59 -06:00
James Snyder
1802aea31f Update README to include information about where to find doc 2011-12-02 18:44:34 -06:00
James Snyder
bf9315ccc1 Exclude installing docs to be consistent with current site 2011-12-02 17:15:56 -06:00
James Snyder
0c92ddbf0a Correct markup in mizar32 module reference 2011-12-02 17:02:05 -06:00
James Snyder
e51f4b9a33 Merge branch 'master' into newsite 2011-12-02 16:35:49 -06:00
James Snyder
bd116fae17 Merge branch 'master' into newsite
- resolve conflicts arising from merge
2011-12-02 16:33:31 -06:00
Bogdan Marinescu
7b58d26d01 fixed potential timer match interrupt overflow on STM32 2011-12-01 00:38:59 +02:00
Bogdan Marinescu
c18d019556 fixed potential timer match interrupt overflow on STR9 2011-12-01 00:35:49 +02:00
Bogdan Marinescu
583191e697 AVR32 timer interrupt on match bugfix 2011-11-30 23:36:39 +02:00
Martin Guy
8b60c5f44b Fix Mizar32 speed regression introduced by systimer commit
Commit d4f03efb96973d73056d87b4173c394ca673bebf halves the running
speed of the interpreter on Mizar32 because the vitrual timer tick
happens 128906 ties a second when there is no FOSC32 crystal.
This commit restores VTMR granularity by calling the 10Hz routines
once every 12890 ticks.
2011-11-30 07:10:57 +01:00
James Snyder
011d90fec6 Fix missing file close. Adjust formatting of definitions 2011-11-29 10:23:40 -06:00
James Snyder
7e6ea54e9b Modifications to Lua build system to include git revision when available 2011-11-28 22:32:42 -06:00
Bogdan Marinescu
66975786cf Fixed error in getmindelay/getmaxdelay
Fixed an error which made the getmindelay/getmaxdelay functions
invalid (thanks to Martin for spotting this). Also refactored the
code that computes min/max delay from platform files to common code.
2011-11-28 22:58:10 +02:00
Martin Guy
b4acb4d2e7 Fix bugs in I2C speed setting for AVR32
- Always set a speed <= the one requested, never higher
- Return the closest integer to the actual speed that we set,
  instead of just returning the speed they asked for
- Limit the range of the speed to the possible values
  to avoid divisions by zero
2011-11-21 19:04:40 +01:00
Martin Guy
105d3ab458 Merge branch 'master' of github.com:elua/elua 2011-11-21 18:44:58 +01:00
James Snyder
e6eca3cd49 Remove extra unneeded set function from lua build system 2011-11-20 20:38:36 -06:00
James Snyder
f0047b1446 Added options to build systems to filter out certain file name patterns for ROMFS. 2011-11-20 20:36:44 -06:00
James Snyder
06cc867325 Remove requirement for hw_nvic.h inclusion in platform.c for LM3S which was causing redefinition complaints 2011-11-20 19:06:22 -06:00
Bogdan Marinescu
4045a35088 fixed LM3S periodic ETH interrupt triggering 2011-11-21 00:38:04 +02:00
Bogdan Marinescu
9218e6fc38 fixed LM3S interrupt handler order 2011-11-21 00:37:32 +02:00
James Snyder
d067d1f871 Missing USB support sources 2011-11-20 15:29:20 -06:00
James Snyder
745d3549fe Merge branch 'master' of github.com:elua/elua 2011-11-20 14:40:13 -06:00
James Snyder
b5b81e4b2a Correct merge to reflect system timer changes and uIP bug fix 2011-11-20 14:39:49 -06:00
Bogdan Marinescu
cc06690de4 STR9 GPIO interrupt fix 2011-11-20 21:05:10 +02:00
Bogdan Marinescu
79c287aeeb AVR32 GPIO interrupt support
INT_GPIO_POSEDGE and INT_GPIO_NEGEDGE support for AVR32. Tested on
an ATEVK1100 board (NEGEDGE only, POSEDGE is 100% symmetrical and
thus it should work too)
2011-11-20 20:55:33 +02:00
James Snyder
020d12919e Update some target headers, fix builds on 8962, 6965 2011-11-17 20:47:33 -06:00
James Snyder
7db7ac236c Fix building for a few conditions in LM3S platform
- improve SCons conf.py to support usb files
- enable building for 9b92 again
2011-11-17 20:11:45 -06:00
James Snyder
6e664ed6fc Modified to allow building on non-usb stellaris platforms 2011-11-13 17:54:33 -06:00
James Snyder
1b678dfea2 Merge branch 'master' into lm3s_usb_cdc 2011-11-13 17:41:23 -06:00
James Snyder
e56c810aa4 Merge pull request #6 from naves-thiago/master
Fix hard coded SPI ID on STR9
2011-11-13 14:51:01 -08:00
James Snyder
9cd7c65e06 Fix typo in mmc timer code that prevented writing to files 2011-11-13 15:56:06 -06:00
naves.thiago
7dfad82c0c Fix indentation 2011-11-10 21:28:53 -02:00
Bogdan Marinescu
cd530f9640 AVR32 INT_TMR_MATCH fix
Actually disable the timer match interrupt for the non-cyclic mode.
2011-11-10 13:03:57 +02:00
Bogdan Marinescu
d4f03efb96 timer interrupt support for AVR32 2011-11-10 02:27:44 +02:00
Bogdan Marinescu
b79a1d4ead fix invalid argument matching in tmr.set_match_int 2011-11-10 02:25:55 +02:00
Thiago Naves
a38586f217 Updated SPI count in str9's platform_conf.h ( also from the SPI fix ) 2011-11-08 16:55:58 -02:00
Thiago Naves
722d5cb0a1 Fix SPI on STR9 2011-11-08 16:44:37 -02:00
Martin Guy
920b1c28cc Merge branch 'master' of github.com:elua/elua 2011-11-04 05:26:06 +01:00
James Snyder
8c0f82198f Fix CRLF 2011-10-24 19:11:35 -05:00
Martin Guy
060d4980cd Tiny optimisation
cpol and cpha are already checked as being 0 or 1 in modules/spi.c
so don't bother masking them.
2011-10-22 20:50:04 +02:00
Martin Guy
6c655e6e57 Raise Mizar32 CPU freq from 60 to 66MHz and PBA from 15 to 16.5
All derived frequencies (sdram, USB, tmr, VTMRs, SPI, UARTs, PWM, MMC,
and ethernet) compensate correctly for the different PBA freq and
tmr.getmaxdelay() is still just over 0.5 sec (by a hair!).
This may work for EVK110X too - the reason they chose 60MHz is unknown.
2011-10-22 20:01:03 +02:00
Martin Guy
c36309d185 Remove unused variable 2011-10-22 19:38:37 +02:00
Martin Guy
024efa7485 Fix AVR32 SPI initialization
This fixes the following AVR32 SPI clock setting bugs:
- it used to set the SPI frequency at a quarter of what you asked for
  (by calculating it from the wrong clock)
- it did not report what actual frequency it had set
- spi.setup() always seemed to succeed even if it failed
- it used to set the nearest frequency instead of the next lowest available
  so half the time would drive devices at higher than their maximum speed.
  This was hidden by it always setting a quarter of what you asked for (!)
- it would set a junk frequency if you asked for a clock lower than its minimum
- asking for a baud rate of zero made it divide by zero, which went undetected
  and set a random baud rate instead of the minimum available
- Now, if you ask for an invalid number of data bits (< 8 or > 16),
  spi.setup() returns zero.
  This is still wrong and undocumented.
  It should give an error message in platform-independent spi_setup() and stop
  but unfortunately the current code structure does not allow this, since the
  possible numbers of data bits is platform-specific.
2011-10-22 19:20:19 +02:00
Martin Guy
ced77664e9 Revert "Pass the right clock to spi_initMaster() - PBA freq not CPU freq"
This reverts commit 3bdb0c9c93a9b54b29517be41e4c93538c45b40f.
which stopped the MMC card working on Mizar32.
2011-10-22 17:00:31 +02:00
James Snyder
b7b6a6e7eb Add build-time check for system timer for MMCFS 2011-10-21 18:15:14 -05:00
James Snyder
c4f7fe94c1 Adjust MMCFS to use the system timer 2011-10-21 18:08:43 -05:00
Bogdan Marinescu
4ddaf0ab77 merge newtimers into master 2011-10-21 21:30:23 +03:00
Bogdan Marinescu
1486c51508 started to update CHANGELOG for the new release 2011-10-21 21:22:16 +03:00