arm

error: L6236E: No section matches selector - no section to be FIRST/LAST

六月ゝ 毕业季﹏ 提交于 2020-01-02 03:49:13
问题 I'm new to ARM programming using Keil Microvision V5.12 compiler. I can't compile a simple assembly project getting this error: .\Objects\learn.sct(7): error: L6236E: No section matches selector - no section to be FIRST/LAST. I've tried searching and couldn't find any solution for this problem. This is what I do: Create a project ( without the startup file) Add a new assembly file (learn.s) Click Build Target . Can anybody help? 回答1: I Added this answer for newbies, So, After create new

Cross-compiling ocaml apps for ARM

天涯浪子 提交于 2020-01-02 01:47:34
问题 I'm cross-compiling a touchscreen driver, which comes with an ocaml calibration application. I'm trying to compile the driver and the application for ARM, in particular, the Beagleboard, running Angström. It goes like this: ^_^[raziel@Bebop zytouch-driver-20081121]$ source /usr/local/angstrom/arm/environment-setup ^_^[raziel@Bebop zytouch-driver-20081121]$ make CC=arm-angstrom-linux-gnueabi-gcc arm-angstrom-linux-gnueabi-gcc -std=gnu99 -g -O2 -Wall -Wextra -Werror -Wstrict-prototypes

Android NDK: ARMv6 + VFP devices. wrong calculations, NaN, denormal numbers, VFP11 bug

本小妞迷上赌 提交于 2020-01-01 19:04:44
问题 I wish to target ARMv6 with VFP Android device. I have following line in my Android.mk file to enable VFP LOCAL_CFLAGS := -marm -mfloat-abi=softfp -mfpu=vfp -Wmultichar I believe I target ARMv5 with VFP . I edited android-ndk-r8b\toolchains\arm-linux-androideabi-4.6\setup.mk to remove -msoft-float . I also tried with original setup.mk My code works fine 99.99% of time but some times goes crazy on ARMv6 devices. I have special code to detect when it goes crazy. Code glm::vec3 D = P1 - P2;

state of TTBR0/1 wrt to multiple guests in case of virtualization in arm

老子叫甜甜 提交于 2020-01-01 18:37:26
问题 TTBR0/1 are CP15 registers which are programmed by PL1 OS. Now If PL1 OS1 programs TTBR0 and then on the same core the PL1 OS2 is scheduled, would the PL1 OS2 see the value of TTBR0/1 set the OS1 I am sure there is someway that the sanity is maintained, is the following is true? While switching between guests the hypervisor saves all cp15 regs in guest context and later restores before switching the guest if yes then wouldnt it be time consuming for hypervisor as the list of cp15 regs would

Quantifiable differences between RTOS kernels for small ARM microcontrollers [closed]

回眸只為那壹抹淺笑 提交于 2020-01-01 17:19:07
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . There are many different RTOS available for microcontrollers. I am specifically looking for RTOS that support the ARM Cortex M processors. Also, I am not interested in closed source solutions. Attempting to compare the relative merits of each RTOS from websites and mailing

Apple AS and ARM/Thumb ADDS instruction

别来无恙 提交于 2020-01-01 17:05:10
问题 I'm working on an iPhone/iPad project, and I want to update the status register during some (not all) arithmetic operations. By default, Xcode uses 'Compile for Thumb' and I don't want to change it. The following GCC inline assembly code works fine under ARM, but results in a compile error under Thumb: 'instruction not supported in Thumb16 mode - adds r6,r4,r5'. The problem lies in the status register update. (I'm also aware that movcs and strcs will need to be changed). Does Thumb have an

STM32 how to get last reset status

北慕城南 提交于 2020-01-01 05:47:25
问题 I'm working with STM32F427 and I'd like to get cause of last reset. There is RCC clock control & status register RCC_CSR with many reset flags, but I'm not able to get any meaningful value. By reading the value of that register, I get only 0x03, which means LSI ready and LSI ON, but no flags about reset are set if I try power on, software reset, low voltage etc. I found snippet of code for getting reset flags like below, but all the flags are still 0. if (RCC_GetFlagStatus(RCC_FLAG_SFTRST)) .

Android CPU register names?

风流意气都作罢 提交于 2020-01-01 05:02:26
问题 This code fragment is extracted from an Android crash report on a Samsung Tab S: Build fingerprint: 'samsung/chagallwifixx/chagallwifi:5.0.2/LRX22G/T800XXU1BOCC:user/release-keys' Revision: '7' ABI: 'arm' r0 a0d840bc r1 a0dcb880 r2 00000001 r3 a0d840bc r4 a0dc3c4c r5 00000000 r6 a066d200 r7 00000000 r8 32d68f40 r9 a0c359a8 sl 00000014 fp bef3ba84 ip a0dc3fb8 sp bef3ba10 lr a0c35a0c pc a0c34bc8 cpsr 400d0010 r0 through r9 are pretty clearly general purpose registers, sp ( r13 ) is the stack

How to install g++ 4.9 on Debian Wheezy armel?

不羁岁月 提交于 2020-01-01 04:30:12
问题 My Debian 7 armel embedded system currently has g++ 4.6, and I'd like to upgrade to g++ 4.9 to use new C++11 features. How do I do that? My current sources.list contents is: deb http://security.debian.org/ wheezy/updates main deb-src http://security.debian.org/ wheezy/updates main deb http://ftp.us.debian.org/debian wheezy main non-free deb-src http://ftp.us.debian.org/debian wheezy main non-free A simple apt-get install of the package does not work: root@arm:~# apt-get install g++-4.9

iOS 6 vs 7 appearance build settings

余生长醉 提交于 2020-01-01 03:40:28
问题 Does the deployment target of an app need to be set to iOS 7 in order to get the iOS 7 appearance on and iOS 7 device? It was that way during the beta and it still seems like it is right now due to my testing. I am currently building using iOS 7 SDK and deployment target of - let just say < iOS 7. The app runs using the iOS 6 appearance on my iOS 7 device. If I build with iOS 7 as the deployment target, the device gets the iOS 7 UI. It would be great if someone could confirm. Thanks. Other