Skip to content

boards/arm/stm32: CMake added ViewTool stm32f107 board#18523

Merged
lupyuen merged 1 commit intoapache:masterfrom
simbit18:simbit18-viewtool-stm32f107
Mar 10, 2026
Merged

boards/arm/stm32: CMake added ViewTool stm32f107 board#18523
lupyuen merged 1 commit intoapache:masterfrom
simbit18:simbit18-viewtool-stm32f107

Conversation

@simbit18
Copy link
Contributor

Summary

  • CMake added ViewTool stm32f107 board

Impact

Impact on user: This PR adds ViewTool stm32f107 board with CMake build

Impact on build: NO

Impact on hardware: NO

Impact on documentation: NO

Impact on security: NO

Impact on compatibility: NO

Testing

viewtool-stm32f107:nsh
D:\nuttxtmp\nuttx>cmake -B build -DBOARD_CONFIG=viewtool-stm32f107: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:  viewtool-stm32f107
--   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 (14.6s)
-- Generating done (2.6s)
-- Build files have been written to: D:/nuttxtmp/nuttx/build

D:\nuttxtmp\nuttx>cmake --build build
[28/1148] Building C object arch/CMakeFiles/arch.dir/arm/src/stm32/stm32_gpio.c.o
D:/nuttxtmp/nuttx/arch/arm/src/stm32/stm32_gpio.c:44:11: note: '#pragma message: CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py'
   44 | #  pragma message "CONFIG_STM32_USE_LEGACY_PINMAP will be deprecated migrate board.h see tools/stm32_pinmap_tool.py"
      |           ^~~~~~~
[1147/1148] Linking C executable nuttx
Memory region         Used Size  Region Size  %age Used
           flash:       84280 B       256 KB     32.15%
            sram:        5572 B        64 KB      8.50%
[1148/1148] Generating nuttx.hex

CMake added ViewTool stm32f107 board

Signed-off-by: simbit18 <simbit18@gmail.com>
@github-actions github-actions bot added Size: M The size of the change in this PR is medium Board: arm labels Mar 10, 2026
@lupyuen lupyuen merged commit dcfc386 into apache:master Mar 10, 2026
26 checks passed
@simbit18 simbit18 deleted the simbit18-viewtool-stm32f107 branch March 11, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Board: arm Size: M The size of the change in this PR is medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants