Closed allenyin closed 7 years ago
If you are going to use baremetal C with the Atmel Software Framework, I would suggest going directly to the ASF examples related to the SAM R21 examples on their website. I've been using the Arduino core and bootloader instead. (See https://github.com/femtoduino/ArduinoCore-atsamd21e18a )
Ok, for the sake of learning, could you point me to some resources for writing libraries adapting MCUs to work within the Arduino framework?
@allenyin I don't know of any. I had to figure it out by grabbing a copy of the official Arduino Zero core, and asking questions in the Arduino developers google group. I really wish I knew of one, or at least had enough time/resources to make one.
Hi Femtoduino,
I bought a FemtoBeacon starter kit from Tindie (https://www.tindie.com/products/femtoduino/femtobeacon-kit-starter/?pt=full_prod_search).
I am a bit confused about the steps needed to start using them. Trying to get the /examples/sam-r21-imu to work as a start on Ubuntu14.04 in bare metal, here is what I have done so far: 1) Downloaded the Atmel Software Framework, made the symlinks as mentioned in /examples/sam-r21-imu/README.md 2) Checked out and sym-linked the MPU9250 repo 3) Installed gcc-arm-none-eabi 4) Changed in
config.mk
:PRJ_PATH=libraries/xdk-asf-3.33.0
5) Changed inMakefile
:MAKEFILE_PATH=libraries/xdk-asf-3.33.0/sam0/utils/make/Makefile.sam.in
When I do
make
within the /examples/sam-r21-imu directory, I get the following errorI have yet to install openocd and BOSSA, but this error seems to be not related to those, probably because a change in ASF...is there a patch to this?
On another note, is installing eclipse c++ absolutely necessary?