Commit Graph

1660 Commits

Author SHA1 Message Date
Travis Geiselbrecht
f2430462b6 [platform][stm32f7xx] add reboot command and script for dartuino 2016-01-04 17:40:30 -08:00
Gurjant Kalsi
fd223ac633 [spifs] Module deps accidentally listed under module srcs. 2015-12-16 16:49:48 -08:00
Gurjant Kalsi
4cc202589c [fs][dartuino][spifs] Attempt to mount the FS on init. 2015-12-16 16:27:43 -08:00
Gurjant Kalsi
7b453164dd [qemu][m4][gfx][display] Get the VNC based LCD working on the qemu-m4 port. 2015-12-16 16:05:36 -08:00
Gurjant Kalsi
6b208387f5 [dartuino][eth] Fixed dartuino eth phy id 2015-12-15 16:00:39 -08:00
Gurjant Kalsi
a7cd342fe9 [memorylcd][dartuino][gfx] Change DISPLAY -> DISPLAY_PANEL_TYPE, removed extra memory_lcd.o dep 2015-12-15 11:58:35 -08:00
Travis Geiselbrecht
9e082e1bf1 [target][dartuino] remove another commented out function 2015-12-14 15:47:31 -08:00
Travis Geiselbrecht
19a0790769 [lib][tga] reformat the tga decoder library 2015-12-14 15:29:01 -08:00
Travis Geiselbrecht
7cbe27442f [target][dartuino] slight cleanup of rules and some unused code 2015-12-14 15:27:14 -08:00
Travis Geiselbrecht
a100ff384f [lib][gfx] add MONO -> MONO blitting support 2015-12-14 15:20:25 -08:00
Travis Geiselbrecht
649136efc5 [target][dartuinoP0] add debug led support
This should blink 2 of the green leds when working in a thread and inside irq context
2015-12-14 15:20:25 -08:00
Travis Geiselbrecht
ec69e5f881 [kernel] properly set the target debug led when inside non-idle thread context 2015-12-14 15:20:25 -08:00
Travis Geiselbrecht
dd29481ba0 [arch][arm-m] set target debug led 1 when inside irq handler 2015-12-14 15:20:25 -08:00
Gurjant Kalsi
826be8b49d [dartuino][lcd][gfx] Added support for colour lcd, refactored sharp lcd code 2015-12-14 13:24:34 -08:00
Gurjant Kalsi
18200dd101 [fs][spifs] ioctl for getting memmap addr of a file 2015-12-11 17:01:04 -08:00
Gurjant Kalsi
8af6e9f00e [scripts][astyle] +align-pointer=name 2015-12-11 14:56:27 -08:00
Carlos Pizano
ae68134f48 [target][dartuino P0] Configure switches GPIO
R=cja@google.com, travisg@google.com

Review URL: https://codereview.chromium.org/1515283002 .
2015-12-11 13:04:23 -08:00
Gurjant Kalsi
657889a37e [lcd][memorylcd][dartuino] Prevent LCD spi transactions from timing out 2015-12-08 18:20:05 -08:00
Travis Geiselbrecht
36d27bf2f0 [platform][stm32f7xx] add dev/gpio to the build, which adds a gpio debug command line 2015-12-08 17:38:24 -08:00
Travis Geiselbrecht
042376148c [platform][stm32f7xx] fix crash time console problem with the uart 2015-12-08 17:34:44 -08:00
Travis Geiselbrecht
9c74f98fa9 [merge] merge mips development branch
Add support for mips architecture.
Currently supports particular generic target on qemu.
2015-12-08 14:23:38 -08:00
Travis Geiselbrecht
75fb9e7f26 [arch][mips] allow the platform to select a particular mips implementation 2015-12-08 14:20:37 -08:00
Travis Geiselbrecht
0bea90f76c [make] add the ARCH_* compile options to config.h 2015-12-08 14:20:37 -08:00
Gurjant Kalsi
87860fd2bd [gfx][colour] Separate surface manipulation functions from colour translation functions 2015-12-08 10:57:59 -08:00
Gurjant Kalsi
5e23cdebaf [gfx][dartuino][lcd] Get the sharp memory lcd working on the dartuino 2015-12-07 12:47:32 -08:00
Gurjant Kalsi
12415e2b24 [qemu][cortex-m4] Support qemu-m4 target. 2015-12-07 12:27:29 -08:00
Travis Geiselbrecht
a0e342dbbd [arch][mips] configure the timer more generically 2015-12-04 18:53:24 -08:00
Travis Geiselbrecht
a36b8f928a [platform][qemu-mips] add interrupt controller support and interrupt drive uart rx 2015-12-03 17:17:56 -08:00
Carlos Pizano
d31bd3d5ef [assert] Exclude static_assert macro when using C++
Macro cannot be removed because it breaks lpclink2-lpcboot and others.

