Skip to content

Commit

Permalink
Latest Release RM0630-2130-0.102.4-54e7e3e on PATREON & GitHub - UPD …
Browse files Browse the repository at this point in the history
…MNTM APPS
  • Loading branch information
RogueMaster committed Jul 1, 2024
2 parents dfe307e + 918f245 commit 5535ae1
Show file tree
Hide file tree
Showing 211 changed files with 43,783 additions and 4,311 deletions.
120 changes: 66 additions & 54 deletions ReadMe.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion applications/external/2048/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ App(
fap_icon="game_2048.png",
fap_category="Games",
fap_author="eugene-kirzhanov",
fap_version=(1, 4),
fap_version="1.5",
fap_description="Play the port of the 2048 game on Flipper Zero.",
)
2 changes: 1 addition & 1 deletion applications/external/4inrow/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ App(
fap_category="Games",
fap_author="leo-need-more-coffee",
fap_weburl="https://github.com/leo-need-more-coffee/flipperzero-4inrow",
fap_version=(1, 1),
fap_version="1.2",
fap_description="4 in row Game",
)
2 changes: 1 addition & 1 deletion applications/external/airmouse/lib/bmi160-api/bmi160.c
Original file line number Diff line number Diff line change
Expand Up @@ -6425,4 +6425,4 @@ static int8_t trigger_foc(struct bmi160_offsets *offset, struct bmi160_dev const
}

