Skip to content

Conversation

@facchinm
Copy link
Member

Tian needs arduino/Arduino@e970968 to work correctly.
Avrdude needs to be added as a dependency in index json file

Main differences:

* avrdude compatible vs bossac bootloader
* flash location of user sketch (0x2000 vs 0x4000)
Otherwise a compulsory property should be added to every board (3rd paty hell).
The bug is related with IDE's uploadUsingPreferences; the property map used to expand the receipe is derived from board properties and overwritten by the programmer's properties.
So no default can exist, and no global variable either.
@ArduinoBot
Copy link

✅ Build completed.

⬇️ Build URL: http://downloads.arduino.cc/PR/samd/package_samd-b123_index.json

ℹ️ To test this build:

  1. Open the Preferences of the Arduino IDE.
  2. Add the Build URL above in the Additional Boards Manager URLs field, and click OK.
  3. Open the Boards Manager (menu Tools->Board->Board Manager...)
  4. Install Arduino SAMD core - Pull Request Integrate Arduino.org boards #190
  5. Select one of the boards under SAMD Pull Request Integrate Arduino.org boards #190 in Tools->Board menu
  6. Compile/Upload as usual

@dlabun
Copy link

dlabun commented Dec 16, 2016

Question: Is it really wise to integrate the Tian in with the rest of the SAMD21 core and not give it a separate core? It seems like there is alot of additional code is being added to support a single board and that code doesn't apply any of the official or 3rd SAMD21 based boards.

@facchinm
Copy link
Member Author

Hi @dlabun ,
in fact the Tian share its variant with all the other Arduino.org boards, so it "naturally" lives in the same repo. The only particular feature is a 2 ports serial-to-usb converter which exposes with the same VID/PID pair on both ports. Only one of those can be used for uploading, the other one is a console directly connected to the Linux processor. Once this is solved, its maintenance will be almost zero 😄

@facchinm
Copy link
Member Author

Merged manually

@facchinm facchinm closed this Dec 20, 2016
@cmaglie cmaglie modified the milestone: Release 1.6.10 Dec 20, 2016
boseji pushed a commit to go-ut/combined-ArduinoCore-samd that referenced this pull request May 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants