Lauszus / Sanguino

Sanguino add-on for the Arduino IDE, based on http://code.google.com/p/sanguino/
https://lauszus.github.com/Sanguino/
185 stars 96 forks source link

Is this a warning #16

Closed ghost closed 5 years ago

ghost commented 5 years ago

AFter importing the json for new board. OS: linux Ubuntu 16.04 arduino ide: 1.8.7


hardware/Sanguino$ find -name platform.txt   # not found ...
marius@hpe:~/APPS/arduino-1.8.7/hardware/Sanguino$ 

Then:


Warning: Board sanguino1284p:Sanguino:atmega644 doesn't define a 'build.board' preference. Auto-set to: SANGUINO_ATMEGA644
Warning: Board sanguino1284p:Sanguino:atmega1284 doesn't define a 'build.board' preference. Auto-set to: SANGUINO_ATMEGA1284
Warning: Board sanguino1284p:Sanguino:atmega12848m doesn't define a 'build.board' preference. Auto-set to: SANGUINO_ATMEGA12848M
Build options changed, rebuilding all
recipe.preproc.macros pattern is missing

Error compiling for board Sanguino W/ ATmega1284p 8mhz.

image

per1234 commented 5 years ago

You've completely screwed up on the installation. Did you even read the instructions in the readme?

Do this:

  1. To get rid of your bad installation job, delete ~/APPS/arduino-1.8.7/hardware/Sanguino
  2. (In the Arduino IDE) Tools > Board > Boards Manager
  3. Wait for downloads to finish
  4. Scroll down until you see "Sanguino by Kristian Sloth Lauszus". Click on it.
  5. Click "Install".
  6. Wait for installation to finish.
  7. Click "Close".
  8. Tools > Board > Sanguino
  9. Select the appropriate Tools > Processor selection for your hardware.
Lauszus commented 5 years ago

@comarius as @per1234 said it looks like you have messed up the installation. There is no need to add or modify any files. Please just add the URL and then install the board using the boards manager.

Btw it automatically uses the platform.txt bundled with Arduino due to this line:

https://github.com/Lauszus/Sanguino/blob/8c7336114223bb9e7e19ac61b1666b3e5a807806/avr/boards.txt#L18

So that is the reason why it's not needed in this repo.