-
Notifications
You must be signed in to change notification settings - Fork 22
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
CMakeLists.txt: fixed order of targets to enable radio-install #35
Merged
BenjaminSoelberg
merged 1 commit into
BenjaminSoelberg:master
from
pretyman:cmake-scripts
Jan 17, 2017
Merged
CMakeLists.txt: fixed order of targets to enable radio-install #35
BenjaminSoelberg
merged 1 commit into
BenjaminSoelberg:master
from
pretyman:cmake-scripts
Jan 17, 2017
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
it could be that you need to use sudo depending on distribution. |
This is log of execution with the error, if you have any idea let me know, I guess would be best to open an issue for this if it is not a simple fix:
|
Hi
First try
chmod +x contrib/ChronosTool.py
Then
make clean && make
Then
sudo make install
When ever you get an error on “sudo make install” unplug and insert RF dongle and try again.
The RF dongle isn’t very stabil.
We all have lots of errors with it :-(
Are you running linux or windows and are you running in a vm and if so which vm product are you using ?
Regards
Benjamin
ps. you are welcome to create an issue, because it really is an issue!
… On 30 Jan 2017, at 03.26, Alexandre Pretyman ***@***.***> wrote:
This is log of execution with the error, if you have any idea let me know, I guess would be best to open an issue for this if it is not a simple fix:
[ 5%] Linking C executable openchronos.elf
[ 97%] Built target openchronos.elf
[100%] Generating openchronos.txt
ELF section __interrupt_vector_47 at 0xffdc 2 bytes
ELF section __interrupt_vector_49 at 0xffe0 2 bytes
ELF section __interrupt_vector_54 at 0xffea 2 bytes
ELF section __interrupt_vector_55 at 0xffec 2 bytes
ELF section __interrupt_vector_56 at 0xffee 2 bytes
ELF section __interrupt_vector_57 at 0xfff0 2 bytes
ELF section __interrupt_vector_60 at 0xfff6 2 bytes
ELF section __reset_vector at 0xfffe 2 bytes
ELF section .rodata at 0x8000 330 bytes
ELF section .rodata2 at 0x814c 80 bytes
ELF section .text at 0x819c 13916 bytes
ELF section .data at 0xb7f8 304 bytes
convert to TI Hex
Traceback (most recent call last):
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 713, in <module>
bm = CBM( opt.device )
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 230, in __init__
self.allstatus()
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 389, in allstatus
return [self.getstatus(), self.wbsl_getstatus(), self.wbsl_getpacketstatus()]
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 380, in getstatus
return self._getstatus().payload
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 267, in _getstatus
return self.sendcmd( 0x00, [0x00] ) #BM_GetStatus
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 261, in sendcmd
return self.send( cmd )
File "/home/discipline/EZ430-Chronos/openchronos-ng-elf/contrib/ChronosTool.py", line 252, in send
if response[2] > 3:
IndexError: bytearray index out of range
CMakeFiles/radio-install.dir/build.make:57: recipe for target 'CMakeFiles/radio-install' failed
make[3]: *** [CMakeFiles/radio-install] Error 1
CMakeFiles/Makefile2:131: recipe for target 'CMakeFiles/radio-install.dir/all' failed
make[2]: *** [CMakeFiles/radio-install.dir/all] Error 2
CMakeFiles/Makefile2:138: recipe for target 'CMakeFiles/radio-install.dir/rule' failed
make[1]: *** [CMakeFiles/radio-install.dir/rule] Error 2
Makefile:144: recipe for target 'radio-install' failed
make: *** [radio-install] Error 2
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub <#35 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AA-4rzYkvb9Lpg1i-4p2iXLD9kIcLAI_ks5rXUpFgaJpZM4LlJQ_>.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
CMake target
radio-install
works with this change, butcontrib/ChronosTool.py
is failing for me.But see if it works for you :-)