aethaniel / ExperimentalCore-sam

Experimental new core for Arduino Due and other Atmel SAM boards
GNU Lesser General Public License v2.1
16 stars 10 forks source link

[IDE] solve issue#12 #13

Closed aethaniel closed 8 years ago

aethaniel commented 8 years ago

This patch seems to solve issue https://github.com/aethaniel/ExperimentalCore-sam/issues/12 but not only. The issue 12 real problem was quotes not at the right place in the command line and also the missing path for libraries.

@logos-electromechanical, I have been able to compile various examples from IDE using this patch. Do you confirm?

logos-electromechanical commented 8 years ago

@aethaniel Yes, this works, with two other very minor changes: -- #if 0'd out USB calls in core_main.cpp -- #if 0'd out contents of CoreUSART.c

I've got them ready to go in branch 'test' in my repository.

aethaniel commented 8 years ago

my fault, I did add by mistake the CoreUSART.cpp! USB calls should be deactivated by the updated files from this PR

aethaniel commented 8 years ago

I just removed useless CoreUSART.cpp. Are you sure you need to #if 0'd the USBCON #if block in main.cpp?

logos-electromechanical commented 8 years ago

It was failing before, but removing CoreUSART.c appeared to have cured everything. This works.