Skip to content
Snippets Groups Projects
Commit 9d183376 authored by James Goppert's avatar James Goppert
Browse files

Fixed issues noted by voon, start of python script for bin to obj.

parent bbf043e3
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/env python
"""
This converts a binary imagge to an object file
"""
from __future__ import print_function
import subprocess
import argparse
import os
#pylint: disable=invalid-name
parser = argparse.ArgumentParser(description='Convert bin to obj.')
parser.add_argument('--c-flags', required=True)
parser.add_argument('--c-compiler', required=True)
parser.add_argument('--nm', required=True)
args = parser.parse_args()
#TODO write function
exit(0)
# vim: set et ft=python fenc= ff=unix sts=4 sw=4 ts=4 :
File moved
......@@ -389,7 +389,7 @@ endfunction()
#
function(px4_add_upload)
px4_parse_function_args(
NAME px4_generate_messages
NAME px4_add_upload
ONE_VALUE OS BOARD OUT BUNDLE
REQUIRED OS BOARD OUT BUNDLE
ARGN ${ARGN})
......
......@@ -143,7 +143,7 @@ function(px4_nuttx_generate_builtin_commands)
math(EXPR command_count "${command_count}+1")
endif()
endforeach()
configure_file(${CMAKE_SOURCE_DIR}/cmake/builtin_commands.c.cmake
configure_file(${CMAKE_SOURCE_DIR}/cmake/builtin_commands.c.in
${OUT})
endfunction()
......
......@@ -104,7 +104,7 @@ function(px4_qurt_generate_builtin_commands)
math(EXPR command_count "${command_count}+1")
endif()
endforeach()
configure_file(${CMAKE_SOURCE_DIR}/cmake/builtin_commands.c.cmake
configure_file(${CMAKE_SOURCE_DIR}/cmake/builtin_commands.c.in
${OUT})
endfunction()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment