Skip to content

Instantly share code, notes, and snippets.

View seyyah's full-sized avatar

seyyah seyyah

  • Researcher
  • Turkey
View GitHub Profile
@seyyah
seyyah / stm32_hal_uart_receive_it_example.c
Created January 4, 2019 14:21 — forked from monpetit/stm32_hal_uart_receive_it_example.c
STM32 HAL Driver Receive with Interrupt example
#include "stm32f1xx_hal.h"
UART_HandleTypeDef UartHandle; /* UART 핸들러 */
__IO ITStatus UartReady = RESET; /* UART 상태 지시자 */
#define RXBUFFERSIZE 10
uint8_t aRxBuffer[RXBUFFERSIZE]; /* UART 수신 버퍼 */
int main(void)
@seyyah
seyyah / lv_conf.h
Created December 20, 2018 08:44
DMA + LV_MEM_CUSTOM Problem
/**
* @file lv_conf.h
*
*/
#ifndef LV_CONF_H
#define LV_CONF_H
/*===================
Dynamic memory
*===================*/
@seyyah
seyyah / bug.log
Created December 17, 2018 12:31
STM32CubeMX 5.0 Bug
strace: [ Process PID=27942 runs in 32 bit mode. ]
strace: Process 27943 attached
strace: Process 27944 attached
strace: [ Process PID=27944 runs in 64 bit mode. ]
[pid 27944] stat("/home/seyyah", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
[pid 27944] stat(".", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
strace: Process 27945 attached
[pid 27945] stat("/usr/lib/jvm/java-8-oracle/bin/../lib/amd64/jli/tls/haswell/x86_64", 0x7ffc6a28e060) = -1 ENOENT (No such file or directory)
[pid 27945] stat("/usr/lib/jvm/java-8-oracle/bin/../lib/amd64/jli/tls/haswell", 0x7ffc6a28e060) = -1 ENOENT (No such file or directory)
[pid 27945] stat("/usr/lib/jvm/java-8-oracle/bin/../lib/amd64/jli/tls/x86_64", 0x7ffc6a28e060) = -1 ENOENT (No such file or directory)
[
{ "keys": ["ctrl+shift+r"], "command": "toggle_comment", "args": { "block": false } },
{ "keys": ["ctrl+shift+t"], "command": "toggle_comment", "args": { "block": true } },
{ "keys": ["ctrl+shift+8"], "command": "fold" },
{ "keys": ["ctrl+shift+9"], "command": "unfold" },
]
@seyyah
seyyah / i18n.md
Created November 22, 2018 10:05
LittlevGL i18n Suggesstion
@seyyah
seyyah / lvgl.html
Created November 21, 2018 18:04
LVGL Doc via gwtc
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Documentation </title>
<style>/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
@seyyah
seyyah / Home_tr_TR.md
Created November 1, 2018 13:08
LVGL i18n Turkish Pull Request

lvgl wiki sayfasına hoşgeldiniz!

Dokümantasyon, littlevgl.com'den buraya taşınacak.

Katkınız için teşekkürler!

@seyyah
seyyah / gist:68765065d8f47055bdf0786fa9b4ca4e
Created October 18, 2018 10:43 — forked from ryannealmes/gist:aa4eed8b222239c9e207
Update Git submodule to latest commit on origin
# get the submodule initially
git submodule add ssh://bla submodule_dir
git submodule init
# time passes, submodule upstream is updated
# and you now want to update
# change to the submodule directory
cd submodule_dir
@seyyah
seyyah / main.c
Last active July 31, 2018 16:26 — forked from postspectacular/main.c
Simple double buffer manager for STM32
static Screen *screen;
int main(void) {
HAL_Init();
SystemClock_Config();
screen = ct_screen_init();
while (1) {
ct_screen_flip_buffers(screen);
// put normal drawing code here...