Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
FROM microros/linux:latest


# Install essential required for Nuttx complilation
RUN apt install -y bison \
flex \
Expand Down Expand Up @@ -34,12 +32,14 @@ RUN apt install -y remake \


# Clone nuttx repo
RUN git clone https://bitbucket.com/nuttx/nuttx.git ~/nuttx
RUN git clone https://github.com/microROS/NuttX.git ~/nuttx



# Clone nuttx apps repo.
RUN git clone https://github.com/microROS/apps.git ~/apps
RUN git -C ~/apps checkout feature/Ubuntu18Update
RUN git clone https://github.com/microROS/apps.git ~/apps
Comment thread
BorjaOuterelo marked this conversation as resolved.




# Clone, Build and install kconfig-frontends repo
Expand All @@ -55,7 +55,7 @@ RUN git clone https://bitbucket.org/nuttx/uclibc.git ~/uclibc
RUN (cd ~/uclibc/ && echo -e "Y\nY\nY\nY\n" | ./install.sh ~/nuttx)


#--------Here we could split this image in two, tools and build.
#--------


# Download, build and install `Micro-ROS build system`
Expand All @@ -74,5 +74,5 @@ RUN sed -i s/"CONFIG_MICRO_XRCEDDS_TRANSPORT=.*"/"CONFIG_MICRO_XRCEDDS_TRANSPORT


# Build Nuttx binary
RUN (cd ~/nuttx && tools/configure.sh ../apps/configs/olimex-stm32-e407/uros/)
RUN (. ~/uros_build_ws/install/local_setup.sh && cd ~/nuttx && make)
RUN (cd ~/nuttx && tools/configure.sh ./configs/olimex-stm32-e407/uros/)
RUN (. ~/uros_build_ws/install/local_setup.sh && cd ~/nuttx && make)