bertos.git
14 years agoFix some pastos
aleph [Tue, 21 Sep 2010 17:23:28 +0000 (17:23 +0000)]
Fix some pastos

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4254 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSTM32: USB: properly catch device's GET_DESCRIPTOR requests
arighi [Tue, 21 Sep 2010 10:37:55 +0000 (10:37 +0000)]
STM32: USB: properly catch device's GET_DESCRIPTOR requests

Getting descriptor for a device is a standard request (e.g., USB HID
requires this). So, be sure to call the device's event handler when this
request occurs.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4253 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agousb-serial: fix comment
arighi [Tue, 21 Sep 2010 10:37:52 +0000 (10:37 +0000)]
usb-serial: fix comment

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4252 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix serial driver for ATMega32.
lottaviano [Tue, 21 Sep 2010 08:35:58 +0000 (08:35 +0000)]
Fix serial driver for ATMega32.

Also enable ATMega32 serial driver in the Wizard.

This patch should also have fixed serial support for ATMega8,
but the timer is still broken so I'm not enabling ATMega8
serial support in the Wizard.

Signed-off-by: Gilles <rischgilles@picadilly.lu>
Signed-off-by: Luca Ottaviano <lottaviano@develer.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4251 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agousb-serial: fix documentation warning
arighi [Tue, 21 Sep 2010 08:05:09 +0000 (08:05 +0000)]
usb-serial: fix documentation warning

Fix the following doxygen warning:
  bertos/drv/usb_serial.c:256: warning: argument 'fd' of command @param is not found in the argument list of usb_serial_open(struct USBSerial *fds, int unit)
  bertos/drv/usb_serial.c:256: warning: The following parameters of usb_serial_open(struct USBSerial *fds, int unit) are not documented: parameter 'fds'

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4250 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSAM3 port: add clock initialization stubs
aleph [Mon, 20 Sep 2010 17:02:57 +0000 (17:02 +0000)]
SAM3 port: add clock initialization stubs

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4249 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoMinor fix: spacing
aleph [Mon, 20 Sep 2010 16:59:51 +0000 (16:59 +0000)]
Minor fix: spacing

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4248 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSAM3 port: add interrupt definitions
aleph [Mon, 20 Sep 2010 16:58:53 +0000 (16:58 +0000)]
SAM3 port: add interrupt definitions

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4247 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSAM3 port: move some definitions in appropriate places, and add missing includes.
aleph [Mon, 20 Sep 2010 16:57:50 +0000 (16:57 +0000)]
SAM3 port: move some definitions in appropriate places, and add missing includes.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4246 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUSB: add generic class/vendor request handling
arighi [Mon, 20 Sep 2010 16:52:22 +0000 (16:52 +0000)]
USB: add generic class/vendor request handling

A generic USB device can handle class and/or vendor request implementing
the usb_device->event_cb callback.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4245 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUSB: add standard subclasses definitions
arighi [Mon, 20 Sep 2010 16:52:19 +0000 (16:52 +0000)]
USB: add standard subclasses definitions

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4244 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agousb-serial: export usb-serial interface via KFile
arighi [Mon, 20 Sep 2010 15:27:37 +0000 (15:27 +0000)]
usb-serial: export usb-serial interface via KFile

TODO:
 - properly implement error handling
 - support more distinct usb-serial channels

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4243 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSTM32: USB: remove unnecessary ASSERT()
arighi [Mon, 20 Sep 2010 15:27:35 +0000 (15:27 +0000)]
STM32: USB: remove unnecessary ASSERT()

USB internal read/write buffer does not need to be 4-bytes aligned.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4242 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUSB: implement generic usb-serial device driver
arighi [Fri, 17 Sep 2010 16:06:55 +0000 (16:06 +0000)]
USB: implement generic usb-serial device driver

A generic board that includes this module can be plugged to a USB host
system (e.g., Linux, Windows, ...) to be seen as a generic usb-serial
adapter device (e.g., /dev/ttyUSB0 in Linux).

This module export the following functions to communicate between the
micro and the host over the usb-serial channel:

  ssize_t usb_serial_read(void *buf, ssize_t size);
  ssize_t usb_serial_write(const void *buf, ssize_t size);

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4241 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSTM32: USB full-speed device driver
arighi [Fri, 17 Sep 2010 16:06:52 +0000 (16:06 +0000)]
STM32: USB full-speed device driver

Add the low-level driver for the STM32 USB controller.

TODO: implement an intermediate hardware-agnostic USB layer to register
low-level USB constroller drivers and high-level USB device drivers:
     _________________________________
    |      High-level USB layer       |
    | (usb-serial, mass-storage, ...) |
    +---------------------------------+
    |     Middle-level USB layer      |
    |  (hardware-agnostic interface)  |
    +---------------------------------+
    |       Low-level USB layer       |
    |    (hardware-specific driver)   |
    +---------------------------------+

At the moment the "Middle-level" USB layer is merged into the
"Low-level" USB layer.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4240 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAT91SAM3 port: initial support for AT91SAM3 (mainly kdebug and register defs), tested...
aleph [Fri, 17 Sep 2010 14:47:17 +0000 (14:47 +0000)]
AT91SAM3 port: initial support for AT91SAM3 (mainly kdebug and register defs), tested on AT91SAM3N4.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4239 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRemove win32com dependency by using ctypes to invoke win32 API.
rasky [Tue, 14 Sep 2010 10:18:49 +0000 (10:18 +0000)]
Remove win32com dependency by using ctypes to invoke win32 API.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4238 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUpdate lm3s templates.
asterix [Mon, 13 Sep 2010 16:58:43 +0000 (16:58 +0000)]
Update lm3s templates.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4237 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRevert wrongly committed file.
lottaviano [Mon, 13 Sep 2010 16:41:23 +0000 (16:41 +0000)]
Revert wrongly committed file.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4236 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix wizard rcc invocation for paths with spaces inside.
lottaviano [Mon, 13 Sep 2010 16:36:54 +0000 (16:36 +0000)]
Fix wizard rcc invocation for paths with spaces inside.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4235 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRemove svn id tags.
asterix [Mon, 13 Sep 2010 12:58:09 +0000 (12:58 +0000)]
Remove svn id tags.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4234 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUpdate preset.
asterix [Mon, 13 Sep 2010 12:43:53 +0000 (12:43 +0000)]
Update preset.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4233 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUpdate preset.
asterix [Mon, 13 Sep 2010 12:43:11 +0000 (12:43 +0000)]
Update preset.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4232 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoConsider the offset when read directly into flash memory.
asterix [Fri, 10 Sep 2010 15:53:03 +0000 (15:53 +0000)]
Consider the offset when read directly into flash memory.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4231 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRemove unneeded assert.
asterix [Fri, 10 Sep 2010 15:45:24 +0000 (15:45 +0000)]
Remove unneeded assert.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4230 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSome fix to comply to new bertos version.
asterix [Fri, 10 Sep 2010 09:53:23 +0000 (09:53 +0000)]
Some fix to comply to new bertos version.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4229 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUse generic include.
asterix [Fri, 10 Sep 2010 09:33:51 +0000 (09:33 +0000)]
Use generic include.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4228 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoComply the init function names.
asterix [Fri, 10 Sep 2010 09:31:03 +0000 (09:31 +0000)]
Comply the init function names.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4227 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoMove some specific lm3s clock definition to its init module.
asterix [Fri, 10 Sep 2010 09:05:39 +0000 (09:05 +0000)]
Move some specific lm3s clock definition to its init module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4226 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoImprove performance of bitarray_isFull(). Add documentation.
lottaviano [Fri, 10 Sep 2010 07:55:47 +0000 (07:55 +0000)]
Improve performance of bitarray_isFull(). Add documentation.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4225 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix typo.
asterix [Wed, 8 Sep 2010 17:00:42 +0000 (17:00 +0000)]
Fix typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4224 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix spaces vs tab
rasky [Tue, 7 Sep 2010 10:55:14 +0000 (10:55 +0000)]
Fix spaces vs tab

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4223 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRename macros.
asterix [Thu, 2 Sep 2010 09:16:47 +0000 (09:16 +0000)]
Rename macros.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4222 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUse more clear fuction names.
asterix [Thu, 2 Sep 2010 08:11:01 +0000 (08:11 +0000)]
Use more clear fuction names.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4221 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoComply to new api.
asterix [Wed, 1 Sep 2010 17:10:31 +0000 (17:10 +0000)]
Comply to new api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4220 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoUse context to simply the api.
asterix [Wed, 1 Sep 2010 17:09:58 +0000 (17:09 +0000)]
Use context to simply the api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4219 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoReturn bitmask instead the logic value.
asterix [Wed, 1 Sep 2010 15:24:19 +0000 (15:24 +0000)]
Return bitmask instead the logic value.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4218 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSome fixes. Implement close. Comply to new flash api.
asterix [Wed, 1 Sep 2010 11:00:58 +0000 (11:00 +0000)]
Some fixes. Implement close. Comply to new flash api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4217 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoComply to new api.
asterix [Wed, 1 Sep 2010 11:00:01 +0000 (11:00 +0000)]
Comply to new api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4216 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd flag param in the new flash api.
asterix [Wed, 1 Sep 2010 10:58:48 +0000 (10:58 +0000)]
Add flag param in the new flash api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4215 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd open mode flags.
asterix [Wed, 1 Sep 2010 10:57:43 +0000 (10:57 +0000)]
Add open mode flags.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4214 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd some check utils.
asterix [Wed, 1 Sep 2010 10:52:41 +0000 (10:52 +0000)]
Add some check utils.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4213 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRefactor bitarray module. Add more test for new check funtcion.
asterix [Tue, 31 Aug 2010 15:25:40 +0000 (15:25 +0000)]
Refactor bitarray module. Add more test for new check funtcion.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4212 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSilent some warning.
asterix [Tue, 31 Aug 2010 09:31:20 +0000 (09:31 +0000)]
Silent some warning.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4211 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd bitarray test. Fixes and add dump function.
asterix [Tue, 31 Aug 2010 09:12:43 +0000 (09:12 +0000)]
Add bitarray test. Fixes and add dump function.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4210 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agocountof(): perform a compile time type checking for static arrays
arighi [Mon, 30 Aug 2010 15:48:18 +0000 (15:48 +0000)]
countof(): perform a compile time type checking for static arrays

The macro countof() can only work with static arrays, so throw a compile
time error if a pointer is passed as argument.

NOTE: this only works with gcc (not g++).

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4202 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoCorrect msp430 toolchain string for cdef's file.
lottaviano [Mon, 30 Aug 2010 12:26:32 +0000 (12:26 +0000)]
Correct msp430 toolchain string for cdef's file.

Signed-off-by: Mohamed Tarek <mtarek16@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4197 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFirst support for MSP430 CPU
lottaviano [Mon, 30 Aug 2010 12:12:37 +0000 (12:12 +0000)]
First support for MSP430 CPU

Add detect macros, add kdebug code.

Signed-off-by: Mohamed Tarek <mtarek16@gmail.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4196 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agolm3s: simplify ssi_lm3s driver inclusion
arighi [Mon, 30 Aug 2010 10:37:44 +0000 (10:37 +0000)]
lm3s: simplify ssi_lm3s driver inclusion

As suggested by Francesco, simplify the driver's inclusion, assuming
that the Makefile's path is by design always the same of the bertos/
directory.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4195 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agolm3s: fix build bug in empty and kernel presets (lm3s_ssiOpen)
arighi [Fri, 27 Aug 2010 15:27:36 +0000 (15:27 +0000)]
lm3s: fix build bug in empty and kernel presets (lm3s_ssiOpen)

From r3911 the LM3S SSI driver is not a distinct driver, and it is
supposed to be explicitly included by the user, at least until the
refactoring of the generic serial/spi/ssi module.