Fixes errors like:
In file included from third_party/lk/include/lib/page_alloc.h:32:0,
                 from app/fletch/loader.cpp:15:
third_party/lk/include/kernel/vm.h:70:96: error: macro "static_assert" passed 2 arguments, but takes just 1
 STATIC_ASSERT(__offsetof(struct mmu_initial_mapping, phys) == __MMU_INITIAL_MAPPING_PHYS_OFFSET);
                                                                                                ^
third_party/lk/include/kernel/vm.h:70:1: warning: identifier 'static_assert' is a keyword in C++11 [-Wc++0x-compat]

BUG=
R=travisg@google.com

Review URL: https://codereview.chromium.org/1496163002 .
2015-12-03 15:25:25 -08:00
Carlos Pizano
cf67ac37c2 [lib][tftp] add CDECL to header.
BUG=
R=travisg@google.com

Review URL: https://codereview.chromium.org/1490333006 .
2015-12-03 14:19:31 -08:00
Travis Geiselbrecht
74a522b5b2 [arch][mips] learned about the la pseudo opcode 2015-12-02 19:38:30 -08:00
Travis Geiselbrecht
8f6f69a974 [travis-ci] add qemu-mips-test to the build 2015-12-02 18:35:47 -08:00
Travis Geiselbrecht
434f7b12f6 [arch][mips] get the architectural timer working 2015-12-02 18:34:43 -08:00
Travis Geiselbrecht
b7e68b5dbd [scripts][tagit] extend tagit script to only tag files for a particular project 2015-12-02 18:34:01 -08:00
Travis Geiselbrecht
720dc32335 [app][tests][clock_test] keep running the test after the first failure 2015-12-02 18:32:28 -08:00
Carlos Pizano
c8ec0024da [kernel][port] port group test
A basic port watcher.

BUG=
R=travisg@google.com

Review URL: https://codereview.chromium.org/1478653002 .
2015-12-02 12:32:09 -08:00
Travis Geiselbrecht
38a5e7bd4f WIP more work on mip
got interrupts working
started work on timer
2015-12-01 19:19:23 -08:00
Travis Geiselbrecht
cd5ac2f34e WIP mips: first semi-functional mips port
Context switches work, console alive. No interrupts.
2015-12-01 01:05:37 -08:00
Travis Geiselbrecht
f5ff5fcfd3 WIP: mips32 on qemu 2015-11-30 18:57:37 -08:00
Eric Holland
0cc813cdf2 [target][dartuinoP0] GPIO definition and LED init 2015-11-25 14:14:50 -08:00
Travis Geiselbrecht
3815f70749 [platform][stm32f7xx][uart] add support for more than one active uart
At the moment still only has hard coded bits for uart 1 and 3. Things
are declared in a wonky way to avoid allocating large structures unnecessarily.
2015-11-25 14:14:50 -08:00
Gurjant Kalsi
f01ef54ef2 [dartuino][qspi][spiflash] Setup gpio pins for the dartuino 2015-11-25 14:14:50 -08:00
Eric Holland
6119bc09d6 [target][dartuinoP0] added qspi init calls to init.c 2015-11-25 14:14:43 -08:00
Eric Holland
0a2ed8b83a [target][dartuinoP0] first cut at adding usb fs support from disco 2015-11-25 14:14:32 -08:00
Eric Holland
541754a397 [target][dartuinoP0] Dartuino bringup. New target. 2015-11-25 14:14:21 -08:00
Zhu, Bing
6216532654 [arch][x86][x64][fpu]fix compile failure when X86_WITH_FPU is not defined.
With this patch, no compile failure issue when either X86_WITH_FPU not defined
or defined as 0(1).

Signed-off-by: Zhu, Bing <bing.zhu@intel.com>
2015-11-25 13:36:04 -08:00
Travis Geiselbrecht
4ab14424bd [cppcheck] clean up a few suggestions from cppcheck 2015-11-24 15:08:38 -08:00
Carlos Pizano
6cdc5cd1da [kernel][port] Fix memory leak on port_open() 2015-11-23 12:38:40 -08:00
Travis Geiselbrecht
ba6a3f6914 [scripts] add a script to run cppcheck over the source for a given project 2015-11-23 09:17:44 -08:00
Travis Geiselbrecht
8a57db12ee [make] output a text file with all the source files and include paths used in the build 2015-11-20 21:00:44 -08:00