Jiri Kubias [Fri, 25 Feb 2011 15:49:44 +0000 (16:49 +0100)]
Added flash loading tool lpc21isp for LPC17xx
modified board/arm/lpc17cmsis-mbed config to work with lpc21isp
Note by M. Sojka: According to Jiri, this version does not work with
LPC21xx and the version for 21xx does not work with LPC17xx. The reasons
for this are not clear to me. Hopefully, someone will fix this
eventually.
Jiri Kubias [Wed, 9 Feb 2011 10:51:44 +0000 (11:51 +0100)]
lpc17cmsis: Fixed IRQ vectors in crt0_lpc17xx.c
Byly odebrany definice IRQ vektoru ktere odpovidaly LPC13xx a zmeney
definice IRQ vektoru odpovidajici LPC17xx. Tento problem vzniknul
portovanim crt0_lpc13xx.c na crt0_lpc17xx.c .
Pavel Pisa [Mon, 4 Oct 2010 21:41:22 +0000 (23:41 +0200)]
OMK rules updated - remove -C flag from install command
The rules regenerated after Michal Sojka's update.
This flag is now useless, as the comparison must be (and is) done
before calling install. The -C flag was not available in older
versions of install (e.g. on Debian Lenny) so this change allows OMK
to be run on older systems.
Pavel Pisa [Tue, 28 Sep 2010 20:49:36 +0000 (22:49 +0200)]
The command processor i2s function local main loop moved to separate files.
The formatted integer to string conversion without
pull of the full standard C library I/O mechanisms,
re-entrant structures etc. has its use even outside
of command processor libraries code moved to general
misc library. You may need to add that into your
application app_LIBS or LOADLIBES dependencies.
The blocking main loop is not required in many cases
as well, so do not link it into application using
command processor unconditionally.
Added even simple array parsing extension for utils.h
in misc library.
Michal Sojka [Wed, 28 Jul 2010 13:09:15 +0000 (15:09 +0200)]
build-all: Fix (re)generation of build directories
In the previous version, when make was run for the first time in build-all,
it only generated the target directories and not run make in them.
Additionally when the list of config files changed, the list of build
directories was updated accordingly, but was not used until the next run of
make.
This patch is only basic support for lpc17xx which is based on NXP port
CMSIS from 25_jan_2010. The startup and LD file is taken from
mach-lpc13xx and slightly updated for lpc17cmsis. In future the startup
file may be changed to CMSIS startup file and LD script (which is not
working with OMK now, so someone have to find out why it is not working)
to be fully compatible with NXP demo examples.
This mach can be used for generic develop for LPC17xx without CMSIS
libraries. The disadvantage is that you must use NXP CMSIS header files
whis is not so programator-friendly.
Michal Sojka [Sun, 18 Jul 2010 21:18:37 +0000 (23:18 +0200)]
Add dummy system_def.h for MiniARM board
This board is probably not used by anybody so I only want to make it
compilable (which is not yet the case). I do not want to remove the
board right now, because we may need it some time in future.
Michal Sojka [Sun, 18 Jul 2010 20:44:10 +0000 (22:44 +0200)]
Add support for building all provided configurations
This is just a migration of recently created sysless-build-all
repository to this repository. I realized that it has no sense to have a
separate repository for one Makefile and one shell script.
Michal Sojka [Thu, 15 Jul 2010 16:21:51 +0000 (18:21 +0200)]
Fix compilation error introduced by the previous patch
Marek generated the patches with "git format-patch -M", which doesn't
contain the full content of copied files. Since the copied files were
changed by Pavel in commit bedf5154, applying Marek's patch copied the
changed file, which had wrong content.
Marek Peca [Sat, 19 Jun 2010 18:21:24 +0000 (20:21 +0200)]
Added basic support for NXP LPC13xx ARM Cortex M3 MCUs
Additional info in Czech:
Splnil jsem Michalovu vyzvu a mirne odhnojil LPC13xx zaklad. Ku
prospechu veci je, ze pribyl flash ldscript, spinkaouv UART a vzhledem k
tomu, ze CML mezitim prinesl z uLanu LPC17xx, zavrhl jsem puvodni napad
mit lpc_m3 pohromade a prejmenoval to na lpc13xx. Je to nakonec lepsi,
protoze jak jsem pozdeji zjistil, tak
lpc23xx a lpc17xx maji temer shodne periferie, ale jine jadro
lpc17xx a lpc13xx maji stejne jadro, ale pomerne odlisne periferie
tak je asi rozumne mit vsechny chlivky zvlast.
CR pred LF jsem z jedineho souboru odstranil (dik za upozorneni),
nicmene
na ostatni soubory s patchem nesouvisejici jsem projistotu nechmatal,
aby
ten commit nevypadal nejak nepristojne.
nazdar* jsem prejmenoval na univerzalni pragermansky pozdrav s latinskym
vykladem, znamy udajne ve vetsine indoevropskeho sveta.
http://www.globestar.org/ahoy.htm
tolpc od Poppika&Baraka radeji neprikladam, nebot neni vyjasnena situace
ohledne schopnosti lpc21isp.
Pavel Pisa [Thu, 1 Jul 2010 22:01:18 +0000 (00:01 +0200)]
Corrected and extended sysless provided endian.h file.
In fact, this file should not be exported by sysless
at all. This should be provided by compiler or C run-time
libraries. But newlib based tool-chains has been
inconsistent with this header file provision
for extremely long time.
It provides machine/endian.h in 1.18.0 version,
but until recently it has been broken anyway.
So this sysless provided override is still required.
Pavel Pisa [Thu, 1 Jul 2010 21:28:28 +0000 (23:28 +0200)]
Updated generic ARM architecture from uLan sysless repository.
These changes are follows IRQ support approach
suggested and discussed by me some time ago.
I have design resulting code with some help
a quite amount of testing provided by Petr Smolik.
Tested on my PiKRON, Petr Smoliks's AGROSOFT and
Pavel nemecek's HAIRC projects.
Pavel Pisa [Thu, 1 Jul 2010 21:13:52 +0000 (23:13 +0200)]
Standardize use of uint8_t type instead of __u8 in source.
We live in 21 century now. Users of ancient tools
has to upgrade. The old ugly types.h local hack is left
there instead of correct stdint.h , because it
is still unavailable for some tools. Most of them
provides inttypes.h already, but its use for
uint*_t is not suggested practice.
Michal Sojka [Fri, 2 Apr 2010 15:35:01 +0000 (17:35 +0200)]
Updated Makefile.rules
This is an optimized version of Makefile.rules. When everything was
already compiled the new version takes 4 seconds to go through all sources
whereas the previous version needed 5.5 seconds.
Michal Sojka [Sun, 31 Jan 2010 19:56:34 +0000 (20:56 +0100)]
Deleted Jirks's 1-wire library
On Sunday 31 January 2010 13:09:44 jiri.kubias@gmail.com (sysless@pandora.cz) wrote:
> Ahoj,
> smazte knihovnu arch/arm/mach-lpc23xx/libs/1-wire ted koukam ze tam > jeste
> smrdi. Je v ni pomerne dost chyb a rozhodne by zatim nemela byt > uverejnena
> v syslessu. Az bude rozumne funkcni tak ji znova dodam.
Pavel Pisa [Tue, 6 Oct 2009 10:49:50 +0000 (12:49 +0200)]
Possibility to extend standard control requests processing.
The standard standard control requests processing
can be modified/extended by two means:
- providing own usb_standard_control_response
function some module directly linked into application.
This function has to process at least these
USB_REQUEST_GET/SET/CLEAR functions as library
provided version.
- set pointer standard_fnc in usb_device_t structure
to point to own function processing requests which
can forward standard ones to library provided
usb_standard_control_response function.