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

1282 Commits

Author SHA1 Message Date
naves.thiago
c29b8aa311 Change platform specific module name from platform name to board name (ex: lpc17xx.pio becomes mbed.pio) 2013-08-31 14:52:32 -03:00
Ned Konz
d31505f239 Added Mac OS/X build instructions 2013-08-30 12:39:33 -07:00
James Snyder
0e9bbd3f63 migrate enc module to stm32f4 2013-08-29 18:09:45 -05:00
Bogdan Marinescu
803bea86c1 Fixed missing constants in CPU module 2013-08-19 11:17:49 +03:00
Bogdan Marinescu
a2e1c78d87 Merge pull request #26 from ecdr/MiscUpdates
Misc small updates
2013-08-18 23:57:28 -07:00
ecdr
bf77ad10d1 LM3 Platform - conf.lua - fix definition of cpu variable, also use of undefined variable board 2013-08-17 19:26:29 -07:00
ecdr
bc22f97bd2 LM3 Platform - CAN consts for initial speed, message objects, flags use bytes instead of longs 2013-08-17 19:15:40 -07:00
teachop
e2cb9988bf mmcfs on netduino-2 enabled and tested 2013-08-15 21:13:26 -04:00
James Snyder
98d2a678b3 update copyright date range 2013-08-14 17:37:21 -05:00
James Snyder
2f48b8da92 ensure that modules get included for luarpc desktop build 2013-08-14 17:13:42 -05:00
Bogdan Marinescu
2dff752740 Added stm32.pio platform specific module
Also removed the platform specific initialization code, this is now
automatic.
2013-08-14 00:33:29 +03:00
ecdr
c231439ccf CAN - use PLATFORM_CAN_MAXLEN instead of 8 for CAN buffers, etc. 2013-08-12 00:42:29 -07:00
ecdr
e231b96986 eLua - Add WO file system to path, also allow platform to override LUA_PATH_DEFAULT 2013-08-12 00:31:29 -07:00
ecdr
69c0c4e291 Doc - inthandlers - int handler example code, open port, define uart to use 2013-08-12 00:31:29 -07:00
ecdr
cd2e263329 eLua - suppress warnings in common_uart.c, shell.c 2013-08-12 00:27:53 -07:00
teachop
c5b53a3f8f can enabled on netduino-2 plus pin tweaking 2013-08-11 17:40:41 -04:00
Martin Guy
88257cdc9a Update status docs for Mizar32
- Add CPUs for all three models 128, 256 and 512
- Mizar32 generic modules pwm, net, adc and i2s are OK
- Atmel have moved their product pages (der!)
- Add platform modules mizar32.rtc and .lcd
- Fix 1 typo ("suported")
2013-08-07 18:02:15 +02:00
teachop
69635adbee netduino-2 board with stm32f2 2013-08-03 07:02:24 -04:00
Gabriel Duarte
1c2e43c22f /semi/ fs path for mbed added to package.path at luaconf.h 2013-08-03 00:28:27 -03:00
mauricio
1b3a9759d4 Added mmcfs configuration for STR-E912 board (note: set the card_cs_sel jumper to the position closer to the JTAG). 2013-07-11 00:06:47 +03:00
mauricio
a7a08359ba Added CAN support on STR912. Tested on Olimex STR9-E912 board. 2013-07-11 00:06:43 +03:00
mauricio
8dc0210f2c Included stdbool.h 2013-07-11 00:06:41 +03:00
mauricio
43533ba9f8 Fixed terminal UART GPIO initialization. Even though UART was working, the previous UART TX (P5.0) initialization was making CAN TX (P3.2) not work, apparently because of IPConnected_Enabled on the GPIO_InitStructure. Probably it is safer always refresh the GPIO_InitStructure for every pin configuration on STR912. 2013-07-11 00:06:34 +03:00
mauricio
290a5d18ec Revert "Merge pull request #22 from mauriciobomfim/master"
This reverts commit f71d8b4329c81ef2aa4a7bdf43b7f6491b9af618, reversing
changes made to 661e6855dbb2bbc10d6aed0322d873920067655e.
2013-07-09 14:28:57 -03:00
Gabriel Duarte
f71d8b4329 Merge pull request #22 from mauriciobomfim/master
Added CAN support to STR912 plus MMCFS pin configuration. Tested on Olimex STR9-E912.
2013-07-09 08:33:25 -07:00
mauricio
cf62e92d89 Added mmcfs configuration for STR-E912 board (note: set the card_cs_sel jumper to the position closer to the JTAG). 2013-07-05 20:07:03 -03:00
mauricio
6d24e6c8ee Added CAN support on STR912. Tested on Olimex STR9-E912 board. 2013-07-05 19:35:49 -03:00
mauricio
ea26604d55 Included stdbool.h 2013-07-05 19:27:53 -03:00
mauricio
cef0fc45f5 Fixed terminal UART GPIO initialization. Even though UART was working, the previous UART TX (P5.0) initialization was making CAN TX (P3.2) not work, apparently because of IPConnected_Enabled on the GPIO_InitStructure. Probably it is safer always refresh the GPIO_InitStructure for every pin configuration on STR912. 2013-07-04 19:25:41 -03:00
Bogdan Marinescu
661e6855db Removed spurious 'print' 2013-06-29 08:41:20 +03:00
Bogdan Marinescu
43b4dc6cd8 Build system fixes for Windows 2013-06-29 08:34:22 +03:00
Thiago Naves
d54ce365cc Merge branch 'master' of github.com:elua/elua into lpccan 2013-06-20 17:17:36 -03:00
Bogdan Marinescu
91946fc05e STM32F4 CDC UART support + other CDC changes
This should really be more than one commit, but here it goes anyway:

