Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libmaple - missing interrupt vectors in table for high density devices #64

Open
bnewbold opened this issue Feb 7, 2013 · 0 comments
Open

Comments

@bnewbold
Copy link
Contributor

bnewbold commented Feb 7, 2013

Original author: keith....@gmail.com (January 18, 2012 18:47:42)

What steps will reproduce the problem?

  1. Build examples/test-timers.cpp using timer8 instead of timer1 on RET6 MCU
  2. Watch board throb upon first interrupt fired for timer8

What is the expected output? What do you see instead?

  • Instead of seeing an interrupt fire correctly the board will halt and throb.

What version of the product are you using? On what operating system?
-maple RET6 Edition, Linux

Please provide any additional information below.

Original description of the problem can be seen here: http://forums.leaflabs.com/topic.php?id=1274

The makefile that builds the libcs3_stm32_[high|med]_density.a archives doesn't seem to be building the high density archive correctly. When building the high density archive the define required to include the additional interrupt vectors for the high density models never gets set by make for the assembler when it builds the .S files. An example of this can be seen in the archives included with libmaple from the github repository. The archives are exactly the same size and neither of them include symbols for the __tim8 interrupts. I didn't verify that all the high-density specific symbols were missing, but it's safe to assume they are missing due to the nature of the problem. Patching the Makefile with the attached patch fixes it.

Additionally, there is no included cs3.h file, so the libcs3 archives won't build if you pull libmaple from the git repository as-is. I had to dig it up by googling. I would think it should be included (if licensing allows). I didn't include it because I'm not 100% sure if there's something special about the other version.

(attachment at https://gist.github.com/bnewbold/4734603)
Original issue: http://code.google.com/p/leaflabs/issues/detail?id=78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant