Arve Hjønnevåg
f12796e834
[arch][arm] Add armv8-a
...
Allow arm8 systems to set ARM_CPU to armv8-a to use new armv8 instructions
in 32 bit code.
Change-Id: Idad8d5fd81c71bab2f306923df7d342bac742c28
2017-03-30 15:49:00 -07:00
M1cha
8c5a570500
[arch][arm] disable alignment aborts
...
just in case they are enabled by default.
2017-02-06 18:54:11 -08:00
Eric Holland
b8f77ca483
[bcm][gfx] gfx driver for raspberry pi
2017-02-06 18:52:08 -08:00
Peter Harliman Liem
a1cd66a0bd
[lib][sysparam] free hexbuffer in error path
2016-12-11 14:37:41 -08:00
Girts Folkmanis
65019cc391
[build] add deps for srcfiles.txt and include_paths.txt
...
Without the dependencies, the files get written once and don't get
updated when include paths or source files change.
2016-12-11 14:37:12 -08:00
Travis Geiselbrecht
1332d188cb
[make][compiler] add -fno-common
...
This removes the COMMON section merging logic, which actually uncovered
a few duplicately declared symbols across compilation units.
2016-11-17 14:44:21 -08:00
Girts
61d06e19fc
[lib/cbuf] [app/tests] fix off by one in lib/cbuf. add a test.
...
Previously, if tail was == 0, and we wrote exactly enough bytes to
the end of the buffer, then head would end up at 0 as well. This
would make the buffer instaneously empty, as head == tail.
2016-11-01 21:54:23 -04:00
Pierre Carru
a77295ae63
[arch][arm] stackusage python3 compatibility
2016-11-01 21:52:31 -04:00
Pierre Carru
2a0601dfe9
[make] output .map file
2016-11-01 21:52:07 -04:00
Girts
5b0f4d262b
[lib/version] add a level of .phony indirection ( #171 )
...
Without this, the rule that depends on the generated file
gets rebuilt every time.
2016-10-07 12:03:21 -07:00
Girts
3972b18697
[make] [lib/version] remove a misplaced .PHONY ( #170 )
...
When lib/version was included, a rule depended on .PHONY. This would
unexpectedly invoke other rules defined as dependent on .PHONY (standard
phony-ness signal).
As a side effect, this used to generate srcfiles.txt and
include_paths.txt in build dir. Since they are useful, we might always
build those anyway, and not make them phony at all.
2016-10-07 11:24:29 -07:00
Girts Folkmanis
9a2fcf2b60
[make] don't call build engine multiple times.
...
If some included rule.mk defines an additional make target that the user
might want to call (e.g., "flash"), and user specifies a project name on
the command line, then previously the outer "makefile" would call
engine.mk multiple times. The new logic prevents that.
Additionally, silence extra "Nothing to be done" messages when calling
engine.mk again after removing the project name from make goals.
2016-09-30 10:41:23 -07:00
circl0
6782ea9af6
[kernel] fix get top thread error if NUM_PRIORITIES < 32
2016-09-30 10:39:58 -07:00
Girts Folkmanis
fc611a8fda
[lib/console] add "repeat" command.
...
Adds a repeat command with the following syntax:
repeat <times> <delay in ms> <argv0> [<argv1> ...]
2016-09-30 10:38:10 -07:00
Girts Folkmanis
a74d56b9a2
[dev/gpio_i2c] add optional pullups
...
If GPIO_I2C_PULLUPS == 1, enables pullups when not actively
driving I2C lines low.
2016-09-30 10:36:57 -07:00
Christopher Anderson
5e7df94fdd
Merge pull request #167 from girtsf/stm32-power
...
[stm32] share power.c across stm32 platforms.
2016-09-24 00:55:48 -04:00
Girts Folkmanis
58ee575dcb
[stm32] share power.c across stm32 platforms.
...
Previously power.c was only implemented for f7, but the
same functionality exists in other stm32 devices, thanks
to CMSIS defines.
This refactors out f7's power.c to platform/stm32/ and adds
deps from f7 and f4.
2016-09-15 13:41:45 -07:00
John Grossman
0c782aa381
[spelling] signalling --> signaling ( #162 )
...
Switch from the UK spelling of signalling (also, signalled and
signaller) to the American spelling.
2016-09-07 15:29:56 -07:00
Girts
71792d0d25
[make] Compare whole words for LKINC check. ( #160 )
...
Previously, if lk was built from an external directory that contained
"lk" in the name, the "findstring" check would succeed and not add lk's
directory to LKINC. This switches to a word comparison instead of
a substring search.
2016-09-06 12:26:37 -07:00
Eric Holland
e724ff9707
[aarch64] Fix stack pointer misalignment ( #159 )
...
sp can become misaligned from 16 byte boundry because context frame
is not a multiple of 16 bytes.
2016-09-06 12:21:34 -07:00
Travis Geiselbrecht
f2c90720f3
[merge] Merge remote-tracking branch 'pr/rpi3'
2016-08-25 17:36:50 -07:00
klemens
d0b90c2d68
[spelling] spelling-fixes. (not external/)
2016-08-25 17:30:34 -07:00
Gurjant Kalsi
173046ecca
[squash] Use x4 as early scratch register in case args are passed in x0-x3 (changes as per code review).
2016-08-25 15:51:34 -07:00
Gurjant Kalsi
2072cfe8f1
[arm64] Backport changes from magenta
2016-08-25 15:50:52 -07:00
Gurjant Kalsi
5c6554165e
[squash] Fix typo in IPI code
2016-08-23 15:58:32 -07:00
Gurjant Kalsi
c6e2c28c86
[bcm28xx][arm64] Fix some type warnings.
2016-08-23 15:15:43 -07:00
Gurjant Kalsi
b6018454c0
[bcm28xx] Fix arm/arm64 exception iframe warning
2016-08-23 15:09:07 -07:00
Gurjant Kalsi
c5b427333a
[bcm28xx][arm64][ipi] Fix IPI on non-GIC based BCM28xx
2016-08-23 12:56:40 -07:00
Gurjant Kalsi
bc5f276c02
[bcm2835][bcm2837] Removed BCM2835 and BCM2837 platforms in favor of BCM28xx unified platform.
2016-08-23 12:35:14 -07:00
Eric Holland
5e5e2ac50c
[rpi3][bcm28xx][smp] fixes to bring up all cores
2016-08-23 12:28:42 -07:00
Gurjant Kalsi
69d35fa55b
[rpi3][bcm28xx][timer] Fix BCM2837 timer runing too fast.
...
RPi3/BCM2837 timer was previously running too fast due to an improper multiplier
in arm_generic_timer_init(...). Fixed by setting the multiplier to 0 and
allowing the ARM generic timer code to determine the frequency and compute the
appropriate multiplier.
2016-08-23 12:28:36 -07:00
Gurjant Kalsi
100133dc38
[BCM28xx] Roll BCM2836 and BCM2837 into a single platform. Have both RPi2 and RPi3 use the new BCM28XX platform.
2016-08-23 12:28:28 -07:00
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
Eric Holland
d90cb4e7c6
[gfx] Add mandelbrot test to gfx routines ( #149 )
2016-08-12 10:28:12 -07:00
Eric Holland
c3c48e6bb1
[arm64][mmu] fix asid shift in tlbi
2016-08-02 22:07:29 -07:00
Gurjant Kalsi
acbee6a974
[dartuino][ndebug] Fix Dartuino Build, NDebug no longer present in tree.
...
Removed references to NDebug from the Dartuino Build since it is no longer maintained in the LK tree.
2016-07-15 14:58:49 -07:00
Gurjant Kalsi
87b40fda48
[usb][usbtest] Fix compile error in USB test app (missing parameter).
...
Endpoint type was added to USBC (interrupt, bulk, isoc, etc) but usbtest app was not updated to reflect this.
2016-07-15 14:04:50 -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
6e4e6f40e8
[travis-ci] add nucleo-f072rb project to the test builds
2016-06-21 09:36:05 -07:00
Erik Corry
4a553a7941
[pull][cmpctmalloc] Fix cmpctmalloc for large allocations ( #147 )
2016-06-21 09:35:40 -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
Christopher Anderson
1656c7320d
Merge pull request #144 from littlekernel/pr/nrf51-external
...
[nordic] move vendor code to external
2016-06-09 13:00:54 -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