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
.text:000003CA loc_3CA | |
.text:000003CA LDRH R6, [R2,#0xE] | |
.text:000003CC LDRH R5, [R2,#4] | |
.text:000003CE LDRH.W LR, [R2,#0x10] | |
.text:000003D2 LDRH R1, [R2] | |
.text:000003D4 LDRH.W R10, [R2,#-2] | |
.text:000003D8 LDRH R0, [R2,#6] | |
.text:000003DA LDRH.W R9, [R2,#-4] | |
.text:000003DE LDRH.W R8, [R2,#2] | |
.text:000003E2 LDRH.W R12, [R2,#8] |
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
tokenline.c | 48 ++++++++++++++++++++++++++---------------------- | |
tokenline.h | 6 ++---- | |
2 files changed, 28 insertions(+), 26 deletions(-) | |
diff --git a/tokenline.c b/tokenline.c | |
index 24049eb..c9db559 100644 | |
--- a/tokenline.c | |
+++ b/tokenline.c | |
@@ -289,8 +289,6 @@ static char *arg_type_to_string(int arg_type) | |
return "<integer>"; |
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
// Converts a floating point number to string. | |
void ftoa(float n, char *res, int afterpoint) | |
{ | |
// Extract integer part | |
int ipart = (int)n; | |
// Extract floating part | |
float fpart = n - (float)ipart; | |
// convert integer part to string |
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
drv/stm32cube/bsp_gpio.c | 12 ++++++------ | |
drv/stm32cube/bsp_gpio.h | 15 +++++++-------- | |
hydrabus/gpio.c | 30 +++++++++++++++++++----------- | |
hydrafwEm.ebp | 14 +++++++------- | |
4 files changed, 39 insertions(+), 32 deletions(-) | |
diff --git a/drv/stm32cube/bsp_gpio.c b/drv/stm32cube/bsp_gpio.c | |
index fce7541..f656f0d 100644 | |
--- a/drv/stm32cube/bsp_gpio.c | |
+++ b/drv/stm32cube/bsp_gpio.c |
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
> adc | |
This command requires parameter(s): | |
adc <adc_type> [samples <nb_samples>] [period <nb_period>] [continuous] | |
Read analog values | |
adc1 <adc_type> ADC1 | |
tempsensor <adc_type> Temperature sensor | |
vrefint <adc_type> Internal reference voltage | |
vbat <adc_type> VBAT voltage | |
samples <nb_samples> Number of samples | |
period <nb_period> Delay between samples (msec) |
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
> mode spi | |
spi1> [ 10 ] | |
/CS ENABLED | |
WRITE: 0x0A | |
spi1> | |
=> shall be | |
> mode spi | |
spi1> [ 10 ] | |
/CS ENABLED |
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
D:\_proj\airspy\airspy_host\libairspy\Win32\Release>airspy_info | |
Found AirSpy board 1 | |
Board ID Number: 0 (AIRSPY) | |
Firmware Version: AirSpy NOS v1.0.0-beta-2-g605528c 605528c 2014-11-17 | |
Part ID Number: 0x6906002B 0x000000B0 | |
Serial Number: 0x16C463C8290C4EC7 | |
Close board 1 | |
Found AirSpy board 2 |
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
C:\WINDOWS\system32>D:\_proj\airspy\airspy_host\libairspy\Win32\Release\airspy_info.exe | |
Found AirSpy board 1 | |
Board ID Number: 0 (AIRSPY) | |
Firmware Version: AirSpy NOS v1.0.0-beta-2-g605528c 605528c 2014-11-17 | |
Part ID Number: 0x6906002B 0x000000B0 | |
Serial Number: 0x16C463C8290C4EC7 | |
Close board 1 | |
Found AirSpy board 2 |
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 is an STM32F4 discovery board with a single STM32F407VGT6 chip. | |
# http://www.st.com/internet/evalboard/product/252419.jsp | |
source [find interface/stlink-v2.cfg] | |
source [find target/stm32f4x_stlink.cfg] | |
# use hardware reset, connect under reset | |
reset_config srst_only srst_nogate |
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
/* | |
* Rafael Micro R820T driver for AIRSPY | |
* | |
* Copyright (C) 2013 Youssef Touil <youssef@airspy.com> | |
* Copyright (C) 2013 Steve Markgraf <steve@steve-m.de> | |
* Copyright (C) 2013 Mauro Carvalho Chehab <mchehab@redhat.com> | |
* Copyright (C) 2014 Benjamin Vernoux <bvernoux@airspy.com> | |
* | |
* This driver is a heavily lifted version of the driver found in the rtlsdr repository: | |
* http://cgit.osmocom.org/rtl-sdr/tree/src/tuner_r82xx.c |