Coder Social home page Coder Social logo

espboy's Introduction

Hi ๐Ÿ‘‹, I'm Calebe94

A passionate embedded systems developer from Brazil

calebe94

  • ๐Ÿ”ญ Iโ€™m currently working on TinyToolSH

  • ๐ŸŒฑ Iโ€™m currently learning Flutter and Django

  • ๐Ÿ‘ฏ Iโ€™m looking to collaborate on TinyToolSH

  • ๐Ÿค Iโ€™m looking for help with TinyToolSH

  • ๐Ÿ‘จโ€๐Ÿ’ป All of my projects are available at github.com/calebe94

  • ๐Ÿ“ I regularly write articles on blog.calebe.dev.br/

  • ๐Ÿ’ฌ Ask me about C/C++, Python, GNU/Linux and git

  • ๐Ÿ“ซ How to reach me [email protected]

  • โšก Fun fact Coffee โค๏ธ

Connect with me:

calebe94 @calebe94 #5525

Languages and Tools:

android arduino bash c cplusplus csharp css3 django docker electron express flask flutter git gtk html5 java javascript jekyll linux mariadb mongodb mysql nginx nodejs python sqlite tensorflow vagrant vuejs

espboy's People

Contributors

calebe94 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

espboy's Issues

Crash on gui

