-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #274 from ava-labs/dev
v0.7.3-rc4
- Loading branch information
Showing
8 changed files
with
93 additions
and
97 deletions.
There are no files selected for viewing
This file contains 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 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,10 @@ | ||
# Configuration flags and values for app features | ||
|
||
#Specifies the version of the app | ||
include Makefile.version | ||
|
||
# Enable debug output in speculos and other development features | ||
APP_TESTING ?= 0 | ||
|
||
# Enable BTC integration in the app | ||
FEATURE_BTC ?= 0 |
This file contains 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 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 |
---|---|---|
@@ -1,36 +1,36 @@ | ||
/******************************************************************************* | ||
* (c) 2016 Ledger | ||
* (c) 2018-2023 Zondax AG | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
********************************************************************************/ | ||
* (c) 2016 Ledger | ||
* (c) 2018-2023 Zondax AG | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
********************************************************************************/ | ||
#include "rslib.h" | ||
|
||
#include "boilerplate/io.h" | ||
#include "boilerplate/sw.h" | ||
#if defined(HAVE_BTC_INTEGRATION) | ||
#include "boilerplate/apdu_parser.h" | ||
#include "boilerplate/constants.h" | ||
#include "boilerplate/dispatcher.h" | ||
#include "boilerplate/io.h" | ||
#include "boilerplate/sw.h" | ||
|
||
#include <os_io_seproxyhal.h> | ||
#include <os.h> | ||
#include <os_io_seproxyhal.h> | ||
|
||
#define APDU_INDEX_CLA 0 | ||
#define OFFSET_CLA 0 | ||
|
||
void btc_state_reset(); | ||
|
||
unsigned char handle_event(unsigned char channel); | ||
void handle_btc_apdu(volatile uint32_t *flags, volatile uint32_t *tx, uint32_t rx, const uint8_t *buffer, uint16_t bufferLen); | ||
void handle_btc_apdu(volatile uint32_t *flags, volatile uint32_t *tx, | ||
uint32_t rx, const uint8_t *buffer, uint16_t bufferLen); | ||
void initialize_app_globals(); | ||
|
||
#endif |
This file contains 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 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 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 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