Comments (4)
Thanks for reporting the issue! It looks like the latest toolchain requires that there are no unused variables or parameters (which wasn't a requirement when I was writing with the older toolset.) I pushed a fix, so "git pull" should address the issues. Sorry about that.
from flipper-zero-tutorials.
We would need to pass two additional parameters... "-Wno-error=unused-variable -Wno-error=unused-parameter" to make those into warnings only. Unfortunately, I'm not able to figure out if there is some kind of environment variable, py file, or json file we are supposed to change to pass the additional parameters to our gcc when we run FBT.
On Windows in official firmware I was able to run the following two commands:
scripts/toolchain/fbtenv.cmd
(fbt) C:\repo\flipper\firmware\official-firmware>arm-none-eabi-gcc -o build\\f7-firmware-D\\.extapps\\Subghz_Demo\\subghz_demo_app.o -c -std=gnu17 -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -mthumb -Wall -Wextra -Werror -Wno-error=unused-variable -Wno-error=unused-parameter -Wno-address-of-packed-member -Wredundant-decls -Wdouble-promotion -fdata-sections -ffunction-sections -fsingle-precision-constant -fno-math-errno -g -Og -ggdb3 -mword-relocations -mlong-calls -fno-common -nostdlib -fvisibility=hidden -D_GNU_SOURCE -D\"M_MEMORY_FULL(x)=abort()\" -DSTM32WB -DSTM32WB55xx -DUSE_FULL_ASSERT -DUSE_FULL_LL_DRIVER -DHAVE_FREERTOS -DUSB_PMASIZE=0x400 -DLFS_CONFIG=lfs_config.h -DPB_ENABLE_MALLOC -DFURI_DEBUG -DNDEBUG -Ifuri -Iapplications\\services -Iapplications\\main -Ifirmware\\targets\\furi_hal_include -Ifirmware\\targets\\f7\\ble_glue -Ifirmware\\targets\\f7\\fatfs -Ifirmware\\targets\\f7\\furi_hal -Ifirmware\\targets\\f7\\inc -I. -Ilib -Ilib\\mlib -Ibuild\\f7-firmware-D\\assets\\compiled -Ilib\\STM32CubeWB\\Drivers\\CMSIS\\Device\\ST\\STM32WBxx\\Include -Ilib\\STM32CubeWB\\Drivers\\CMSIS\\Include -Ilib\\STM32CubeWB\\Drivers\\STM32WBxx_HAL_Driver\\Inc -Ilib\\STM32CubeWB\\Middlewares\\ST\\STM32_WPAN -Ilib\\drivers -Ilib\\FreeRTOS-Kernel\\include -Ilib\\FreeRTOS-Kernel\\portable\\GCC\\ARM_CM4F -Ilib\\FreeRTOS-glue -Ilib\\microtar\\src -Ilib\\toolbox -Ilib\\ST25RFAL002 -Ilib\\ST25RFAL002\\include -Ilib\\ST25RFAL002\\source\\st25r3916 -Ilib\\libusb_stm32\\inc -Ilib\\drivers -Ilib\\flipper_format -Ilib\\one_wire -Ilib\\infrared\\encoder_decoder -Ilib\\infrared\\worker -Ilib\\littlefs -Ilib\\mbedtls -Ilib\\mbedtls\\include -Ilib\\subghz -Ilib\\nfc -Ilib\\app-scened-template -Ilib\\callback-connector -Ilib\\digital_signal -Ilib\\fnv1a_hash -Ilib\\heatshrink -Ilib\\micro-ecc -Ilib\\nanopb -Ilib\\u8g2 -Ilib\\lfrfid -Ilib\\flipper_application -Ibuild\\f7-firmware-D\\.extapps\\Subghz_Demo applications\\plugins\\subghz_demo\\subghz_demo_app.c
from flipper-zero-tutorials.
I verified fix (using HackRF One get and give signals). I Confirmed code is able to send/receive the count, low tone and high tone.
Pulled latest code from this repo. Built and ran using official firmware from commit 5d4057f7.
from flipper-zero-tutorials.
That fixed it, thanks
from flipper-zero-tutorials.
Related Issues (20)
- Some X10 .sub files are missing the signal! HOT 1
- TextBox module documentation HOT 2
- Unable to compile rolling codes app HOT 1
- Rolling Flaws app crash
- Build error on Flipc.org HOT 1
- 6bcde7fd0824a02fc2575aee8f8c8c93c8326473
- Y
- Tv
- Hex
- Hex
- New
- Cannot install from the web HOT 3
- GPIO_BLINK: Discrepancy between README pinout and GPIO initialization mode HOT 1
- New Serial Api HOT 1
- Update the Rock Paper Scissors app for the SDK version 0.85 f7
- Update the Rock Paper Scissors app for the SDK version 0.100 f7
- Subject: Issue with Compiling Cookie Clicker and Skeleton App for the New Flipper Zero Firmware
- wiegand app cannot compile HOT 1
- Installation Issue HOT 1
- calling non-callable error running JavaScript
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flipper-zero-tutorials.