288 Commits

Author SHA1 Message Date
Travis Geiselbrecht
9e082e1bf1 [target][dartuino] remove another commented out function 2015-12-14 15:47:31 -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
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
Gurjant Kalsi
826be8b49d [dartuino][lcd][gfx] Added support for colour lcd, refactored sharp lcd code 2015-12-14 13:24:34 -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
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
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
Eric Holland
94e1825854 [accelerometer]added app for interacting with accelerometer from console 2015-12-02 18:13:54 -08:00
Eric Holland
7e5c54d540 [bmi055][sensors][gpio]driver for bosch bmi055 2015-12-02 18:08:11 -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
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
Travis Geiselbrecht
5360a550c1 [platform][stm32f7xx][usbc] add driver for FS usb controller 2015-11-19 15:29:05 -08:00
Gurjant Kalsi
33c5394df7 [stm32f756][spiflash][bio] Get the spiflash working on the STM32F756G-Eval Board 2015-10-22 16:02:32 -07:00
Travis Geiselbrecht
35ebee0e40 [merge] branch 'heapswitch'
This picks up the major work of allowing multiple heap implementations
and enable dlmalloc as an alternate heap to the simple existing one
(now called 'miniheap').

Also added a novm page allocator for memory management on systems too small
or missing an mmu to have a vm. Not much more than a simple bitmap allocator
that the heap pulls from. Allows for other heaps and/or users of physical
memory to coexist and span multiple banks of memory.
2015-10-20 16:53:00 -07:00
Travis Geiselbrecht
8fa97e8552 [target][[stm32f746g-disco] allocate the LCD framebuffer out of the novm arena 2015-10-20 16:20:33 -07:00
Travis Geiselbrecht
3b2d7a268b [make] remove the need for a module to manually add $(LOCAL_DIR)/include to the global include path
Pretty much every module in the system was already doing it, so do it
automatically.
2015-10-19 19:07:16 -07:00
Travis Geiselbrecht
6aa5f51cf9 [target][stm32746g-eval2] remove STATIC_HEAP
STATIC_HEAP is mostly obsoleted by the page based heap novm pooling
system.

May add it back at some time, but at the moment it's unused.
2015-10-19 12:57:55 -07:00
Travis Geiselbrecht
451fa18fc9 [platform][stm32f7xx][qspi] refactor clock/irq out of target
-Removes a call to QSPI_Deinit
-Makes sure the target doesn't initialize the irq handler to a bad priority
2015-10-15 11:48:08 -07:00
Travis Geiselbrecht
28e5a7ab21 [target][stm32746g-eval2] add qspi to this target 2015-10-15 11:48:08 -07:00
Travis Geiselbrecht
95bae7b1e7 [lib][minip] add utility routine to generate a random mac address
-Move both stm32f7xx targets to this mechanism
2015-10-15 11:48:08 -07:00
Travis Geiselbrecht
aac1a26487 [lib][lwip] move lwip init into a LK_INIT_HOOK 2015-10-11 12:08:06 -07:00
Travis Geiselbrecht
8834b12f97 [dev][net][pcnet] break pcnet driver out of pc plaform into its own dir 2015-10-11 12:04:44 -07:00
Travis Geiselbrecht
c7ce0b9361 [lib][display] update display_get_info to return success/failure
Update all the users to check for error.
2015-10-08 15:54:40 -07:00
Gurjant Kalsi
9fc8159038 [qspi][flash][bio] Added a BlockIO device / driver for the STM32f746G-Disco. 2015-10-07 15:23:34 -07:00
Carlos Pizano
065b344a7d [target][stm32f7] Enable the LCD display
Also add the gfx library so that the gfx tests commands work.
2015-09-22 16:40:19 -07:00
Travis Geiselbrecht
74b3827f43 [platform][vexpress-a9] remove vexpress-a9 target
-qemu -machine virt replaces it
2015-09-20 12:13:07 -07:00
Travis Geiselbrecht
07324bac33 [platform][foundation-emu] remove support for foundation emulator
-qemu -machine virt replaces it
2015-09-20 12:13:07 -07:00
Travis Geiselbrecht
861d637e8b [platform][qemu-virt] add support for -machine virt on qemu arm/aarch64
-add a arm64 cortex-a53 based target
2015-09-20 12:13:07 -07:00
Travis Geiselbrecht
8e4c0ac594 [platform][stm32f7xx] move mpu initialization into platform, set up inaccessible region at 0 2015-09-17 14:06:14 -07:00
Christopher Anderson
9a5589a4a4 [minip][pktbuf] Move pktbuf allocation to a common pool
Rather than having a pool for pktbuf buffers and a pool for pktbufs, move
them to a common pool.
2015-09-15 16:28:52 -07:00
Carlos Pizano
f053c3690b [platform][stm32f7xx] make mac address different than eval2 2015-09-11 18:01:47 -07:00
Carlos Pizano
5cb2435ea5 [platform][stm32f7xx] Wire minip for the STM32f7 disco board. 2015-09-11 18:01:47 -07:00
Carlos Pizano
7bcf5f66c5 [target][stm32f7] Configure Ethernet PHY for stm32f746g-disco 2015-09-11 18:01:47 -07:00
Carlos Pizano
b9b0d5d38a [target][stm32f746g-disco] Use correct sdram size
The board is sold with 128 Mbit device but upon closer inspection only
64 Mbit are wired.
2015-09-08 18:42:55 -07:00
Carlos Pizano
3ee83ae61d [target][stm32f746g-disco] Enable MPU cache configuration.
Partial copy from stm32f7 eval2 code.
2015-09-08 13:36:49 -07:00
Carlos Pizano
0b0b79be57 move stmf7 sdram code to /platform
BUG=none
R=travisg@google.com

Review URL: https://codereview.chromium.org/1324223002 .
2015-09-03 14:10:25 -07:00
Carlos Pizano
e7eeca7e65 Conditionally use HSE clock config.
The stm32f7-discovery seems ok with the external xtal.
2015-09-01 16:00:35 -07:00
Travis Geiselbrecht
8cf7991d47 [platform][armemu] fix up the armemu platform/target and get it building properly again 2015-09-01 13:26:27 -07:00
Travis Geiselbrecht
9118a4d605 [merge] merge from the stm32f7 branch
Conflicts:
	arch/arm/arm-m/arch.c
2015-08-28 15:03:17 -07:00
Travis Geiselbrecht
4a40dc2430 [platform][stm32f7xxx] move eth initialization into target space 2015-08-27 12:28:46 -07:00
Travis Geiselbrecht
7c56ee2bfa [platform][stm32f7xx] wire ethernet driver up to minip
Enable it by default on the stm32746g-eval2 platform
2015-08-26 17:57:27 -07:00
Travis Geiselbrecht
5d1e1a6d60 [platform][stm32f7xx] first stab at working ethernet driver
Does nothing but receive packets and drop them on the floor. Wire up
to net stack(s) next.
2015-08-26 17:05:44 -07:00
Carlos Pizano
dca5d73d9d New target: stm32f746-disco
It is close to the stm32746g-eval2-test.mk however
- uart rx pin differs
- no external sram
- different lcd tech
- (possibly) different sdram config
2015-08-24 15:33:05 -07:00
Travis Geiselbrecht
37969468f0 [target][stm32746g] switch the LCD to 565 mode and remove the extraneous flush
Turns out gfx_flush() already calls a cache flush, the flush callback was
apparently intended to be in case you need to initiate an update to the panel.
2015-08-21 12:00:44 -07:00