-
Notifications
You must be signed in to change notification settings - Fork 39
Added LoRa Thing Plus Variant #305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
e051352
Added LoRa Thing Plus Variant
0814d08
Added LoRa Thing Plus for 2.0.2 Core
dandobs b1577be
Added LoRa SPI1 pins to variants, uncommented GPIO36+ in pins.cpp
af5c51a
Swapping order of bootloader options and updating statuses
0b1442a
adding expLoRaBLE to generate-variants.yml jobs
a8c6403
Merge branch 'dev' into pr/305
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* | ||
// This file is subject to the terms and conditions defined in | ||
// file 'LICENSE.md', which is part of this source code package. | ||
*/ | ||
|
||
#include "bridge/pins.h" | ||
|
||
const pin_size_t variantPinCount = 25; | ||
|
||
PinState variantPinStates[variantPinCount] = { | ||
{D0, 0, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D1, 1, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D2, 2, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D3, 3, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D4, 4, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D5, 5, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D6, 6, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D7, 7, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D8, 8, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D9, 9, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D10, 10, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D11, 11, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D12, 12, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D13, 13, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D14, 14, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D15, 15, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D16, 16, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D17, 17, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D18, 18, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D19, 19, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D20, 20, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D21, 21, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D22, 22, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D23, 23, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
{D24, 24, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
|
||
//{D36, 36, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
//{D38, 38, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
//{D39, 39, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
//{D42, 42, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
//{D43, 43, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
//{D44, 44, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
//{D47, 47, NULL, /*NULL, NULL, NULL,*/ NULL}, | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
/* | ||
// This file is subject to the terms and conditions defined in | ||
// file 'LICENSE.md', which is part of this source code package. | ||
*/ | ||
|
||
#ifndef _VARIANT_PINS_H_ | ||
#define _VARIANT_PINS_H_ | ||
|
||
#define LED_BUILTIN pinNumberByName(LED1) | ||
|
||
#endif // _VARIANT_PINS_H_ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-c -x assembler-with-cpp | ||
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-DAM_PACKAGE_BGA -DARM_MATH_CM4 -DCORDIO_ZERO_COPY_HCI -DUSE_AMBIQ_DRIVER -D__CMSIS_RTOS -D__CORTEX_M4 -D__FPU_PRESENT=1 -D__MBED_CMSIS_RTOS_CM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-c -std=gnu11 -DMBED_MINIMAL_PRINTF -DMBED_TRAP_ERRORS_ENABLED=1 -MMD -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -fdata-sections -ffunction-sections -fmessage-length=0 -fno-exceptions -fomit-frame-pointer -funsigned-char -g -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -mthumb |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-DAM_PACKAGE_BGA -DARM_MATH_CM4 -DCOMPONENT_FLASHIAP=1 -DCORDIO_ZERO_COPY_HCI -DDEVICE_FLASH=1 -DDEVICE_I2C=1 -DDEVICE_INTERRUPTIN=1 -DDEVICE_LPTICKER=1 -DDEVICE_MPU=1 -DDEVICE_SERIAL=1 -DDEVICE_SPI=1 -DDEVICE_STDIO_MESSAGES=1 -DDEVICE_USTICKER=1 -DFEATURE_BLE=1 -DTARGET_AMA3B1KK -DTARGET_Ambiq_Micro -DTARGET_Apollo3 -DTARGET_CORDIO -DTARGET_CORTEX -DTARGET_CORTEX_M -DTARGET_FAMILY_Apollo3 -DTARGET_LIKE_CORTEX_M4 -DTARGET_LIKE_MBED -DTARGET_LoRa_THING_PLUS_expLoRaBLE -DTARGET_M4 -DTARGET_NAME=LoRa_THING_PLUS_expLoRaBLE -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DUSE_AMBIQ_DRIVER -D__CMSIS_RTOS -D__CORTEX_M4 -D__FPU_PRESENT=1 -D__MBED_CMSIS_RTOS_CM -D__MBED__=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-Wvla -c -fno-rtti -std=gnu++14 -DMBED_MINIMAL_PRINTF -DMBED_TRAP_ERRORS_ENABLED=1 -Os -Wall -Wextra -Wno-missing-field-initializers -Wno-unused-parameter -fdata-sections -ffunction-sections -fmessage-length=0 -fno-exceptions -fomit-frame-pointer -funsigned-char -g -mcpu=cortex-m4 -mfloat-abi=softfp -mfpu=fpv4-sp-d16 -mthumb |
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-DAM_PACKAGE_BGA -DARM_MATH_CM4 -DCOMPONENT_FLASHIAP=1 -DCORDIO_ZERO_COPY_HCI -DDEVICE_FLASH=1 -DDEVICE_I2C=1 -DDEVICE_INTERRUPTIN=1 -DDEVICE_LPTICKER=1 -DDEVICE_MPU=1 -DDEVICE_SERIAL=1 -DDEVICE_SPI=1 -DDEVICE_STDIO_MESSAGES=1 -DDEVICE_USTICKER=1 -DFEATURE_BLE=1 -DTARGET_AMA3B1KK -DTARGET_Ambiq_Micro -DTARGET_Apollo3 -DTARGET_CORDIO -DTARGET_CORTEX -DTARGET_CORTEX_M -DTARGET_FAMILY_Apollo3 -DTARGET_LIKE_CORTEX_M4 -DTARGET_LIKE_MBED -DTARGET_LoRa_THING_PLUS_expLoRaBLE -DTARGET_M4 -DTARGET_NAME=LoRa_THING_PLUS_expLoRaBLE -DTARGET_RELEASE -DTARGET_RTOS_M4_M7 -DTOOLCHAIN_GCC -DTOOLCHAIN_GCC_ARM -DUSE_AMBIQ_DRIVER -D__CMSIS_RTOS -D__CORTEX_M4 -D__FPU_PRESENT=1 -D__MBED_CMSIS_RTOS_CM -D__MBED__=1 |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These files should be generated automatically now that i completed the explorable PR in mbed.
Please update the generate-variants file with the explorable, and I will approve this PR so that we can test it and ensure that it is working.