micro_ros_setup icon indicating copy to clipboard operation
micro_ros_setup copied to clipboard

Add Spresense board support

Open Barry-Xu-2018 opened this issue 5 years ago • 4 comments

Barry-Xu-2018 avatar May 25 '21 06:05 Barry-Xu-2018

Hello, just two comments:

  • We didn't expect modifications on the micro_ros_setup general scripts (build_firmware.sh, configure_firmware.sh ...) did you encounter problems with them?
  • It could be more interesting to integrate your board on the new micro-ROS Nuttx app, which is not related to micro_ros_setup.

Acuadros95 avatar May 26 '21 09:05 Acuadros95

@Acuadros95

Thanks for your comments.

  • We didn't expect modifications on the micro_ros_setup general scripts (build_firmware.sh, configure_firmware.sh ...) did you encounter problems with them?

Yes. I understand. These scrips (build_firmware.sh, etc) should not be modified. But current logic of codes is a little confused to me. So I modify it and want to discuss it with reviewer.
e.g.

https://github.com/micro-ROS/micro_ros_setup/blob/720350f5439427f9d2761a7f1501eae149b61061/scripts/build_firmware.sh#L72-L76

generic directory put common scripts which may be used for different platform. $PLATFORM directory put special scripts which is only for this platform.
Naturally,if build.sh exist in $PLATFORM directory, this script should be used instead of flash.sh in generic directory.
Current logic is if flash.sh exists in generic directory, it should be used. If I want to special operations in flash.sh for my platform, how to do ? (generic directory should be removed ?)

  • It could be more interesting to integrate your board on the new micro-ROS Nuttx app, which is not related to micro_ros_setup.

I know you plan to remove official support to NuttX in micro-ROS Galactic. So foxy version also don't want to add any change for NuttX. Right ?

Barry-Xu-2018 avatar May 26 '21 10:05 Barry-Xu-2018

Yes, you are right, $PLATFORM directory should be preferred over generic. I will check that these changes don't affect the rest of the available platforms.

And we will keep supporting NuttX on foxy, so feel free to include your port into this version. But in the future, only the new app will be used.

Acuadros95 avatar May 26 '21 14:05 Acuadros95

Yes, you are right, $PLATFORM directory should be preferred over generic. I will check that these changes don't affect the rest of the available platforms.

Okay. Thank you.

And we will keep supporting NuttX on foxy, so feel free to include your port into this version. But in the future, only the new app will be used.

Get it.

Barry-Xu-2018 avatar May 27 '21 01:05 Barry-Xu-2018