Hai, i tried implement your lvgl ui part on my code hence i highly modified it on my repo (https://github.com/pebri86/esp32-micrones), but sometimes esp crash when i access nvs flash ( it say about accessing disable cache on idf). so i move lv_tick_inc in task, after modified i still experience crash but it less often than before if lv_tick_inc using hooks. do you have any issue with this?

thanks

Reboots every time OTA and Launcher runs together.

I (331) cpu_start: Pro cpu up.
I (331) cpu_start: Application information:
I (331) cpu_start: Project name: ESPBoy
I (333) cpu_start: App version: 3b20a6b-dirty
I (339) cpu_start: Compile time: 20:51:15
I (344) cpu_start: Compile date: Jan 10 2019
I (349) cpu_start: ESP-IDF: v3.3-beta1-44-gda2116f55
I (355) cpu_start: Single core mode
I (360) heap_init: Initializing. RAM available for dynamic allocation:
I (367) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (373) heap_init: At 3FFC4C08 len 0001B3F8 (108 KiB): DRAM
I (379) heap_init: At 3FFE0440 len 0001FBC0 (126 KiB): D/IRAM
I (385) heap_init: At 40078000 len 00008000 (32 KiB): IRAM
I (392) heap_init: At 400919B0 len 0000E650 (57 KiB): IRAM
I (398) cpu_start: Pro cpu start user code
I (192) cpu_start: Starting scheduler on PRO CPU.
E (211) gpio: gpio_set_direction(216): GPIO number error
E (211) gpio: gpio_set_level(158): GPIO output gpio_num error
E (312) gpio: gpio_set_level(158): GPIO output gpio_num error
ILI9341 initialization.
Enable backlight.

Voltage Readings: 4.57 3.71 3.68 3.68 3.67 3.64 3.61 3.61 3.57 3.52 I (618) wifi: wifi driver task: 3ffcb824, prio:23, stack:3584, core=0
I (620) wifi: wifi firmware version: 328353e
I (623) wifi: config NVS flash: enabled
I (627) wifi: config nano formating: disabled
I (631) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (641) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (656) wifi: Init dynamic tx buffer num: 32
I (657) wifi: Init data frame dynamic rx buffer num: 32
I (659) wifi: Init management frame dynamic rx buffer num: 32
I (665) wifi: Init static rx buffer size: 1600
I (669) wifi: Init static rx buffer num: 10
I (673) wifi: Init dynamic rx buffer num: 32
I (798) phy: phy_version: 4000, b6198fa, Sep 3 2018, 15:11:06, 0, 0
I (800) wifi: mode : sta (30:ae:a4:89:78:e8)
I (924) wifi: new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (1581) wifi: state: init -> auth (b0)
I (1586) wifi: state: auth -> assoc (0)
I (1592) wifi: state: assoc -> run (10)
I (1718) wifi: connected with homewifi_712, channel 11, bssid = 4c:d0:8a:be:d7:18
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
Core 0 register dump:
PC : 0x400e67fc PS : 0x00060034 A0 : 0x8008fdcd A1 : 0x3ffb0610
0x400e67fc: lv_tick_task at /Users/calebe94/Projects/ESP32/ESPBoy/software/components/Kernel/daemon/ui_manager.c:54

A2 : 0x00000001 A3 : 0x00000000 A4 : 0x000002a0 A5 : 0x3ffcbcdc
A6 : 0x000000aa A7 : 0x3ffcb2e0 A8 : 0x80081dfc A9 : 0x3ffb2e70
A10 : 0x0000b9c0 A11 : 0x3ffb495c A12 : 0x000002a0 A13 : 0x00000140
A14 : 0x0000002a A15 : 0x3ffcb2b0 SAR : 0x00000012 EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0x00000000
Core 0 was running in ISR context:
EPC1 : 0x40062230 EPC2 : 0x00000000 EPC3 : 0x00000000 EPC4 : 0x400e67fc
0x400e67fc: lv_tick_task at /Users/calebe94/Projects/ESP32/ESPBoy/software/components/Kernel/daemon/ui_manager.c:54

Backtrace: 0x400e67fc:0x3ffb0610 0x4008fdca:0x3ffb0630 0x4008e7d3:0x3ffb0650 0x40090aa9:0x3ffb0670 0x4008217a:0x3ffb0680 0x4006222d:0x00000000
0x400e67fc: lv_tick_task at /Users/calebe94/Projects/ESP32/ESPBoy/software/components/Kernel/daemon/ui_manager.c:54

0x4008fdca: xTaskIncrementTick at /Users/calebe94/esp/esp-idf/components/freertos/tasks.c:3537

0x4008e7d3: xPortSysTickHandler at /Users/calebe94/esp/esp-idf/components/freertos/port.c:403

0x40090aa9: _frxt_timer_int at /Users/calebe94/esp/esp-idf/components/freertos/portasm.S:303

0x4008217a: _xt_lowint1 at /Users/calebe94/esp/esp-idf/components/freertos/xtensa_vectors.S:1105

OTA Error

Every time I add OTA Capability the esp monitor shows that error.

E (397) esp_image: Image length 1146800 doesn't fit in partition length 1048576
E (397) boot: Factory app partition is not bootable
E (399) esp_image: image at 0x110000 has invalid magic byte
W (405) esp_image: image at 0x110000 has invalid SPI mode 98
W (412) esp_image: image at 0x110000 has invalid SPI size 15
E (418) boot: OTA app partition slot 0 is not bootable
E (424) esp_image: image at 0x210000 has invalid magic byte
W (430) esp_image: image at 0x210000 has invalid SPI mode 255
W (437) esp_image: image at 0x210000 has invalid SPI size 15
E (443) boot: OTA app partition slot 1 is not bootable
E (449) boot: No bootable app partitions in the partition table

Can't add WiFi

Every time I call the wifi_init() from wifi module I get this from output:

$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_api.o):(.text.wifi_init_in_caller_task+0x14): undefined reference to `misc_nvs_init'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_api.o): In function `wifi_init_in_caller_task':
(.text.wifi_init_in_caller_task+0x54): undefined reference to `misc_nvs_init'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_output.o):(.text.ieee80211_send_mgmt+0x18): undefined reference to `g_misc_nvs'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_hostap.o):(.text.hostap_input+0x0): undefined reference to `g_log_mod'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_deinit_process+0x0): undefined reference to `misc_nvs_deinit'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_deinit_process+0x16): undefined reference to `misc_nvs_deinit'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_restore_process+0x0): undefined reference to `misc_nvs_restore'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211_ioctl.o):(.text.wifi_restore_process+0x7): undefined reference to `misc_nvs_restore'
$HOME/esp/esp-idf/components/esp32/lib/libnet80211.a(ieee80211.o):(.text.wifi_mode_set+0x0): undefined reference to `g_log_level'
collect2: error: ld returned 1 exit status
make: *** [$HOME/Projects/ESP32/ESPBoy/software/build/ESPBoy.elf] Error 1

Probably some Makefile configuration is missing.

Make Error

Following the README

git clone https://github.com/Calebe94/ESPBoy
cd ESPBoy/software
git submodule update --init .
cp ../utils/makefiles/lvgl_component.mk components/Libs/lvgl/component.mk
make all
make flash

Error

# you will currently be in ESPBoy/software directory
make all

Results in Make Error

make: *** No rule to make target `/make/project.mk'.  Stop.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.