todbot / ArduinoCore-EFM32

Arduino core for EFM32HG and Tomu boards (very much work in progress)
5 stars 3 forks source link

Issues with included files #1

Open onlykey opened 5 years ago

onlykey commented 5 years ago

Thanks for putting this together. I wanted to try it out and followed the instructions you have to add it to Arduino. Unfortunately, the first issue I run into is that it can't find sam.h

In file included from /Applications/Arduino.app/Contents/Java/hardware/todbot/ArduinoCore-EFM32/variants/tomu/variant.h:42:0, from /Applications/Arduino.app/Contents/Java/hardware/todbot/ArduinoCore-EFM32/cores/arduino/delay.h:28, from /Applications/Arduino.app/Contents/Java/hardware/todbot/ArduinoCore-EFM32/cores/arduino/Arduino.h:86, from sketch/sketch_may10a.ino.cpp:1: /Applications/Arduino.app/Contents/Java/hardware/todbot/ArduinoCore-EFM32/cores/arduino/SERCOM.h:22:10: fatal error: sam.h: No such file or directory

include "sam.h"

I tried several things to fix the issue such as different versions of Arduino, installing Arduino SAM and SAMD boards, and finally copying sam.h from somewhere else to the cores/arduino directory (caused lots of other errors). Can you provide any guidance here on the steps to set up requirements for this?

Thanks!

todbot commented 5 years ago

Hi! This repo doesn't actually work yet, sorry!

onlykey commented 5 years ago

@todbot Any recommended next steps for someone else who wants to this working?