lupyuen commented on PR #18744:
URL: https://github.com/apache/nuttx/pull/18744#issuecomment-4263947856

   @acassis I tested with Docker, refresh.sh seems to be working correctly: 
https://gist.github.com/lupyuen/a77be35dbcd40f959e2e4930d126963b
   
   ```bash
   $ sudo docker run -it \
     ghcr.io/apache/nuttx/apache-nuttx-ci-linux:latest
   # cd ; pwd ;
   # git clone https://github.com/acassis/incubator-nuttx --branch 
fix_modbus_loc nuttx
   # git clone https://github.com/apache/nuttx-apps apps ;
   # cd nuttx
   # ./tools/refresh.sh --silent stm32f4discovery:modbus_slave
     [1/1] Normalize stm32f4discovery:modbus_slave
   9d8
   < # CONFIG_MB_TCP_ENABLED is not set
   32,33d30
   < CONFIG_INDUSTRY_MODBUS=y
   < CONFIG_INDUSTRY_MODBUS_SLAVE=y
   Saving the new configuration file
   
   # git diff
   diff --git 
a/boards/arm/stm32/stm32f4discovery/configs/modbus_slave/defconfig 
b/boards/arm/stm32/
   stm32f4discovery/configs/modbus_slave/defconfig
   index 0eba5c05bc..e574e4de0b 100644
   --- a/boards/arm/stm32/stm32f4discovery/configs/modbus_slave/defconfig
   +++ b/boards/arm/stm32/stm32f4discovery/configs/modbus_slave/defconfig
   @@ -6,7 +6,6 @@
    # modifications.
    #
    # CONFIG_ARCH_FPU is not set
   -# CONFIG_MB_TCP_ENABLED is not set
    # CONFIG_NSH_ARGCAT is not set
    # CONFIG_NSH_CMDOPT_HEXDUMP is not set
    # CONFIG_NSH_DISABLE_MB is not set
   @@ -29,8 +28,6 @@ CONFIG_EXAMPLES_MODBUS_PORT=1
    CONFIG_FS_PROCFS=y
    CONFIG_HAVE_CXX=y
    CONFIG_HAVE_CXXINITIALIZE=y
   -CONFIG_INDUSTRY_MODBUS=y
   -CONFIG_INDUSTRY_MODBUS_SLAVE=y
    CONFIG_INIT_ENTRYPOINT="nsh_main"
    CONFIG_INTELHEX_BINARY=y
    CONFIG_LINE_MAX=64
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to