Skip to content

Commit 122c580

Browse files
author
m19936
committed
Added discover data
1 parent 1ee9a14 commit 122c580

File tree

6 files changed

+51
-66
lines changed

6 files changed

+51
-66
lines changed

.meta/main.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"$schema": "https://bitbucket.microchip.com/projects/CITD/repos/metadata-schema/raw/main-schema.json?at=refs%2Fheads%2Fdevelop",
3+
"metaDataVersion": "1.0.0",
4+
"category": "com.microchip.ide.project",
5+
"content": {
6+
"metaDataVersion": "1.3.0",
7+
"name": "com.microchip.mcu8.arduino.project.avr-iot-cellular-arduino-library",
8+
"version": "1.0.0",
9+
"displayName": "AVR-IoT Cellular Arduino Library",
10+
"projectName": "avr-iot-cellular-arduino-library",
11+
"shortDescription": "Arduino Compatible Library for the AVR-IoT Cellular Mini board",
12+
"ide": {
13+
"name": "Arduino",
14+
"semverRange": ">=1.8.16"
15+
},
16+
"compiler": [{
17+
"name": "AVR GCC",
18+
"semverRange": "^5.4.0"
19+
}],
20+
"dfp": {
21+
"name": "AVR-Dx_DFP",
22+
"semverRange": "^1.3.65"
23+
},
24+
"device": {
25+
"name": "AVR128DB48"
26+
},
27+
"author": "Johan Lofstad",
28+
"peripherals": [],
29+
"keywords": [
30+
"Arduino",
31+
"IoT",
32+
"IoT Provisioning",
33+
"Cellular Network",
34+
"Library"
35+
]
36+
}
37+
}

Jenkinsfilek8s

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pipeline {
1919
GITHUB_REPO = 'https://github.com/mchpTestArea/avr-iot-test'
2020
GITHUB_REPO_SHORT = 'avr-iot-test'
2121
GITHUB_ORG = 'mchpTestArea'
22-
TARGET_BRANCH = 'sandbox'
22+
TARGET_BRANCH = 'jenkins-test'
2323
}
2424

2525
stages {
@@ -89,7 +89,7 @@ pipeline {
8989
steps {
9090
script {
9191
withCredentials([usernamePassword(credentialsId: 'github_mchptest', usernameVariable: 'USER_NAME', passwordVariable:'PASS' )]) {
92-
sh "python3 ${env.DEPLOY_SCRIPT_FILE} -deploy=true -gpat=${PASS} -dgid=${USER_NAME} -dburl=${env.BITBUCKET_REPO} -dgurl=${env.GITHUB_REPO} -dbranch=${env.TARGET_BRANCH} -def=\"cloudprovider.yaml, Jenkinsfilek8s, mini_port.md, internal_readme.md\""
92+
sh "python3 ${env.DEPLOY_SCRIPT_FILE} -deploy=true -gpat=${PASS} -dgid=${USER_NAME} -dburl=${env.BITBUCKET_REPO} -dgurl=${env.GITHUB_REPO} -dbranch=${env.TARGET_BRANCH}"
9393
}
9494
}
9595
}
@@ -100,7 +100,7 @@ pipeline {
100100
steps {
101101
script {
102102
withCredentials([usernamePassword(credentialsId: 'github_mchptest', usernameVariable: 'USER_NAME', passwordVariable:'PASS' )]) {
103-
sh "python3 ${env.DEPLOY_SCRIPT_FILE} -rlo=true -gpat=${PASS} -dgid=${USER_NAME} -rpn=${GITHUB_REPO_SHORT} -rporg=${GITHUB_ORG} -rltt=\"${env.GIT_TAG}\" -rltv=\"${env.GIT_TAG}\" -rlua=\"avr-iot-cellular-${env.GIT_TAG}.zip, builds/mini/sandbox.ino.hex\""
103+
sh "python3 ${env.DEPLOY_SCRIPT_FILE} -rlo=true -gpat=${PASS} -dgid=${USER_NAME} -rpn=${GITHUB_REPO_SHORT} -rporg=${GITHUB_ORG} -rltt=\"${env.GIT_TAG}\" -rltv=\"${env.GIT_TAG}\" -rlua=\"avr-iot-cellular-${env.GIT_TAG}.zip,sandbox.hex\""
104104
}
105105
}
106106
}
@@ -112,7 +112,7 @@ pipeline {
112112

113113
post {
114114
success {
115-
archiveArtifacts artifacts: '**/avr-iot-cellular-*.zip'
115+
archiveArtifacts artifacts: '**/avr-iot-cellular-*.zip, **/sandbox.hex'
116116
}
117117
}
118118
}

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@ The AVR-IoT Cellular Mini is a development board from Microchip to develop cellu
2020

2121
🤝 Built & Designed to be Familiar to Makers, featuring a [Adafruit Feather](https://learn.adafruit.com/adafruit-feather) form-factor and a [Qwiic](https://www.sparkfun.com/qwiic) / [Stemma](https://learn.adafruit.com/introducing-adafruit-stemma-qt) Connector
2222

23-
<p align="center">
2423

25-
<span style="font-size:2em;">👉 <u>Documentation: https://iot.microchip.com/docs/</u> 👈</span>
2624

27-
</p>
25+
## 👉 *Documentation: https://iot.microchip.com/docs/* 👈
2826

2927
## Examples
3028

internal_readme.md

Lines changed: 0 additions & 51 deletions
This file was deleted.

scripts/bundle.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ cp src release/avr-iot-cellular-library -r
55
cp library.properties release/avr-iot-cellular-library
66
cd release
77

8-
echo $1
9-
108
if [ -z $1 ]; then
119
zip -r ../avr-iot-cellular.zip . *
1210
else
1311
zip -r ../avr-iot-cellular-$1.zip . *
14-
fi
12+
fi
13+
14+
cd -
15+
cp ./builds/mini/sandbox/sandbox.ino.hex ./sandbox.hex

scripts/compile_examples.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
# Test for AVR-IoT Cellular
44
for d in src/examples/*/ ; do
5-
echo "Compiling $d...";
6-
arduino-cli compile -b DxCore:megaavr:avrdb:appspm=no,chip=avr128db64,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2 --libraries=".." "$d";
5+
echo "Compiling $d...";
6+
arduino-cli compile -b DxCore:megaavr:avrdb:appspm=no,chip=avr128db64,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2 --libraries=".." "$d";
77
done
88

99
# Test for AVR-IoT Cellular Mini
1010
for d in src/examples/*/ ; do
11-
echo "Compiling $d...";
12-
arduino-cli compile -b DxCore:megaavr:avrdb:appspm=no,chip=avr128db48,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2 --libraries=".." "$d" --output-dir "builds/mini/$(basename $d)";
13-
done
11+
echo "Compiling $d...";
12+
arduino-cli compile -b DxCore:megaavr:avrdb:appspm=no,chip=avr128db48,clock=24internal,bodvoltage=1v9,bodmode=disabled,eesave=enable,resetpin=reset,millis=tcb2,startuptime=8,wiremode=mors2 --libraries=".." "$d" --output-dir "builds/mini/$(basename $d)";
13+
done

0 commit comments

Comments
 (0)