This causes build bugs in empty and kernel presets, triggering the
error: undefined reference to `lm3s_ssiOpen'.

As a temporary workaround, explicitly include the LM3S SSI driver into
the user's makefile for empty and kernel presets.

Signed-off-by: Andrea Righi <arighi@develer.com>
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4194 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix author mail.
asterix [Wed, 25 Aug 2010 08:41:12 +0000 (08:41 +0000)]
Fix author mail.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4193 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix toolchain validation in case of multiple occurrences of the characters "gcc"...
rasky [Tue, 24 Aug 2010 12:38:03 +0000 (12:38 +0000)]
Fix toolchain validation in case of multiple occurrences of the characters "gcc" in the pathname.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4192 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoSilent nightlytest warning.
asterix [Wed, 18 Aug 2010 18:51:10 +0000 (18:51 +0000)]
Silent nightlytest warning.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4191 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoExclude from nightlytest.
asterix [Mon, 16 Aug 2010 08:57:11 +0000 (08:57 +0000)]
Exclude from nightlytest.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4190 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd test prototype.
asterix [Fri, 13 Aug 2010 14:02:01 +0000 (14:02 +0000)]
Add test prototype.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4189 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd first implementation of bit array module.
asterix [Fri, 13 Aug 2010 14:00:03 +0000 (14:00 +0000)]
Add first implementation of bit array module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4188 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoMove some defines to lpc header.
asterix [Fri, 13 Aug 2010 13:11:08 +0000 (13:11 +0000)]
Move some defines to lpc header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4187 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd header flash module.
asterix [Fri, 13 Aug 2010 13:10:39 +0000 (13:10 +0000)]
Add header flash module.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4186 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFirst refactor to kblock.
asterix [Fri, 13 Aug 2010 13:09:58 +0000 (13:09 +0000)]
First refactor to kblock.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4185 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd first embedded flash module for lpc23xx.
asterix [Fri, 13 Aug 2010 08:47:29 +0000 (08:47 +0000)]
Add first embedded flash module for lpc23xx.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4184 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoLoad first page whent init flash module. Add close callback.
asterix [Fri, 13 Aug 2010 08:27:34 +0000 (08:27 +0000)]
Load first page whent init flash module. Add close callback.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4183 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoClean up.
asterix [Thu, 12 Aug 2010 17:04:21 +0000 (17:04 +0000)]
Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4182 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoTypo.
asterix [Thu, 12 Aug 2010 16:57:39 +0000 (16:57 +0000)]
Typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4181 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoTypo.
batt [Thu, 12 Aug 2010 15:58:14 +0000 (15:58 +0000)]
Typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4180 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix write check.
asterix [Thu, 12 Aug 2010 15:54:54 +0000 (15:54 +0000)]
Fix write check.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4179 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRefactor and reorder ld script for cortex-m3.
asterix [Thu, 12 Aug 2010 15:54:22 +0000 (15:54 +0000)]
Refactor and reorder ld script for cortex-m3.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4178 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd close sw implementation.
asterix [Thu, 12 Aug 2010 15:53:22 +0000 (15:53 +0000)]
Add close sw implementation.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4177 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix kprintf descriptor and typo.
asterix [Thu, 12 Aug 2010 15:52:54 +0000 (15:52 +0000)]
Fix kprintf descriptor and typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4176 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix typo. Load first block at start. Add close implementation.
asterix [Thu, 12 Aug 2010 15:52:15 +0000 (15:52 +0000)]
Fix typo. Load first block at start. Add close implementation.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4175 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoOverhaul kdump().
batt [Thu, 12 Aug 2010 15:02:43 +0000 (15:02 +0000)]
Overhaul kdump().

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4174 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix sw load and store. Fix log print. Add comments.
asterix [Thu, 12 Aug 2010 10:37:24 +0000 (10:37 +0000)]
Fix sw load and store. Fix log print. Add comments.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4173 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRead/write from real address. Fix address increasing. Load the first block in cache...
asterix [Thu, 12 Aug 2010 10:28:49 +0000 (10:28 +0000)]
Read/write from real address. Fix address increasing. Load the first block in cache at first time.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4172 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd flash dependence for wizard.
asterix [Thu, 12 Aug 2010 10:09:59 +0000 (10:09 +0000)]
Add flash dependence for wizard.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4171 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoMove embedded flash definition into cpu family header.
asterix [Wed, 11 Aug 2010 14:50:23 +0000 (14:50 +0000)]
Move embedded flash definition into cpu family header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4170 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRemove old cfg files, move all int cfg_emb_flash.
asterix [Wed, 11 Aug 2010 14:44:28 +0000 (14:44 +0000)]
Remove old cfg files, move all int cfg_emb_flash.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4169 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoTypo.
asterix [Wed, 11 Aug 2010 14:43:42 +0000 (14:43 +0000)]
Typo.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4168 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd other error flag. Include platform specific header.
asterix [Wed, 11 Aug 2010 14:42:47 +0000 (14:42 +0000)]
Add other error flag. Include platform specific header.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4167 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoReformat to kblock api.
asterix [Wed, 11 Aug 2010 14:41:57 +0000 (14:41 +0000)]
Reformat to kblock api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4166 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd support for old init.
asterix [Wed, 11 Aug 2010 14:40:59 +0000 (14:40 +0000)]
Add support for old init.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4165 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoClean up.
asterix [Wed, 11 Aug 2010 14:40:13 +0000 (14:40 +0000)]
Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4164 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd missing assert. Clean up.
asterix [Wed, 11 Aug 2010 13:02:35 +0000 (13:02 +0000)]
Add missing assert. Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4163 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRefactor the module to new kblock device.
asterix [Wed, 11 Aug 2010 13:00:22 +0000 (13:00 +0000)]
Refactor the module to new kblock device.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4162 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd missing dependecy.
asterix [Wed, 11 Aug 2010 10:41:33 +0000 (10:41 +0000)]
Add missing dependecy.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4161 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd tag for wizard.
asterix [Wed, 11 Aug 2010 10:37:41 +0000 (10:37 +0000)]
Add tag for wizard.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4160 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoClean up.
asterix [Tue, 10 Aug 2010 17:30:34 +0000 (17:30 +0000)]
Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4159 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd some config flags.
asterix [Tue, 10 Aug 2010 17:30:11 +0000 (17:30 +0000)]
Add some config flags.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4158 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoClean up.
asterix [Tue, 10 Aug 2010 17:29:07 +0000 (17:29 +0000)]
Clean up.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4157 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoRefactor lm3s flash module to new kblock api.
asterix [Tue, 10 Aug 2010 17:28:06 +0000 (17:28 +0000)]
Refactor lm3s flash module to new kblock api.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4156 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd embedded flash module for stm32. First refactor of emb flash using kblock.
asterix [Mon, 9 Aug 2010 17:15:26 +0000 (17:15 +0000)]
Add embedded flash module for stm32. First refactor of emb flash using kblock.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4155 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix comment. Reformat.
asterix [Mon, 9 Aug 2010 09:08:08 +0000 (09:08 +0000)]
Fix comment. Reformat.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4154 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix doxygen warning.
asterix [Fri, 6 Aug 2010 07:58:43 +0000 (07:58 +0000)]
Fix doxygen warning.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4153 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd comments.
asterix [Thu, 5 Aug 2010 15:43:24 +0000 (15:43 +0000)]
Add comments.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4152 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd implement verify and erase functions and support for old api. Add cfg for eeprom.
asterix [Thu, 5 Aug 2010 15:20:34 +0000 (15:20 +0000)]
Add implement verify and erase functions and support for old api. Add cfg for eeprom.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4151 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoClean up. Rename variable.
asterix [Thu, 5 Aug 2010 10:13:17 +0000 (10:13 +0000)]
Clean up. Rename variable.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4150 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd support for backwards compatibility.
asterix [Thu, 5 Aug 2010 10:10:36 +0000 (10:10 +0000)]
Add support for backwards compatibility.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4149 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoReformat.
asterix [Thu, 5 Aug 2010 10:04:07 +0000 (10:04 +0000)]
Reformat.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4148 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix doxygen warning.
asterix [Thu, 5 Aug 2010 08:43:30 +0000 (08:43 +0000)]
Fix doxygen warning.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4147 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix test run.
asterix [Thu, 5 Aug 2010 08:38:24 +0000 (08:38 +0000)]
Fix test run.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4146 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoFix typo in kblock posix. Comply battfs test to new kblock posix.
asterix [Thu, 5 Aug 2010 08:37:43 +0000 (08:37 +0000)]
Fix typo in kblock posix. Comply battfs test to new kblock posix.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4145 38d2e660-2303-0410-9eaa-f027e97ec537

14 years agoAdd adc support for atmega1280. Signed-off by Fabio Bizzi.
asterix [Thu, 5 Aug 2010 08:34:20 +0000 (08:34 +0000)]
Add adc support for atmega1280.  Signed-off by Fabio Bizzi.

git-svn-id: https://src.develer.com/svnoss/bertos/trunk@4144 38d2e660-2303-0410-9eaa-f027e97ec537