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

CMakeLists.txt: fixed order of targets to enable radio-install #35

Merged
merged 1 commit into from
Jan 17, 2017

Conversation

pretyman
Copy link
Contributor

CMake target radio-install works with this change, but contrib/ChronosTool.py is failing for me.

But see if it works for you :-)

@BenjaminSoelberg
Copy link
Owner

it could be that you need to use sudo depending on distribution.
Which error do you get ?

@pretyman
Copy link
Contributor Author

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

@BenjaminSoelberg
Copy link
Owner

BenjaminSoelberg commented Jan 30, 2017 via email

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.

2 participants