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

69 Commits

Author SHA1 Message Date
Raman
e576bc34d3 Timer module: Enable build 2016-08-05 20:11:50 +05:30
Raman
b290290b94 Rename: xmc-hexagon.lua -> xmc4500-hexagon.lua
There are a few XMC4400 and XMC4200 Hexagonal boards as well.
I will eventually add support for them as well.
2016-08-05 20:05:44 +05:30
Raman
53aed812c7 Update Infineon XMC4500 LLDs + add support for SD card interface 2016-08-02 15:01:55 +05:30
Bogdan Marinescu
6593cdf476 Merge pull request #66 from Lasitha78/lpc2368
Add support for LPC2368 and ARM2368 Controller from Futurlec
2015-05-28 12:46:37 +03:00
James Snyder
861c497561 enable buffering by default for uart on nucleo-f411re 2015-05-03 20:46:34 -05:00
Lasitha78
68c5d964e4 Merge branch 'master' of git://github.com/elua/elua into lpc2368 2015-04-29 14:38:41 +05:30
Andreas Bogk
a61e3e6066 Switch LPCXpresso default console to USB 2015-04-24 14:43:04 +02:00
Andreas Bogk
6512ce66c9 Hook up USB pins using board description mechanism, call USB CDC functions from platform UART code. 2015-04-24 14:43:04 +02:00
Andreas Bogk
39c4521013 Make sure everything compiles, is nicely dependent on USB CDC activation in board config. 2015-04-24 14:43:04 +02:00
James Snyder
b2c5cab758 correct pin configuration for mbed uart 2015-04-23 19:42:49 -05:00
Andreas Bogk
7845c8b34f Proper functionality for remapping pins from board description, generic board package for remapping from within lua. 2015-04-23 14:46:22 +02:00
Andreas Bogk
06148495f1 Work in progress support for configurable pin layout 2015-04-23 14:22:00 +02:00
Andreas Bogk
3361d28ded Disable semifs for LPCXpresso 2015-04-21 14:59:52 +02:00
Andreas Bogk
3f09d29a73 Remove configurability for RTC quartz, as this is 32768 anyways. 2015-04-21 12:08:05 +02:00
Andreas Bogk
e5d71d0a59 Support different clock rates on LPC17xx (100MHz on MBED, 120MHz on LPCXPresso) 2015-04-21 00:02:20 +02:00
Andreas Bogk
943c5a83b9 Fix build for MBED, add initial support for LPCXpresso LPC1769 2015-04-20 15:36:09 +02:00
James Snyder
d2b4c4a9e4 add initial support for nucleo-stm32f411re 2015-04-17 10:26:07 -05:00
Martin Guy
80dbce93eb Fix Mizar32 default IP from 193.168.1.10 to 192.168.1.10
A typo in the new build system config files set IP to 193.* with gateway
192.* which can never work.
2014-05-16 14:28:39 +02:00
ecdr
030fd9e7f5 enable cdc on mizar32a, b and soldercore (had uart=cdc, but cdc not built) 2014-05-10 12:28:19 -07:00
ecdr
fb1a3b1cc8 LM3S - ek-lm3s6965.lua - fix cpu, was lm3s8962 rather than lm3s6965 2014-04-16 21:47:43 -07:00
Mark Burton
baa5d9c76d Rework configuration of STM32F4 HSI clock.
Now, to use the HSI clock, specify an internal clock frequency in the
"clocks" config section, like this...

clocks = { internal = 16000000, cpu = 84000000 }

Don't specify an external frequency as well as the internal frequency.
2014-03-20 18:31:48 +00:00
Mark Burton
1611fab94b Can't use HSE clock on the Nucleo board as it's not populated.
The board as supplied does not provide any external clock to the F4.
It could supply an 8MHz clock from the STLINK part but, by default, it
isn't configured to do that.

So just use the HSI instead of the HSE - it won't be good for USB or fast
CAN bit rates but should be fine for bit banging, etc.
2014-03-20 16:46:02 +00:00
Mark Burton
8c6757e856 Ported to STM32F401 Nucleo board.
The Nucleo boards are like the Discovery boards in that they come with an
attached STLINK-V2 programmer. The MCU's UART2 is routed through the
programmer's USB connection and it appears as a VCP device on the host.

So far, this has only been tested to the extent that the elua shell and
lua prompt appear to be functioning as expected.
2014-03-19 12:10:45 +00:00
Ivan Ignjatic
c610a2345f Committer: Omnima Dev Team <info@omnima.co.uk>
new file:   boards/known/omniexp.lua
2014-01-15 18:12:59 +00:00
James Snyder
df10658c56 add doc for enc module and enable for other board configs 2013-11-11 14:27:42 -06:00
James Snyder
c1d1f5dd10 enlarge buffer for CDC for stm32f4discovery to hopefully resolve xmodem issues 2013-10-27 17:29:08 -05:00
Bogdan Marinescu
94b89047ed Merge pull request #25 from teachop/netduino-2
netduino-2 board with stm32f2
2013-10-08 00:05:46 -07:00
teachop
dfae75ff70 netduino-2 config wofs and related tweaks 2013-09-08 18:42:33 -04:00
teachop
5c44c8b40c netduino-2 dual can configure 2013-09-02 18:35:04 -04:00
naves.thiago
02705ec2fb Revert last commit 2013-08-31 17:58:40 -03:00
naves.thiago
ed65d0102d added ps_modules_name constant to board configuration at board/known to optionally define the name of the platform specific modules table 2013-08-31 16:52:24 -03:00
teachop
e2cb9988bf mmcfs on netduino-2 enabled and tested 2013-08-15 21:13:26 -04: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
teachop
c5b53a3f8f can enabled on netduino-2 plus pin tweaking 2013-08-11 17:40:41 -04:00
teachop
69635adbee netduino-2 board with stm32f2 2013-08-03 07:02:24 -04: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
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
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
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
Thiago Naves
6d0005ab6f Added CAN to MBED 2013-06-20 17:17:01 -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
3a3c7e747f stm32f4: added backend-specific UART pin configuration mechanism 2013-06-03 23:26:35 +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