Skip to content

Commit

Permalink
boards: arduino_nano_33_ble: remove redundant "gpio library"
Browse files Browse the repository at this point in the history
The board had an internal "library" to configure pins in an Arduinoeish
fasion. This is no longer used, so can be removed.

Signed-off-by: Gerard Marull-Paretas <[email protected]>
  • Loading branch information
gmarull authored and carlescufi committed Mar 24, 2022
1 parent 1b479d6 commit 58b60bb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 103 deletions.
5 changes: 0 additions & 5 deletions boards/arm/arduino_nano_33_ble/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# Copyright (c) 2020 Jefferson Lee.
# SPDX-License-Identifier: Apache-2.0

add_library(arduino_nano_33_ble_pins INTERFACE)
target_include_directories(arduino_nano_33_ble_pins
INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/inc/")


zephyr_library()
zephyr_library_sources(board.c)
4 changes: 0 additions & 4 deletions boards/arm/arduino_nano_33_ble/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,6 @@ Connections and IOs
The `schematic`_ will tell you everything
you need to know about the pins.

A convenience header mapping the Arduino pin names to their
Zephyr pin numbers can be found in :code:`arduino_nano_33_ble_pins.h`,
if you link against the :code:`arduino_nano_33_ble_pins` CMake library.

The I2C pull-ups are enabled by setting pin P1.00 high. This is automatically
done at system init. The pin is specified in the ``zephyr,user`` Devicetree node
as ``pull-up-gpios``.
Expand Down
36 changes: 0 additions & 36 deletions boards/arm/arduino_nano_33_ble/inc/arduino_nano_33_ble.h

This file was deleted.

58 changes: 0 additions & 58 deletions boards/arm/arduino_nano_33_ble/inc/arduino_nano_33_ble_pins.h

This file was deleted.

0 comments on commit 58b60bb

Please sign in to comment.