- added STM32F4 CDC UART support. For some reason, it seems to work only
on the OTG_FS interface, the OTG_HS interface enumerates it, but
doesn't seem to send/receive any data.
- removed the "platform interface" functions for CDC UART. That was
never really a platform interface, just a couple of functions reading
and writing data from/to a CDC UART. Now each backend takes care of this
as a special case in its platform_uart_xxx functions.
- added buffering support for CDC UARTs
- added uart.CDC to the uart module, so the CDC uart can be used directly
from Lua.
- stm32f4discovery now defaults to using the CDC, since it doesn't have
a dedicated UART connector.
2013-06-26 01:04:34 +03:00
Bogdan Marinescu
0d24c663db Adding support for STM32F4 on master 2013-06-22 13:11:24 +03:00
Thiago Naves
6d0005ab6f Added CAN to MBED 2013-06-20 17:17:01 -03:00
Thiago Naves
9c9ff0d5dd Merge branch 'master' of github.com:elua/elua into lpccan 2013-06-20 05:28:26 -03:00
Thiago Naves
49e4f3ba36 Added CAN pin configuration for the Olimex STM32-E407 board 2013-06-19 18:41:35 -03:00
mauricio
4cecf18568 Added support for STM32 PORT407z
http://www.wvshare.com/product/Port407Z.htm
2013-06-13 17:02:53 -03:00
Bogdan Marinescu
01835325d9 Merge pull request #21 from tcoram/master
Fixed "lua: attempt to call a string value" when loading platform libraries
2013-06-12 12:20:47 -07:00
Todd Coram
4761e7a49a platform lib init fixed 2013-06-12 10:57:47 -04:00
Bogdan Marinescu
3a3c7e747f stm32f4: added backend-specific UART pin configuration mechanism 2013-06-03 23:26:35 +03:00
James Snyder
af84f50f7e Apply patch that was still only in jsnyder branch:
- Enable use of internal voltage reference and temperature sensor
2013-05-31 11:53:11 -05:00
Bogdan Marinescu
f4b9771759 fix for previous commit 2013-05-31 13:20:58 +03:00
Bogdan Marinescu
0b112e833c Added support for STM32-E407 (Olimex) 2013-05-31 13:13:24 +03:00
Bogdan Marinescu
b8976b7719 this should've been part of previous commit 2013-05-29 00:59:58 +03:00
Bogdan Marinescu
96ae53d269 STM32F4 fixes
- added STM32-P407 board from Olimex (no ext SRAM yet)
- added documentation for the new configurator parameters

Signed-off-by: Bogdan Marinescu <bogdan.marinescu@gmail.com>
2013-05-29 00:58:35 +03:00
Bogdan Marinescu
698f6e251c Various fixes in STM32F4 code 2013-05-28 17:18:18 +03:00
Bogdan Marinescu
fb67d90efc STM32F4 initial code import
Original authors:
* Zhanjun: http://dd.homeunix.com/home/space.php?uid=1&do=blog&id=90
* Ned Konz : https://github.com/bikeNomad
2013-05-28 15:38:13 +03:00
Bogdan Marinescu
5f6ca7d033 merged github master 2013-05-28 12:26:48 +03:00
Bogdan Marinescu
a65b60c078 Switched to the new build system and configurator 2013-05-27 11:28:19 +03:00