Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Commit

Permalink
Update: keep only SEEED_XIAO_NRF52840 boards
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshanthad committed Dec 1, 2022
1 parent e4d106c commit b659b54
Show file tree
Hide file tree
Showing 141 changed files with 205 additions and 11,749 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
*DS_Store
cores/arduino/api/
cores/arduino/api*
**/.vscode/
Expand Down
525 changes: 53 additions & 472 deletions boards.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -179,21 +179,6 @@ typedef enum {
I2C_SDA0 = p4,
I2C_SCL0 = p5,

/**** QSPI pins ****/
QSPI1_IO0 = P0_20,
QSPI1_IO1 = P0_24,
QSPI1_IO2 = P0_22,
QSPI1_IO3 = P0_23,
QSPI1_SCK = P0_21,
QSPI1_CSN = P0_25,

QSPI_FLASH1_IO0 = P0_20,
QSPI_FLASH1_IO1 = P0_24,
QSPI_FLASH1_IO2 = P0_22,
QSPI_FLASH1_IO3 = P0_23,
QSPI_FLASH1_SCK = P0_21,
QSPI_FLASH1_CSN = P0_25,

#ifndef ARDUINO_ARCH_MBED
// Digital Pins
D0 = P0_2,
Expand Down
2 changes: 1 addition & 1 deletion extras/pack.release.bash
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

# Version check removed because version string passed from jenkins was incorrect
VERSION_FROM_TAG=2.6.1
VERSION_FROM_TAG=$1
CORE_NAME=$2
echo $VERSION_FROM_TAG
echo $CORE_NAME
Expand Down
6 changes: 3 additions & 3 deletions mbed-os-to-arduino
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ generate_includes () {

generate_flags () {
echo -n "Generating flags..."
for fl in c cxx ld; do
jq -r '.flags | .[] | select(. != "-MMD")' ./BUILD/"$BOARDNAME"/GCC_ARM${PROFILE}/.profile-${fl} \
for fl in c cxx ld; do jq -r '.flags | .[] | select(. != "-MMD")' ./BUILD/"$BOARDNAME"/GCC_ARM${PROFILE}/.profile-${fl} \

> "$ARDUINOVARIANT"/${fl}flags.txt
if [[ $ARDUINOVARIANT == *PORTENTA* ]]; then
echo "Patching '-fno-exceptions' flag for $ARDUINOVARIANT/${fl}flags.txt"
Expand Down Expand Up @@ -300,7 +300,7 @@ if [ $# -eq 0 ] ; then
echo " -p specify local mbed core directory (defaults to PWD)"
echo
echo "Example:"
echo " $(basename $0) -a SEEED_XIAO_NRF52840_SENSE:ARDUINO_NANO33BLE CHALLENGE_PMC_R2DX:ARDUINO_NANO33BLE"
echo " $(basename $0) -a ARDUINO_NANO33BLE:ARDUINO_NANO33BLE CHALLENGE_PMC_R2DX:ARDUINO_NANO33BLE"
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion package_full.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#Get version from git(hub) tag
export VERSION="2.6.1"
export VERSION="2.7.2"

FLAVOURS=`ls *.variables`

Expand Down
6 changes: 3 additions & 3 deletions platform.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
# For more info:
# https://github.com/arduino/Arduino/wiki/Arduino-IDE-1.5---3rd-party-Hardware-specification

name=Arduino Mbed OS Boards
version=2.6.1
name=Seeed nRF52 mbed-enabled Boards
version=2.7.2

# Compile variables
# ------------------------
Expand Down Expand Up @@ -231,4 +231,4 @@ tools.bootburn.bootloader.pattern={program.burn_pattern}
# erase flash page while programming
tools.bootburn.erase.params.verbose=
tools.bootburn.erase.params.quiet=
tools.bootburn.erase.pattern=
tools.bootburn.erase.pattern=
26 changes: 0 additions & 26 deletions variants/ARDUINO_NANO33BLE/cxxflags.txt

This file was deleted.

Binary file removed variants/ARDUINO_NANO33BLE/libs/libmbed.a
Binary file not shown.
24 changes: 0 additions & 24 deletions variants/EDGE_CONTROL/cflags.txt

This file was deleted.

2 changes: 0 additions & 2 deletions variants/EDGE_CONTROL/conf/.mbedignore

This file was deleted.

33 changes: 0 additions & 33 deletions variants/EDGE_CONTROL/conf/mbed_app.json

This file was deleted.

72 changes: 0 additions & 72 deletions variants/EDGE_CONTROL/defines.txt

This file was deleted.

Loading

0 comments on commit b659b54

Please sign in to comment.