Travis Geiselbrecht
0e0c77c04f
[make] also output .hex files in intel hex format
2012-11-02 11:48:17 -07:00
Travis Geiselbrecht
a6e3b0976f
[target] run target/ through astyle
2012-10-31 22:09:18 -07:00
Travis Geiselbrecht
a6f6a7fbe7
[platform] run platform/ through astyle
2012-10-31 22:09:01 -07:00
Travis Geiselbrecht
4f218a1a67
[dev] run astyle on dev/
2012-10-31 21:53:43 -07:00
Travis Geiselbrecht
5c1df88168
[arch] run astyle on arch/
2012-10-31 21:52:16 -07:00
Travis Geiselbrecht
a6c70ee683
[app] run all of app/ through astyle
2012-10-31 21:49:13 -07:00
Travis Geiselbrecht
9b961b4a34
[lib] run all of lib and include through astyle
2012-10-31 21:47:17 -07:00
Travis Geiselbrecht
80bcb748c8
[kernel] run the kernel through astyle
2012-10-31 21:37:45 -07:00
Travis Geiselbrecht
d4fea678f0
[includes] __BEGIN_CDECLS & __END_CDECLS in all of the lk sources
2012-10-31 21:30:25 -07:00
Travis Geiselbrecht
1b36bd503f
[.gitignore] add *.orig (files leftover from astyle)
2012-10-31 21:17:29 -07:00
Travis Geiselbrecht
9202b462a1
[sam7ex256] remove the at91sam7 and sam7ex256 platform and target
...
The first port of lk, RIP.
2012-10-30 21:07:10 -07:00
Travis Geiselbrecht
39705e6b98
[app][tests] knock out a few warnings
2012-10-30 21:04:58 -07:00
Travis Geiselbrecht
8fb3398378
[include] remove stdbool.h and stddef.h, which should come from the compiler
...
-move def of ssize_t to sys/types.h, which may not be entirely correct
2012-10-30 21:03:23 -07:00
Travis Geiselbrecht
7c61c93d0b
[platform][armemu] set MEMBASE and MEMSIZE
2012-10-27 16:32:50 -07:00
Travis Geiselbrecht
bb5e3d40d8
[arch][arm-m] make number of priority levels hard coded
...
-Turn off the dynamic priority calculation so we can much more efficiently
set different levels. All arm-ms support at least 3 bits of priority,
so default to that.
2012-10-27 16:31:28 -07:00
Travis Geiselbrecht
2ae76494e5
[compiler] add #define for __builtin_constant_p()
2012-10-27 16:30:56 -07:00
Travis Geiselbrecht
bba5e80020
[arch][arm] switch to using actual cps/isb/dsb instructions
...
Older assemblers didn't support it and needed to have the instruction
called out with a .word. Newer ones have no problem with this, so finally
get rid of the .word.
2012-10-25 19:35:07 -07:00
Travis Geiselbrecht
70eee2a493
[scripts] add script to let you run astyle on code with some standard parameters
2012-10-19 20:02:58 -07:00
Chris Anderson
f442cf24d1
[kernel] Add licenses to semaphore
2012-10-17 23:09:43 -07:00
Travis Geiselbrecht
5da836c65f
[kernel] fix bug in unblock_from_wait_queue() that would leave critical section unbalanced
...
In reality, this routine is always called from and needs to be called inside a critical
section, so it's safe to remove the inc/dec inside the routine and assert for
in_critical_section().
2012-10-17 21:17:32 -07:00
Travis Geiselbrecht
eda348c06c
[kernel][sem] a few microoptimizations to hint at the compiler which path to take
2012-10-17 21:01:58 -07:00
Chris Anderson
71af6dc77d
[kernel] add sem_timedwait
2012-10-17 17:32:29 -07:00
Chris Anderson
e465a4f0c5
[kernel] Add semaphores and tests
2012-10-16 16:05:09 -07:00
Chris Anderson
bbb1369cae
[project][stm3220g-eval] Add test app
2012-10-16 16:04:46 -07:00
Travis Geiselbrecht
b42399ac47
[buildall] add stm32-p407-test to the buildall script
2012-10-14 21:07:03 -07:00
Travis Geiselbrecht
52de9b3b63
[target][stm32-p407] add stm32-p407 target and corresponding projects
2012-10-14 13:27:53 -07:00
Travis Geiselbrecht
48326dc028
[target][stm3220g] update to newest changes in stm32f2xx platform
2012-10-14 13:27:53 -07:00
Travis Geiselbrecht
9c4a2fff48
[platform][stm32f2xx] have the alternate function config be flags on gpio_config
2012-10-14 13:27:53 -07:00
Travis Geiselbrecht
b8b58d00d0
[platform][stm32f2xx] have 4xx be a variant of 2xx
2012-10-14 13:27:53 -07:00
Travis Geiselbrecht
e50d0dde0b
[warnings] fix a couple of dangling warnings in some little-used libs
2012-10-13 21:40:04 -07:00
Travis Geiselbrecht
69d8e3c41f
[app][tests] remove most of the printf warnings
...
GCC doesn't understand %D and %U and still warns about that.
2012-10-13 21:37:26 -07:00
Travis Geiselbrecht
c97291c7a3
[lib][console] kill some old warnings
2012-10-13 21:28:17 -07:00
Travis Geiselbrecht
c543575c1d
[buildall] add beaglebone-test to the list
2012-10-13 21:20:47 -07:00
Corey Tabaka
ad608aea25
[project] Add beaglebone-test project.
2012-10-10 01:27:42 -07:00
Corey Tabaka
f81e79a303
[target] Beaglebone target.
2012-10-10 01:27:42 -07:00
Corey Tabaka
6119b03f80
[platform] Initial platform support for AM335x/Beaglebone.
2012-10-10 01:27:42 -07:00
Corey Tabaka
170f5dbb55
[arch][arm] Add memory barriers.
2012-10-10 01:27:42 -07:00
Corey Tabaka
5abe2e4722
[arch][arm] Put main translation table into a section to address alignment issues.
2012-10-10 01:27:42 -07:00
Corey Tabaka
5f2edb8ce8
[kernel] Fix warnings from printf arg checks.
2012-10-10 01:27:42 -07:00
Corey Tabaka
0948970409
[arch] Add necessary include for size_t after reorg.
2012-10-10 01:27:42 -07:00
Travis Geiselbrecht
1a32db03cc
[scripts][buildall] add stm3220g
2012-10-07 13:48:51 -07:00
Travis Geiselbrecht
454d7e8b38
[kernel][mutex] remove the magic test on mutex_init()
...
-This would presumably test for a double init, but really causes more
problems than it's worth.
2012-10-07 13:36:20 -07:00
Chris Anderson
134e07a45f
[console] change mutex allocation to calloc
...
During a standard boot command_lock receives the same address
each time and in the case of reset this means it will fail the
mutex check. Changing to calloc ensures the state has been cleared
on reset.
2012-10-07 11:38:32 -07:00
Chris Anderson
91c79721d2
[stm32f2xx] Update timer.c to use lk_{big}time_t
2012-10-07 10:58:50 -07:00
Chris Anderson
6fa3fe5bc7
[stm32f2xx] Reformat vectable for readability
2012-10-07 01:36:29 -07:00
Chris Anderson
b614bcf281
[stm32f2xx] Clean up gpios and get uart3 running
2012-10-07 01:36:29 -07:00
Chris Anderson
f54f887e71
[stm32f2xx] Update vector table for f2xx NVIC
2012-10-07 01:36:29 -07:00
Chris Anderson
a0ab877606
[stm32f2xx] Rework of gpio code for 2xx line
2012-10-07 01:36:29 -07:00
Chris Anderson
d4acbaad06
Initial skeleton / build for stm32f2xx
2012-10-07 01:36:29 -07:00
Travis Geiselbrecht
1262105ab9
[time] rename {big}time_t -> lk_{big}time_t
...
-This avoids a collision with posix time_t and makes gcc complain
less about printf format mismatches.
2012-10-06 11:22:15 -07:00