return rslt;
}
}
14 changes: 10 additions & 4 deletions applications/external/airmouse/lib/lsm6ds3tr-api/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
![latest tag](https://img.shields.io/github/v/tag/STMicroelectronics/lsm6ds3tr-c-pid.svg?color=brightgreen)

# 1 - Introduction

Sensor driver for LSM6DS3TR-C sensor written in C programming language. This repository contains the sensor driver files (.h and .c) to be included, or linked directly as a git submodule, in your project. The driver is MISRA compliant and the documentation can be generated using the [Doxygen](http://www.doxygen.org/) tool.
Expand All @@ -16,8 +18,7 @@ Some examples of driver usage can be found [here](https://github.com/STMicroelec

# 2 - Integration details

The driver is platform-independent, you only need to define two functions for read and write transactions from the sensor hardware bus (ie. SPI or I²C). **A few devices integrate an extra bit in the communication protocol in order to enable multi read/write access, this bit must be managed in the read and write functions defined by the user.** Please refer to the read and write implementation in the [reference examples](https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm6ds3tr-c_STdC/examples).

The driver is platform-independent, you only need to define two functions for read and write transactions from the sensor hardware bus (ie. SPI or I²C) and an optional one to implement a delay of millisecond granularity. **A few devices integrate an extra bit in the communication protocol in order to enable multi read/write access, this bit must be managed in the read and write functions defined by the user.** Please refer to the read and write implementation in the [reference examples](https://github.com/STMicroelectronics/STMems_Standard_C_drivers/tree/master/lsm6ds3tr-c_STdC/examples).


### 2.a Source code integration
Expand All @@ -27,8 +28,11 @@ The driver is platform-independent, you only need to define two functions for r

```
/** Please note that is MANDATORY: return 0 -> no Error.**/
int32_t platform_write(void *handle, uint8_t Reg, const uint8_t *Bufp, uint16_t len)
int32_t platform_read(void *handle, uint8_t Reg, uint8_t *Bufp, uint16_t len)
int32_t platform_write(void *handle, uint8_t reg, const uint8_t *bufp, uint16_t len)
int32_t platform_read(void *handle, uint8_t reg, uint8_t *bufp, uint16_t len)
/** Optional (may be required by driver) **/
void platform_delay(uint32_t millisec)
```

- Declare and initialize the structure of the device interface:
Expand All @@ -37,6 +41,8 @@ int32_t platform_read(void *handle, uint8_t Reg, uint8_t *Bufp, uint16_t len)
xxxxxxx_ctx_t dev_ctx; /** xxxxxxx is the used part number **/
dev_ctx.write_reg = platform_write;
dev_ctx.read_reg = platform_read;
dev_ctx.mdelay = platform_delay;
```

- If needed by the platform read and write functions, initialize the handle parameter:
Expand Down
56 changes: 42 additions & 14 deletions applications/external/airmouse/lib/lsm6ds3tr-api/Release_Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,37 +8,49 @@
<style>
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
span.underline{text-decoration: underline;}
div.column{display: inline-block; vertical-align: top; width: 50%;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
ul.task-list{list-style: none;}
/* The extra [class] is a hack that increases specificity enough to
override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
font-size: inherit;
width: 0.8em;
margin: 0 0.8em 0.2em -1.6em;
vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}
</style>
<link rel="stylesheet" href="_htmresc/mini-st_2020.css" />
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
<![endif]-->
<link rel="icon" type="image/x-icon" href="_htmresc/favicon.png" />
</head>
<body>
<div class="row">
<div class="col-sm-12 col-lg-4">
<center>
<h1 id="release-notes-for-lsm6ds3tr-c-component-driver">Release Notes for LSM6DS3TR-C Component Driver</h1>
<h1 id="release-notes-for-lsm6ds3tr-c-component-driver">Release Notes
for LSM6DS3TR-C Component Driver</h1>
<p>Copyright © 2021 STMicroelectronics<br />
</p>
<a href="https://www.st.com" class="logo"><img src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
<a href="https://www.st.com" class="logo"><img
src="_htmresc/st_logo_2020.png" alt="ST logo" /></a>
</center>
<h1 id="license">License</h1>
<p>This software component is licensed by ST under BSD 3-Clause license, the “License”. You may not use this component except in compliance with the License. You may obtain a copy of the License at:</p>
<p><a href="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause license</a></p>
<p>This software component is licensed by ST under BSD 3-Clause license,
the “License”. You may not use this component except in compliance with
the License. You may obtain a copy of the License at:</p>
<p><a href="https://opensource.org/licenses/BSD-3-Clause">BSD 3-Clause
license</a></p>
<h1 id="purpose">Purpose</h1>
<p>This directory contains the LSM6DS3TR-C component drivers.</p>
</div>
<section id="update-history" class="col-sm-12 col-lg-8">
<h1>Update history</h1>
<div class="collapse">
<input type="checkbox" id="collapse-section1" aria-hidden="true"> <label for="collapse-section1" aria-hidden="true">V1.0.0 / 18-June-2021</label>
<input type="checkbox" id="collapse-section1" aria-hidden="true">
<label for="collapse-section1" aria-hidden="true">V1.0.0 /
18-June-2021</label>
<div>
<h2 id="main-changes">Main changes</h2>
<h3 id="first-release">First release</h3>
Expand All @@ -47,7 +59,9 @@ <h3 id="first-release">First release</h3>
</ul>
<h2 id="section"></h2>
</div>
<input type="checkbox" id="collapse-section2" aria-hidden="true"> <label for="collapse-section2" aria-hidden="true">V1.1.0 / 01-June-2023</label>
<input type="checkbox" id="collapse-section2" aria-hidden="true">
<label for="collapse-section2" aria-hidden="true">V1.1.0 /
01-June-2023</label>
<div>
<h2 id="main-changes-1">Main changes</h2>
<ul>
Expand All @@ -57,7 +71,9 @@ <h2 id="main-changes-1">Main changes</h2>
</ul>
<h2 id="section-1"></h2>
</div>
<input type="checkbox" id="collapse-section3" checked aria-hidden="true"> <label for="collapse-section3" aria-hidden="true">V2.0.0 / 20-Mar-2024</label>
<input type="checkbox" id="collapse-section3" aria-hidden="true">
<label for="collapse-section3" aria-hidden="true">V2.0.0 /
20-Mar-2024</label>
<div>
<h2 id="main-changes-2">Main changes</h2>
<ul>
Expand All @@ -66,13 +82,25 @@ <h2 id="main-changes-2">Main changes</h2>
</ul>
<h2 id="section-2"></h2>
</div>
<input type="checkbox" id="collapse-section4" checked aria-hidden="true">
<label for="collapse-section4" aria-hidden="true">V2.0.1 /
20-Jun-2024</label>
<div>
<h2 id="main-changes-3">Main changes</h2>
<ul>
<li>updated README.md file with tag reference and mdelay
description</li>
</ul>
<h2 id="section-3"></h2>
</div>
</div>
</section>
</div>
<footer class="sticky">
<div class="columns">
<div class="column" style="width:95%;">
<p>For complete documentation on LSM6DS3TR-C, visit: <a href="https://www.st.com/content/st_com/en/products/mems-and-sensors/inemo-inertial-modules/lsm6ds3tr-c.html">LSM6DS3TR-C</a></p>
<p>For complete documentation on LSM6DS3TR-C, visit: <a
href="https://www.st.com/content/st_com/en/products/mems-and-sensors/inemo-inertial-modules/lsm6ds3tr-c.html">LSM6DS3TR-C</a></p>
</div><div class="column" style="width:5%;">
<p><abbr title="Based on template cx566953 version 2.0">Info</abbr></p>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ This directory contains the LSM6DS3TR-C component drivers.

</div>

<input type="checkbox" id="collapse-section3" checked aria-hidden="true">
<input type="checkbox" id="collapse-section3" aria-hidden="true">
<label for="collapse-section3" aria-hidden="true">V2.0.0 / 20-Mar-2024</label>
<div>

Expand All @@ -69,6 +69,18 @@ This directory contains the LSM6DS3TR-C component drivers.

##

</div>

<input type="checkbox" id="collapse-section4" checked aria-hidden="true">
<label for="collapse-section4" aria-hidden="true">V2.0.1 / 20-Jun-2024</label>
<div>

## Main changes

- updated README.md file with tag reference and mdelay description

##

</div>
:::

Expand Down
1 change: 1 addition & 0 deletions applications/external/airmouse/lib/lsm6dso-api/.gitsubtree
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://github.com/STMicroelectronics/stm32-lsm6dso main /
3 changes: 2 additions & 1 deletion applications/external/arkanoid/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ App(
fap_icon="arkanoid_10px.png",
fap_category="Games",
fap_author="xMasterX & gotnull",
fap_version=(1, 1),
fap_version="1.2",
fap_description="Arkanoid Game",
# [(Score By DevMilanIan)](https://github.com/RogueMaster/flipperzero-firmware-wPlugins/pull/188)
)
3 changes: 2 additions & 1 deletion applications/external/asteroids/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ App(
fap_icon_assets_symbol="asteroids",
fap_author="antirez & SimplyMinimal",
fap_weburl="https://github.com/SimplyMinimal/FlipperZero-Asteroids",
fap_version=(1, 1),
fap_version="1.2",
fap_description="An implementation of the classic arcade game Asteroids",
# [(Modified By SimplyMinimal)](https://github.com/SimplyMinimal/FlipperZero-Asteroids)
)
2 changes: 1 addition & 1 deletion applications/external/barcode_gen/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ App(
fap_file_assets="barcode_encoding_files",
fap_author="Kingal1337",
fap_weburl="https://github.com/Kingal1337/flipper-barcode-generator",
fap_version="1.2",
fap_version="1.3",
fap_description="App allows you to display various barcodes on flipper screen",
)
35 changes: 22 additions & 13 deletions applications/external/barcode_gen/barcode_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
#include <assets_icons.h>
#include <notification/notification.h>
#include <notification/notification_messages.h>
#include <notification/notification_app.h>

/**
* Opens a file browser dialog and returns the filepath of the selected file
Expand All @@ -15,7 +14,14 @@
* @returns true if a file is selected
*/

NotificationApp* notifications = 0;
static NotificationApp* barcode_notifications;

const NotificationSequence sequence_display_backlight_barcode = {
&message_force_display_brightness_setting_1f,
&message_display_backlight_on,
&message_do_not_reset,
NULL,
};

static bool select_file(const char* folder, FuriString* file_path) {
DialogsApp* dialogs = furi_record_open(RECORD_DIALOGS);
Expand Down Expand Up @@ -148,6 +154,8 @@ void select_barcode_item(BarcodeApp* app) {
},
true);

notification_message(barcode_notifications, &sequence_display_backlight_barcode);

view_dispatcher_switch_to_view(app->view_dispatcher, BarcodeView);
}

Expand Down Expand Up @@ -303,11 +311,11 @@ void free_app(BarcodeApp* app) {
free(app);
}

void set_backlight_brightness(float brightness) {
NotificationApp* notifications = furi_record_open(RECORD_NOTIFICATION);
notifications->settings.display_brightness = brightness;
notification_message(notifications, &sequence_display_backlight_on);
}
/*void set_backlight_brightness(float brightness) {
NotificationApp* barcode_notifications = furi_record_open(RECORD_NOTIFICATION);
barcode_notifications->settings.display_brightness = brightness;
notification_message(barcode_notifications, &sequence_display_backlight_on);
}*/

int32_t barcode_main(void* p) {
UNUSED(p);
Expand All @@ -329,12 +337,12 @@ int32_t barcode_main(void* p) {

submenu_add_item(app->main_menu, "Edit Barcode", EditBarcodeItem, submenu_callback, app);

NotificationApp* notifications = furi_record_open(RECORD_NOTIFICATION);
barcode_notifications = furi_record_open(RECORD_NOTIFICATION);
// Save original brightness
float originalBrightness = notifications->settings.display_brightness;
//float originalBrightness = barcode_notifications->settings.display_brightness;
// force backlight and increase brightness
notification_message_block(notifications, &sequence_display_backlight_enforce_on);
set_backlight_brightness(10); // set to highest
//notification_message(barcode_notifications, &sequence_display_backlight_enforce_on);
//set_backlight_brightness(10); // set to highest

/*****************************
* Creating Text Input View
Expand Down Expand Up @@ -441,8 +449,9 @@ int32_t barcode_main(void* p) {
view_dispatcher_run(app->view_dispatcher);

free_app(app);
notification_message_block(notifications, &sequence_display_backlight_enforce_auto);
set_backlight_brightness(originalBrightness);
notification_message_block(barcode_notifications, &sequence_display_backlight_enforce_auto);
//set_backlight_brightness(originalBrightness);
furi_record_close(RECORD_NOTIFICATION);

return 0;
}
2 changes: 1 addition & 1 deletion applications/external/bomberduck/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ App(
fap_icon_assets="assets",
fap_icon_assets_symbol="bomberduck",
fap_author="leo-need-more-coffee & xMasterX",
fap_version=(1, 1),
fap_version="1.2",
fap_description="Bomberduck(Bomberman) Game",
)
2 changes: 1 addition & 1 deletion applications/external/bpmtapper/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ App(
fap_category="Media",
fap_author="panki27",
fap_weburl="https://github.com/panki27/bpm-tapper",
fap_version=(1, 1),
fap_version="1.2",
fap_description="Tap center button to measure BPM",
)
6 changes: 3 additions & 3 deletions applications/external/bpmtapper/bpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@ static void show_hello() {
// END HELLO DIALOG
}

static void input_callback(InputEvent* input_event, void* context) {
furi_assert(context);
FuriMessageQueue* event_queue = context;
static void input_callback(InputEvent* input_event, void* ctx) {
furi_assert(ctx);
FuriMessageQueue* event_queue = ctx;

PluginEvent event = {.type = EventTypeKey, .input = *input_event};
furi_message_queue_put(event_queue, &event, FuriWaitForever);
Expand Down
2 changes: 1 addition & 1 deletion applications/external/bt_trigger/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ App(
fap_icon_assets_symbol="bt_trigger",
fap_author="Nem0oo",
fap_weburl="https://github.com/Nem0oo/flipper-zero-bluetooth-trigger",
fap_version="1.3",
fap_version="1.4",
fap_description="Control your smartphone camera via your Flipper Zero",
)
3 changes: 2 additions & 1 deletion applications/external/bt_trigger/bt_trigger.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,10 @@ static void input_callback(InputEvent* input_event, void* ctx) {

//Timer callback
static void timer_callback(void* ctx) {
//check eventqueue is not null
furi_assert(ctx);
//Getting our event queue
FuriMessageQueue* event_queue = ctx;
//check eventqueue is not null
//creating event and adding it to the event list
IosTriggerEvent event = {.type = EventTypeTick};
furi_message_queue_put(event_queue, &event, 0);
Expand Down
2 changes: 1 addition & 1 deletion applications/external/caesarcipher/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ App(
fap_category="Tools",
fap_author="panki27",
fap_weburl="https://github.com/panki27/caesar-cipher",
fap_version=(1, 1),
fap_version="1.2",
fap_description="Encrypt and decrypt text using Caesar Cipher",
)
2 changes: 1 addition & 1 deletion applications/external/calculator/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ App(
fap_category="Tools",
fap_author="n-o-T-I-n-s-a-n-e",
fap_weburl="https://github.com/n-o-T-I-n-s-a-n-e",
fap_version=(1, 1),
fap_version="1.2",
fap_description="Calculator, that can calculate simple expressions",
)
Binary file modified applications/external/calculator/calcIcon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion applications/external/counter/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ App(
fap_icon_assets="icons",
fap_author="Krulknul",
fap_weburl="https://github.com/Krulknul/dolphin-counter",
fap_version=(1, 4),
fap_version="1.4",
fap_description="Simple counter",
# [Improved (By plasticuproject)](https://github.com/plasticuproject/dolphin-better-counter)
# [Improve counter with extending range and adding vibro feedback #2 (By vzhestkov)](https://github.com/Krulknul/dolphin-counter/pull/2)
Expand Down
3 changes: 2 additions & 1 deletion applications/external/doom/application.fam
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ App(
fap_category="Games",
fap_icon_assets="assets",
fap_author="xMasterX & Svarich & hedger (original code by p4nic4ttack)",
fap_version="1.3",
fap_version="1.4",
fap_description="Will it run Doom?",
# (ported and fixed by xMasterX & Svarich & hedger)
)
2 changes: 1 addition & 1 deletion applications/external/doom/sound.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ typedef struct {
typedef struct {
MusicPlayerModel* model;
MusicPlayerWorker* worker;
FuriMutex** model_mutex;
FuriMutex* model_mutex;
} MusicPlayer;

#endif
Loading

0 comments on commit 5535ae1

Please sign in to comment.