Commit Graph

752 Commits

Author SHA1 Message Date
Gurjant Kalsi
edb7020781 [miniuart][uart][rpi3][bcm28xx] Miniuart Driver for Raspberry Pi 3 / BCM28XX 2016-08-23 12:28:20 -07:00
Eric Holland
1164bc17bc [rpi3]64bit platform support 2016-08-23 12:28:13 -07:00
Minglun Tsai
919a925eca [platform][mediatek] support mediatek platform: mt6797 (#137)
Basic mt6797 platform S/W for lk.
2016-06-21 09:53:03 -07:00
Travis Geiselbrecht
10bb61326b Merge pull request #146 from littlekernel/pr/nrf52
Pr/nrf52
2016-06-21 09:39:19 -07:00
Travis Geiselbrecht
d52054c87e Merge pull request #143 from konkers/pr/stm32f0-usb
stm32f0xx usb driver
2016-06-21 09:33:24 -07:00
Eric Holland
6388cde233 [nrf52] Platform and sample target support for Nordic NRF52 (cortex-M4) 2016-06-16 16:31:53 -07:00
Eric Holland
1491809fd0 [nrf52] First commit for platform support 2016-06-16 10:41:04 -07:00
Erik Gilling
26f1d1edb7 [stm32f0xx] Fix SPI CPHA defines. 2016-06-12 19:31:35 -07:00
Erik Gilling
4fdf2bffcc [stm32f0xx] Fix gpio_get(). 2016-06-12 19:31:35 -07:00
Eric Holland
d1c4965dc7 [nordic] move vendor code to external 2016-06-07 10:11:54 -07:00
Erik Gilling
9371ea5335 [stm32f0xx] Add stm HAL based usb driver. 2016-06-06 20:56:02 -07:00
Erik Gilling
6c82940c32 [stm32f0xx] Import new CMSIS from STM32Cube_FW_F0_V1.5.0. 2016-06-06 20:55:43 -07:00
Gurjant Kalsi
bb4c6402b0 [console][io] Add an optional global input queue.
In this model, getc reads from a global input buffer and the uart posts data to this buffer.

This commit also enables the global input queue for STM32F7 and QEMU-Virt.

Tested on STM32F7/Dartuino and QEMU-ARM A15 with both CONSOLE_HAS_INPUT_BUFFER=1 and CONSOLE_HAS_INPUT_BUFFER=0
2016-06-02 16:01:56 -07:00
Gurjant Kalsi
a6ab56cd5f [usbc][stm32f7] Implement usbc_flush_ep for stm32f7 2016-06-02 15:30:38 -07:00
Gurjant Kalsi
e24567f546 [usbc][stellaris] Implement usbc_flush_ep for stellaris 2016-06-02 15:09:48 -07:00
Gurjant Kalsi
4cd364ce33 [stm32f7][eth] Eth requires sys/types.h for status_t 2016-05-17 16:57:17 -07:00
Gurjant Kalsi
eaa41e1cb2 [qspi][stm32f7] Implement IOCtl to test whether device is in linear mode. 2016-05-10 18:22:08 -07:00
cstout
0f0b4959ad Stub display_present
R=gkalsi@google.com

Review URL: https://codereview.chromium.org/1951403002 .
2016-05-05 12:54:06 -07:00
Gurjant Kalsi
ce0a3db705 [cdcserial][usb] Add a CDC-Serial USB Class Driver. 2016-04-18 17:03:04 -07:00
Travis Geiselbrecht
2423845505 [merge] merge in cortex-m fpu support changes 2016-03-30 20:28:18 -07:00
Gurjant Kalsi
7d06370f75 [stm32f7][qspi][debug] Add tracing to QSPI driver and STM32f7xx QPSI library. Reset QSPI Controller during init. 2016-03-30 11:16:15 -07:00
Travis Geiselbrecht
cbb6e05127 [arm-m][fpu] fix fpu context switch to not overly trigger fpused tracking
Make sure stellaris builds with fpu enabled
2016-03-29 00:02:54 -07:00
Gurjant Kalsi
1fa7f2c977 [usb] Allow client code to specify USB endpoint type. 2016-03-28 21:21:21 -07:00
Travis Geiselbrecht
8c506eba61 [arch][arm] fix up the cortex-m fpu code to build again on all three combinations of arch/fpu
cortex-m0 with no fpu and limited instructions
cortex-m3+ with no fpu
cortex-m4/m7 with fpu

Untested if this still works.
2016-03-28 19:57:17 -07:00
Travis Geiselbrecht
f92aad2622 [merge] merge master into the cortex-m fpu working branch 2016-03-28 19:09:40 -07:00
Travis Geiselbrecht
6d01c3a2f4 [platform][stellaris] disable hitting some registers that are unimplemented on QEMU 2016-03-14 19:06:58 -07:00
cstout
c1255f7f47 [display] Refactor to avoid implicit framebuffer allocation.
Preparation to allow other images to be presented to the display.
Separate definitions of display and image formats.
display_get_info no longer provides a framebuffer.
display_get_framebuffer allocates a framebuffer for convenience.

Review URL: https://codereview.chromium.org/1777783003 .
2016-03-10 09:49:22 -08:00
Brian Swetland
cb54cfc979 [platform][cc13xx] default CCFG options binary
flash at 0x1F0000 on the 128K part to enable boot
2016-03-03 14:15:40 -08:00
Brian Swetland
a3bc8b8c90 [platform][cc13xx] TI CC13xx MCU w/ sub-GHz radio initial support 2016-03-03 14:08:05 -08:00
Erik Gilling
bd71cd8e8c [stm32f0xx] Remove remaining references to STM32F0xx_StdPeriph_Driver. 2016-03-02 22:35:49 -08:00
Erik Gilling
f260959150 [stm32f0xx] Convert dma.c and init.c to new rcc driver. 2016-03-02 22:35:49 -08:00
Erik Gilling
5a9de506a9 [stm32f0xx] Convert can driver to native. 2016-03-02 22:35:40 -08:00
Gurjant Kalsi
e708377b7c [bio][flash][stm32f7xx] Write block returns number of bytes written
Test Plan: Tested

Differential Revision: http://phab.gkalsi.com/D3
2016-03-01 16:32:32 -08:00
Travis Geiselbrecht
ee672a5471 [arch][x86] flatten x86-64 and x86 into a single tree of code
Major refactor of x86 code into a single arch.
Also bump both 32 and 64 bit to running the kernel at a 'high' address.
2016-02-29 12:42:45 -08:00
Erik Gilling
32020aa0f7 stm32f0xx: Convert gpio driver from StdPeriph lib to native. 2016-02-28 16:55:03 -08:00
Erik Gilling
2c17a81c6d stm32f0xx: Convert uart driver from StdPeriph lib to native. 2016-02-28 15:20:55 -08:00
Erik Gilling
2e4eaa3421 stm32f0xx: Add native rcc driver. 2016-02-28 15:17:50 -08:00
Travis Geiselbrecht
21f87263b8 [platform][stm32f7xx][usbc] make sure the usb handlers preempt that do any callbacks 2016-02-21 14:09:40 -08:00
Travis Geiselbrecht
e604f4b103 [target][lm3s6965evb] add support for stellaris based lm3s6965evb board
This seems to be somewhat properly emulated in qemu.

qemu-system-arm -machine lm3s6965evb -cpu cortex-m3
2016-02-20 20:08:15 -08:00
Travis Geiselbrecht
e905886659 [platform][stm32f2xx] move ST's peripheral driver library into external/ 2016-02-20 11:31:50 -08:00
Travis Geiselbrecht
4bece86daa [platform][stm32f0xx] move ST's peripheral driver library into external/ 2016-02-20 11:31:50 -08:00
Travis Geiselbrecht
5b39a5d889 [platform][stm32f1xx] move ST's peripheral driver library into external/ 2016-02-20 11:31:50 -08:00
Travis Geiselbrecht
8d63a2dcb8 [platform][stm32f4xx] move ST's peripheral driver library into external/ 2016-02-20 11:31:50 -08:00
Travis Geiselbrecht
065785cb03 [platform][stm32f7xx] move the STM32F7xx_HAL_Driver out into external
Functionally equivalent, just rearranged to keep 3rd party code
separate.
2016-02-20 11:31:49 -08:00
Travis Geiselbrecht
b7cb4be62e [platform][stellaris] move TI's driver library into external/ 2016-02-20 11:31:49 -08:00
Travis Geiselbrecht
26effb3988 [platform][lpc15xx] move the lpcopen driver library into external/ 2016-02-20 11:31:49 -08:00
Eric Holland
949f4959a5 [uart] fixed race condition in uart_putc 2016-02-19 23:10:58 -08:00
Travis Geiselbrecht
a4ca0a6e00 [vmm] move most users of arch_mmu_query directly to vaddr_to_paddr() 2016-02-14 12:45:53 -08:00
Travis Geiselbrecht
d569c090ea [vim] remove vim expandtab comments on most of the files 2016-02-14 12:32:07 -08:00
Travis Geiselbrecht
2eb32a4369 [style] mass reformat all the non external code to 4 space indents
Ran everything through scripts/codestyle.space, which uses astyle
to generally follow K&R style.

Biggest non whitespace change is pulling brackets down on function
declarations, which I'm pretty ambivalent about, but astyle insists
on taking a stance
2016-02-14 12:24:01 -08:00