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
Gurjant Kalsi
44e74f0486
[dartuino][bootloader] Merge bootloader branch into master.
2016-03-28 12:05:20 -07:00
Gurjant Kalsi
7dd294a62d
[dartuino][bootloader] Changes as per code review.
2016-03-28 12:04:08 -07:00
Travis Geiselbrecht
7f8a61312c
[project][virtual][fs] add fat32 driver to the default fs build
2016-03-25 21:36:15 -07:00
Travis Geiselbrecht
87bbe81050
[fs][fat] run astyle over the newly imported code to match LK style
2016-03-25 21:36:15 -07:00
Travis Geiselbrecht
4daede9164
[fs][fat] fail gracefully if the bdev passed in is null
2016-03-25 21:36:15 -07:00
Travis Geiselbrecht
6c0f22c004
[fs][fat] Merge branch 'fatfs' from https://github.com/pablomarx/lk
...
Thanks steve!
2016-03-25 12:10:29 -07:00
cstout
95ed6d0d9c
[lib] Add begin/end cdecls to gfx and font header.
...
R=gkalsi@google.com , travisg@gmail.com
Review URL: https://codereview.chromium.org/1789823002 .
2016-03-24 18:13:34 -07:00
Steve White
4263f92843
[fs][fat32] Adapt modern LK conventions
2016-03-24 14:15:20 -07:00
Steve White
97d1121f09
Merge branch 'master' into fatfs
2016-03-24 13:39:19 -07:00
cstout
ebeca70bb5
[display] Fix corruption in color lcd update, again.
...
The previous attempt didn't completely resolve the issue.
Adjusting the baud rate prescaler seems solid.
Tested with svg_test on mono and color memory lcds.
R=travisg@gmail.com
Review URL: https://codereview.chromium.org/1822123004 .
2016-03-24 09:07:18 -07:00
Christopher Anderson
ec0c0f5180
Merge pull request #122 from ErikCorryGoogle/getarenas
...
Add API used by Dartino to get arena list
2016-03-23 13:49:20 -07:00
Erik Corry
6d0122b98e
[heap] Add API used by Dartino to get arena list
2016-03-23 21:22:39 +01:00
Steve White
5260d3d5f2
read only fat32 driver with long filename support.
2016-03-23 13:07:59 -07:00
Zhu, Bing
68447dbeca
[arch][x86] load initial stack pointer in boot entry
...
Initially, stack pointer (esp) is undefined in multiboot protocol,
to avoid potential memory corruption, set it with defined value.
Signed-off-by: Zhu, Bing <bing.zhu@intel.com >
2016-03-15 10:24:14 -07:00
Travis Geiselbrecht
6d01c3a2f4
[platform][stellaris] disable hitting some registers that are unimplemented on QEMU
2016-03-14 19:06:58 -07:00
Travis Geiselbrecht
b2583192e1
[arch][arm-m] move the armv6m vs armv7m code conditional into macros
...
Arguably cleans up the code.
2016-03-14 18:05:41 -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
Gurjant Kalsi
b28f754f78
[dartuino][bootloader] Add some more tracing to fsboot, look for proper system image name.
2016-03-09 16:08:27 -08:00
Gurjant Kalsi
0597b570e0
[dartuino][bootloader] Get the bootloader into the first 64k
2016-03-09 15:40:02 -08:00
Gurjant Kalsi
ff3e1e2d0c
[dartuino][bootloader] Turn on the bootloader.
2016-03-09 15:27:57 -08:00
Gurjant Kalsi
fe0ef0c255
[dartuino][bootloader] Add Filesystem Boot.
2016-03-09 15:23:44 -08:00
Gurjant Kalsi
a8be9611cc
[dartuino][bootloader] Get Bootloader USB working.
2016-03-09 15:23:25 -08:00
Gurjant Kalsi
1458330c8b
[arch][arm-m] Implement quiesce and chain load for arm-m
2016-03-09 15:21:04 -08:00
Gurjant Kalsi
9ab4f51913
[dartuino][bootloader] Create a project for the bootloader.
2016-03-09 15:20:05 -08:00
cstout
e290cb1b8b
[display] Fix corruption in color lcd update.
...
Suspect a timing issue related to the trailer bits.
Preparing the trailers together with the data seems to resolve
the corruption.
R=gkalsi@google.com
Review URL: https://codereview.chromium.org/1777653003 .
2016-03-09 11:10:57 -08:00
Gurjant Kalsi
d22f8054c9
[tools][mkimage] Update mkimage deps to reflect external refactoring.
2016-03-04 17:37:57 -08:00
cstout
87fb7721f5
[display] Add DISPLAY_FORMAT_RGB_x111
...
R=gkalsi@google.com , travisg@gmail.com
Review URL: https://codereview.chromium.org/1755273004 .
2016-03-04 10:44:17 -08:00
Travis Geiselbrecht
5505be7251
[project] move the or1ksim project into the attic
...
Most people dont have the compiler to build this, so move it out of the way
so that buildall doesn't pick it up.
2016-03-03 22:26:45 -08:00
Zhu, Bing
04dd6ec434
[arch][x86]fix compile failure in 32bit interrupt frame structure
...
When PAGE_FAULT_DEBUG_INFO flag is defined, the compile will fail.
This fix is to unify the member names of interrupt frame structure
x86_iframe_t. This patch also enables pagefault debugging for 32bit
Signed-off-by: Zhu, Bing <bing.zhu@intel.com >
2016-03-03 22:18:54 -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
a7fdfbb0dc
[target][cc13xx-em] cc13xx evaluation module target
2016-03-03 14:08:05 -08:00
Brian Swetland
a3bc8b8c90
[platform][cc13xx] TI CC13xx MCU w/ sub-GHz radio initial support
2016-03-03 14:08:05 -08:00
Brian Swetland
0143e97c6e
[external][cc13xxware] driver library for TI CC13xx parts
...
cc13xxware_2_03_00_16456 minus docs, precompiled binaries,
and linker files, as fetched from:
http://www.ti.com/tool/cc13xxware
2016-03-03 14:08:05 -08:00
cstout
00354ba791
[display] Add __BEGIN_CDECLS
...
R=travisg@gmail.com
Review URL: https://codereview.chromium.org/1760223002 .
2016-03-03 10:52:14 -08:00
Erik Gilling
6f277bb95d
[stm32f0xx] remove STM32F0xx_StdPeriph_Driver.
2016-03-03 08:21:53 -08:00
Brian Swetland
e87cb0074a
Merge pull request #115 from konkers/pr/stm32f0xx-full-native
...
stm32f0xx: Make stm32f0xx platform full native.
2016-03-02 23:36:03 -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
66b9d98a0e
[fs][memfs] Add truncate functionality to memfs.
2016-03-02 10:47:55 -08:00
Gurjant Kalsi
f2dfd006c6
[fs][spifs] Add truncate functionality to spifs.
2016-03-02 10:47:50 -08:00
Gurjant Kalsi
61b4f0450e
[fs] Add a truncate file API to the FS api layer
2016-03-02 10:40:09 -08:00
Gurjant Kalsi
dd3468fab2
[spifs][benchmark][debug] Add a benchmark to test spifs performance.
2016-03-02 00:45:58 -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
Travis Geiselbrecht
ed00e10b9d
[kernel] fix threadload on some UP systems
2016-02-29 12:27:33 -08:00
Brian Swetland
ebd8d189a3
Merge pull request #113 from konkers/pr/stm32f0xx-native-rcc-uart-gpio
...
stm32f0xx: Convert rcc, uart, and gpio to native drivers.
2016-02-28 17:05:56 -08:00