Travis Geiselbrecht
6e499b565f
[buildall] add stm32-p107 to the buildall script
2012-05-10 16:31:31 -07:00
Travis Geiselbrecht
06d781f162
[arch][kernel] handle default stack size better
...
-let arch define the default stack size in ARCH_DEFAULT_STACK_SIZE
-platform/target/project can override with CUSTOM_DEFAULT_STACK_SIZE
2012-05-10 16:25:44 -07:00
Travis Geiselbrecht
fe179b7fef
[kernel][arm] set default stack size to 1K for cortex-m based devices
2012-05-09 15:04:20 -07:00
Travis Geiselbrecht
9491b0a427
[arm] general cleanup of the linker scripts, synchronize the two variants
2012-05-09 02:08:34 -07:00
Travis Geiselbrecht
fc20e231db
[arm] add .ARM.exidx section to the linker scripts
2012-05-09 01:44:57 -07:00
Travis Geiselbrecht
6f28039866
[compiler.h]: fix to work with older toolchain (codesourcery 2010q1)
2012-05-09 01:44:28 -07:00
Travis Geiselbrecht
a95146ec5a
[kernel] clean up the thread_stats stuff a bit to remove some #ifdefs
2012-04-23 17:26:42 -07:00
Travis Geiselbrecht
7ce84c60c3
[armemu] properly track number of interrupts
2012-04-23 17:00:11 -07:00
Travis Geiselbrecht
c1a26173c6
[armemu] dont draw the test pattern by default
2012-04-23 16:58:42 -07:00
Travis Geiselbrecht
b18e6b68dd
[system] add various missing copyright headers
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
208dcdb96d
[target][stm3210e] add required debugconfig.h
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
ed26bb5ae7
[platform][stm32f1xx] add support for 103 variants
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
61a30885a2
[lib][gfxconsole] comment out nonexistant routine
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
affed1c106
[lib] add more references to assert.h
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
1a24df3f3a
[stm32] platform and target implementation
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
1686c8741a
[kernel][timer] clean up debug, return proper preemption, workaround compiler 'feature'
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
70c78d9cec
[kernel] clean up the initial idle thread promotion logic
2012-04-23 15:52:31 -07:00
Travis Geiselbrecht
b1da117fdd
[lib] remove assert.h from debug.h, which clears up an order of inclusion problem
2012-04-23 15:52:30 -07:00
Travis Geiselbrecht
1286b6b149
[arch][arm] ARM-m threading support
2012-04-23 15:52:29 -07:00
Travis Geiselbrecht
57eb824ee9
[inc] add __NAKED and __UNREACHABLE to compiler.h
2012-04-10 14:17:10 -07:00
Travis Geiselbrecht
c15355304b
[stm32] initial stab at getting uart printfs working
2012-03-21 00:16:15 -07:00
Travis Geiselbrecht
e60f69cb87
[kernel][main] add a few includes to make implicit function declarations happy
2012-03-21 00:15:25 -07:00
Travis Geiselbrecht
4d9d8b691f
[err] change ERROR to ERR_GENERIC to avoid a collision with 3rd party code
2012-03-21 00:15:06 -07:00
Travis Geiselbrecht
6947f41ff6
[make] make implicit function declarations illegal
2012-03-21 00:14:50 -07:00
Travis Geiselbrecht
a753bbdd64
[stm32] more platform support
2012-03-17 17:33:26 -07:00
Travis Geiselbrecht
d09b83ceef
[arm][arm-m] start filling out more of the arm-m architecture
2012-03-17 17:32:52 -07:00
Travis Geiselbrecht
7bf1b5067e
[stm32f1xx] add ST's standard peripheral driver code
2012-03-16 14:46:55 -07:00
Travis Geiselbrecht
c69788ea2c
[arm] add CMSIS files for cortex-m3
2012-03-16 14:46:32 -07:00
Travis Geiselbrecht
a4f3e27cda
[platform] rename stm32 to stm32f1xx
2012-03-16 14:35:13 -07:00
Travis Geiselbrecht
93d09765c4
[stm32-p107] start of support for the stm32-p107 olimex board
2012-03-16 14:32:53 -07:00
Travis Geiselbrecht
8122d845fb
[arm-m] move first level exception handlers to their own file
2012-03-04 23:43:26 -08:00
Travis Geiselbrecht
205d3f915d
[arm-m] add initial vector table and initialization code
2012-01-24 16:47:36 -08:00
Travis Geiselbrecht
a031a39ab6
[stm32] add stm3210e target
2012-01-24 16:34:04 -08:00
Travis Geiselbrecht
50a985a41c
[arch][arm] dont use str/ldrex if in thumb mode
2012-01-24 16:34:04 -08:00
Travis Geiselbrecht
76af0d715a
[arch][arm-m] first stab at getting cortex-m based arm bits
...
-had to fork almost all of the existing arm code and make an ARM and ARM-M subarch
2012-01-24 16:34:04 -08:00
Travis Geiselbrecht
d3999500be
[platform] fix a couple of lesser used platforms to build
2012-01-24 16:32:21 -08:00
Travis Geiselbrecht
4b7fd32e65
[make] remove the BOOTOBJS variable, ordering is handled via a special linker section
2012-01-24 15:42:44 -08:00
Travis Geiselbrecht
4c9febca87
[arch] rename crt0.S -> start.S
2012-01-24 15:39:35 -08:00
Travis Geiselbrecht
fb43795e0f
[arch][arm] add support for cortex-m3, tweak some output
2011-12-24 16:38:13 -08:00
Shashank Mittal
da171101ca
[memcpy.s]: Fix forward overlap case
...
Fix forward overlap case to copy correct set of bytes. Earlier code
was missing one byte from start and copying one extra byte in end.
Change-Id: Icbc1b35e597aa45a9437444782294eb222145912
2011-10-18 15:30:44 -07:00
Corey Tabaka
742f31efdc
[pc] Use cbuf lib instead of custom queue.
...
The facilities to manage a key buffer with non-busy waiting already
exist, so use the existing lib in the keyboard driver instead of the
custom circular queue and wait queue.
2010-07-31 18:30:33 -07:00
Corey Tabaka
f65e90508e
[pc] Make platform_read_key idle on wait queue.
...
Fixes hack in dgetc using arch_idle. Now platform_read_key uses a wait
queue to sleep until a key is available in the key buffer, allowing the
idle thread or other threads to run. Since the idle thread gets a chance
to run, idle time accounting is now unbroken.
2010-07-21 15:59:46 -07:00
Travis Geiselbrecht
10fc82a238
[arm] add arch_sync_cache_range
2010-06-16 00:37:13 -07:00
Travis Geiselbrecht
f89048e2a3
[armemu] set the display params in the armemu.conf file
2010-06-04 14:31:24 -07:00
Travis Geiselbrecht
0d09fed024
[armemu] read the display size from the emulator
2010-06-04 14:12:35 -07:00
Travis Geiselbrecht
40015dd107
[scripts] update do-armemu-test to create a default block device file if it doesn't already exist
2010-06-04 14:01:19 -07:00
Travis Geiselbrecht
40b40cb714
[scripts] spiff up buildall to report projects that fail to build
2010-06-04 13:57:55 -07:00
Travis Geiselbrecht
f0c456e760
[ARM] remove the cortex-a8 compiler hack for old compilers
2010-06-04 13:57:32 -07:00
Travis Geiselbrecht
0d4e788d34
[armemu-test] turn on as much as possible
2010-05-21 23:03:10 -07:00
Travis Geiselbrecht
b147c5f3fc
[lib][text] simple library to draw static text
2010-05-21 23:02:04 -07:00