simbit18 opened a new pull request, #18419:
URL: https://github.com/apache/nuttx/pull/18419

   ## Summary
   
   - added STM32 STM32WB Series
   
   - CMake added STM32 boards:
   
       flipperzero
       nucleo-wb55rg
   
   ## Impact
   
   Impact on user: This PR adds STM32
       flipperzero and nucleo-wb55rg boards with CMake build
   
   Impact on build: This PR Implement CMake build for STM32 STM32WB Series
   
   Impact on hardware: NO
   
   Impact on documentation: NO
   
   Impact on security: NO
   
   Impact on compatibility: NO
   
   ## Testing
   
   <details>
   <summary>flipperzero:nsh</summary>
   
   ```
   
   D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=flipperzero:nsh -GNinja
   -- Found Python3: 
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version 
"3.13.3") found components: Interpreter
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Initializing NuttX
   Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
   Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
   --   ENV{PROCESSOR_ARCHITECTURE} = AMD64
     Select HOST_WINDOWS=y
     Select WINDOWS_NATIVE=y
   --   CMake:  3.31.5
   --   Ninja:  1.12.1
   --   Board:  flipperzero
   --   Config: nsh
   --   Appdir: D:/nuttxtmp/apps
   -- Building for: Ninja
   -- The C compiler identification is GNU 14.2.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- NuttX Host Tools
   -- CMake C compiler: GNU
   -- CMake system name: Windows
   -- CMake host system processor: AMD64
      TOOLS_DIR path is "D:/nuttxtmp/nuttx"
      HOST = WINDOWS NATIVE
   -- Configuring done (1.2s)
   -- Generating done (0.0s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
   -- The C compiler identification is GNU 13.2.1
   -- The CXX compiler identification is GNU 13.2.1
   -- The ASM compiler identification is GNU
   -- Found assembler: 
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Configuring done (15.7s)
   -- Generating done (2.5s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build
   
   D:\nuttxtmp\nuttx>cmake --build build
   [29/1366] Building C object 
arch/CMakeFiles/arch.dir/arm/src/stm32wb/stm32wb_gpio.c.o
   D:/nuttxtmp/nuttx/arch/arm/src/stm32wb/stm32wb_gpio.c:44:11: note: '#pragma 
message: CONFIG_STM32WB_USE_LEGACY_PINMAP will be deprecated migrate board.h 
see tools/stm32_pinmap_tool.py'
      44 | #  pragma message "CONFIG_STM32WB_USE_LEGACY_PINMAP will be 
deprecated migrate board.h see tools/stm32_pinmap_tool.py"
         |           ^~~~~~~
   [78/1366] Building C object drivers/CMakeFiles/drivers.dir/lcd/st7565.c.o
   D:/nuttxtmp/nuttx/drivers/lcd/st7565.c:107:4: warning: #warning "Optimal 
setting of CONFIG_LCD_MAXCONTRAST is 255" [-Wcpp]
     107 | #  warning "Optimal setting of CONFIG_LCD_MAXCONTRAST is 255"
         |    ^~~~~~~
   [1364/1366] Linking CXX executable nuttx
   Memory region         Used Size  Region Size  %age Used
              flash:      253412 B       512 KB     48.33%
              sram1:       13672 B       192 KB      6.95%
             sram2a:          0 GB        32 KB      0.00%
             sram2b:          0 GB        32 KB      0.00%
   [1366/1366] Generating nuttx.hex
   ```
   </details>
   
   
   <details>
   <summary>nucleo-wb55rg:nsh</summary>
   
   ```
   D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=nucleo-wb55rg:nsh -GNinja
   -- Found Python3: 
C:/Users/bit/AppData/Local/Programs/Python/Python313/python.exe (found version 
"3.13.3") found components: Interpreter
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Initializing NuttX
   Loaded configuration 'D:/nuttxtmp/nuttx/build/.config.compressed'
   Minimal configuration saved to 'D:/nuttxtmp/nuttx/build/defconfig.tmp'
   --   ENV{PROCESSOR_ARCHITECTURE} = AMD64
     Select HOST_WINDOWS=y
     Select WINDOWS_NATIVE=y
   --   CMake:  3.31.5
   --   Ninja:  1.12.1
   --   Board:  nucleo-wb55rg
   --   Config: nsh
   --   Appdir: D:/nuttxtmp/apps
   -- Building for: Ninja
   -- The C compiler identification is GNU 14.2.0
   -- Detecting C compiler ABI info
   -- Detecting C compiler ABI info - done
   -- Check for working C compiler: C:/mingw/mingw64/bin/gcc.exe - skipped
   -- Detecting C compile features
   -- Detecting C compile features - done
   -- NuttX Host Tools
   -- CMake C compiler: GNU
   -- CMake system name: Windows
   -- CMake host system processor: AMD64
      TOOLS_DIR path is "D:/nuttxtmp/nuttx"
      HOST = WINDOWS NATIVE
   -- Configuring done (0.9s)
   -- Generating done (0.0s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build/bin_host
   -- The C compiler identification is GNU 13.2.1
   -- The CXX compiler identification is GNU 13.2.1
   -- The ASM compiler identification is GNU
   -- Found assembler: 
D:/nx20250410/tools/gcc-arm-none-eabi/bin/arm-none-eabi-gcc.exe
   -- nuttx_add_subdirectory: Skipping cxx-oot-build
   -- Configuring done (13.4s)
   -- Generating done (2.5s)
   -- Build files have been written to: D:/nuttxtmp/nuttx/build
   
   D:\nuttxtmp\nuttx>cmake --build build
   [29/1168] Building C object 
arch/CMakeFiles/arch.dir/arm/src/stm32wb/stm32wb_gpio.c.o
   D:/nuttxtmp/nuttx/arch/arm/src/stm32wb/stm32wb_gpio.c:44:11: note: '#pragma 
message: CONFIG_STM32WB_USE_LEGACY_PINMAP will be deprecated migrate board.h 
see tools/stm32_pinmap_tool.py'
      44 | #  pragma message "CONFIG_STM32WB_USE_LEGACY_PINMAP will be 
deprecated migrate board.h see tools/stm32_pinmap_tool.py"
         |           ^~~~~~~
   [1166/1168] Linking CXX executable nuttx
   Memory region         Used Size  Region Size  %age Used
              flash:      216644 B       512 KB     41.32%
              sram1:       10380 B       192 KB      5.28%
             sram2a:          0 GB        32 KB      0.00%
             sram2b:          0 GB        32 KB      0.00%
   [1168/1168] Generating nuttx.bin
   ```
   </details>
   


-- 
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