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

55 Commits

Author SHA1 Message Date
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
Bogdan Marinescu
96fcd19e7c Added more components to the simulator
Also, I should really document the simulator at some point. Not after
a week-end of writing and updating docs though.
2013-05-26 21:34:28 +03:00
Bogdan Marinescu
89acc4910b Various fixes
- build_release.lua changed to use the new build system
- checked for proper compilation of all known configurations (boards/known/)
- fixed various small issues in the builder/utils library
- added 'disp_mode=minimal'
2013-05-25 19:52:36 +03:00
Bogdan Marinescu
a9da3f816b Documentation updated
- (mostly) finished configurator docs
- arch_overview conterted to AsciiDoc and updated
- 'adc' parameters updates in all configuration files
- added 'config_only' option to the build system
2013-05-25 01:30:08 +03:00
Bogdan Marinescu
463f0bceda Merge branch 'master' into luabuild
Conflicts:
	.gitignore
	src/common_tmr.c
	src/platform/lm3s/platform.c
	src/platform/lm3s/platform_conf.h
	src/platform/sim/platform_conf.h
	src/platform/stm32/platform_conf.h
	src/platform/str9/platform_conf.h
  utils/build.lua

Also fixed some minor issues in the builder.
2013-04-25 16:55:29 +03:00
Bogdan Marinescu
070e59e55b converted LM3S to the new build system + other fixes
Added 'board' and 'cpu' arguments to backend configuration functions.
2012-09-09 02:43:49 +03:00
Bogdan Marinescu
d09bea3273 Platform conversion + other changes
- AVR32 platform converted to use the new build system
- new section in configuration: 'build'. Used to set predefined
  build parameters (such as allocator, target, boot mode...)
2012-07-20 23:30:25 +03:00
Bogdan Marinescu
5a498011c8 i386 platform converted to the new build system 2012-07-15 02:21:53 +03:00
Bogdan Marinescu
767b9243f9 changed module selection mechanism 2012-07-15 00:50:12 +03:00
Bogdan Marinescu
37e20330e7 LPC17xx modified for the new build system + other changes
- more flexible specification of the RAM structure in the build configuration file
- fix for allocator choice in build_elua.lua
2012-07-14 20:00:54 +03:00
Bogdan Marinescu
f4eeedf162 STR9 converted to the new build system 2012-07-14 18:27:37 +03:00
Bogdan Marinescu
449716c477 LPC288x platform conversion + other changes
- LPC288x platform converted to the new build system
- changed generation for the 'extmem' attribute
- added combined attributes (validated against two or more possible types)
2012-07-14 16:46:31 +03:00
Bogdan Marinescu
5cf6f2b8f3 Moved platform 'at91sam7x' to the new build system
Also, a small fix in the timer interrupt handling code.
2012-07-14 14:48:09 +03:00
Bogdan Marinescu
8af2c5d088 str7 platform converted to the new build system 2012-07-14 13:18:29 +03:00
Bogdan Marinescu
cb93117f42 switched the lpc24xx platform to the new build configuration 2012-07-13 12:09:11 +03:00