Commit Graph

1766 Commits

Author SHA1 Message Date
Gurjant Kalsi
11d65682e4 [mocom] Setup Mocom app on the Dartuino Target. 2016-02-23 15:26:11 -08:00
Travis Geiselbrecht
d16ad10f17 [app][mocom] start of the mocom app 2016-02-21 14:15:58 -08:00
Travis Geiselbrecht
89e52a426e [lib][cpputils] start of a quick library of some common cpp stuff 2016-02-21 14:15:58 -08:00
Travis Geiselbrecht
ff12cba747 [lib][gfxconsole] fix warning introduced in print callback registering 2016-02-21 14:15:58 -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
f4a95ec624 [lib][io] add context pointer for printf callbacks 2016-02-21 14:09:40 -08:00
Travis Geiselbrecht
efbd6b1892 [lib][cbuf] C++ header guard the cbuf header 2016-02-21 14:09:40 -08:00
Travis Geiselbrecht
9e34ef244b [dev][usb] C++ header guard the usb headers 2016-02-21 14:09:40 -08:00
Travis Geiselbrecht
c3165fcd2a [make] explicitly set the C and C++ standards to C11 and C++11
Seems to be supported at least back to gcc 4.8.2, which is I think
a reasonable minimum version.
2016-02-21 13:40:23 -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
ee07e694aa [readme] add link to wiki and update paths 2016-02-20 11:47:50 -08:00
Travis Geiselbrecht
dcd82d774e [external] create readme 2016-02-20 11:41:57 -08:00
Travis Geiselbrecht
171d14c751 [arch][arm] move CMSIS into external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
a3da9e78a4 [lib][cksum] move into external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
7c412c38d7 [lib][heap] move dlmalloc implementation to external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
5e14990dbd [lib][libm] move to external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
c5c59a4897 [lib][aes] move to external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
e514030336 [lib][mincrypt] move to external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
8c5d18280d [lib][miniz] move into external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
cd3a87b962 [lib][lwip] move lwip into external/ 2016-02-20 11:31:51 -08:00
Travis Geiselbrecht
8fa95015b8 [lib][fdt] move to external/ 2016-02-20 11:31:50 -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
Travis Geiselbrecht
321177de4f [make] add external/ to the module search list
external/ will be where 3rd party code lives in the tree.
2016-02-20 11:31:37 -08:00
Eric Holland
949f4959a5 [uart] fixed race condition in uart_putc 2016-02-19 23:10:58 -08:00
Eric Holland
e7fffa1e30 Merge branch 'pr/nrfcleanup' 2016-02-19 22:47:19 -08:00
Eric Holland
ff2f252ff7 [nordic][init] Remove rogue test code from pca10000 target init 2016-02-19 22:44:00 -08:00
Travis Geiselbrecht
ed19c37227 [c++] add some required arm symbols for c++ 2016-02-19 12:26:28 -08:00
Travis Geiselbrecht
ae28c92fad [lib][ffs] delete this old file system code 2016-02-17 19:14:38 -08:00
Travis Geiselbrecht
410cd8f340 [make] add MODULE_SRCS to a module's config file
This should force a rebuild if you add/remove a source file to a module.
2016-02-17 16:16:18 -08:00
Travis Geiselbrecht
4da1b80dbd [libc][include] move most of the top level includes into lib/libc/include
The files that are generally considered to be libc should live within
the library's namespace.
2016-02-16 15:58:22 -08:00
Travis Geiselbrecht
14a4c60172 [kernel][vm] get rid of external declaration of address_to_page 2016-02-16 15:25:31 -08:00
Travis Geiselbrecht
9a5cd5c529 [kernel][vm] add support for multiple user address spaces
Generically add support for more than one user address space,
attach to a thread, and context switch as thread swaps happen.

Add support for ARM and ARM64, and stub out support for x86 platforms.
2016-02-16 15:24:25 -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
Travis Geiselbrecht
6659d28a4f [travis-ci] update to gcc 5.3.0 2016-02-14 11:52:44 -08:00
Travis Geiselbrecht
fbee777a4a [scripts] remove some unused scripts 2016-02-14 11:49:10 -08:00
Travis Geiselbrecht
e35c51576c [dev][pmic][twl4030] old pmic driver used by the omap3 platform 2016-02-14 11:47:54 -08:00
Travis Geiselbrecht
fe92f4ad74 [platform][omap3] remove this old platform 2016-02-14 11:46:19 -08:00
Travis Geiselbrecht
4382d844e4 [platform][am335x] remove this old unused platform/target
Was a port to the beaglebone, hasn't been used in a long time.
2016-02-14 11:43:49 -08:00
Travis Geiselbrecht
b80e15059f [platform][sam3] Haven't used this platform in a while, removing
Was only really ever used to fool around with the ADK2012,
which is so 2012.
2016-02-14 11:40:50 -08:00
Travis Geiselbrecht
b220b29165 [scripts] add smp option to do-qemuarm and do-qemux86 2016-02-14 11:37:46 -08:00
Arve Hjønnevåg
6e4165431f [arch][arm64] Add a dsb to context switch on smp system.
Fixes a crash where a thread would get preempted and move to another
cpu before executing the dsb in arm64_mmu_unmap. This would leave the
old mapping in the tlb, since the cpu that executed the dsb did not
have any pending tlb maintenance operations.

Change-Id: I3753d7020f983672966c125d8010f5f4f7c46ed1
2016-02-12 09:11:45 -08:00
Gurjant Kalsi
52f4728c44 [magic][constants] Convert all of LK's multichar character kernel magic constants to hex. 2016-02-09 15:02:05 -08:00