Search found 10 matches
- Wed Apr 24, 2024 9:46 am
- Forum: ESP-IDF
- Topic: ESP IDF : periodic SPI write of small buffer
- Replies: 0
- Views: 352
ESP IDF : periodic SPI write of small buffer
Hello. In our device on ESP32, used output-port extender on shift register. A good method is periodic loading shift register throug SPI interface. Because on port extender connected also dynamic-leds indication, need to update shift register at period, no more 500 uS. This possible only from timer i...
- Fri Jun 03, 2022 3:17 am
- Forum: ESP-IDF
- Topic: ESP IDF printf
- Replies: 3
- Views: 5444
Re: ESP IDF printf
Thanks.
I temporary removed all my modules, excluding main.c from build in my project.
Printf have output in app_main(). Now i will add module by module to localize problem.
My modules are not change explicitly vfs , stdout, etc... but are used many SDK components.
I temporary removed all my modules, excluding main.c from build in my project.
Printf have output in app_main(). Now i will add module by module to localize problem.
My modules are not change explicitly vfs , stdout, etc... but are used many SDK components.
- Wed Jun 01, 2022 8:24 am
- Forum: ESP-IDF
- Topic: ESP IDF printf
- Replies: 3
- Views: 5444
ESP IDF printf
Hello. ESP IDF , Master (or 4.4) , ESP32 (ESP32-PICO-D4) . Periodicaly (i'm do not know cause) 'printf' is no output to defaut uart, if non-constant format, i.e : --- printf ("test\n"); // output: test printf ("number %d\n", 1); // no output char * line = "line\n"; printf (line); // no output --- bu...
- Fri May 13, 2022 12:04 pm
- Forum: ESP-IDF
- Topic: ESP32-C3 USB CDC
- Replies: 0
- Views: 1164
ESP32-C3 USB CDC
Hello. I'm use USB CDC in my project on ESP32-C3, as "serial device". Had to add new value of .tx_mode in vfs_serial_usb_jtag.c, which enable to transmit array wihtout line ending symbol. USB host on PC, Windows 7, libusbK driver (USB JTAG/serial debug interface). Virtual serial port may transmit on...
- Fri May 13, 2022 11:33 am
- Forum: ESP-IDF
- Topic: ESP-IDF gcc static constructor
- Replies: 3
- Views: 1915
Re: ESP-IDF gcc static constructor
Thanks.
This is strange behavior of linker.
We are need to use in this project some dozens sources from our repository.
Need to put "dummy" function with different names in each source.
This is strange behavior of linker.
We are need to use in this project some dozens sources from our repository.
Need to put "dummy" function with different names in each source.
- Tue May 10, 2022 7:16 am
- Forum: ESP-IDF
- Topic: ESP-IDF gcc static constructor
- Replies: 3
- Views: 1915
ESP-IDF gcc static constructor
Hello. ESP32 IDF gcc linker remove "static" symbols in module, even if have "constructor" attribute. (use "Master" branch). I.E. , i'm built sources in project : ------------ main.c ---------------------- #include <stdio.h> void f(void) { printf ("test\n"); } void app_main() {} //void main() { app_m...
- Wed Jan 26, 2022 7:06 am
- Forum: General Discussion
- Topic: Does ESP32-C3 has a USB-PHY and SDK support?
- Replies: 2
- Views: 2962
Re: Does ESP32-C3 has a USB-PHY and SDK support?
SP32C3 IDF SDK (Master branch) have support USB as character device, with access through
file "/dev/usbserjtag" . For my application i did some changes in SDK component to make possible
send strings without '\n' symbol.
file "/dev/usbserjtag" . For my application i did some changes in SDK component to make possible
send strings without '\n' symbol.
- Wed Jan 26, 2022 5:20 am
- Forum: General Discussion
- Topic: Stable period timer
- Replies: 0
- Views: 1877
Stable period timer
Hello. This question as addition to previous post. I'm use ESP IDF Master branch on ESP32C3. My application have led indicator with dynamic scan. Leds are on shift register, which connected to ESP32 SPI2. Leds control array size 4 bytes, update time on SPI about 15 us. Update period 1000 us. Update ...
- Wed Dec 08, 2021 2:51 am
- Forum: ESP-IDF
- Topic: Fatal error "Segment loaded at xxxxxxx lands in same 64KB..." again.
- Replies: 2
- Views: 3251
Re: Fatal error "Segment loaded at xxxxxxx lands in same 64KB..." again.
Ok, thanks. I will try.
- Tue Dec 07, 2021 4:27 am
- Forum: ESP-IDF
- Topic: Fatal error "Segment loaded at xxxxxxx lands in same 64KB..." again.
- Replies: 2
- Views: 3251
Fatal error "Segment loaded at xxxxxxx lands in same 64KB..." again.
Hello. My project on ESP32-C3, i'm use ESP-IDF Master branch. In my poject some function adresses stored in array of structures, which builded through macros: --- modules.h ------------- struct module { char const *name; int (*xcall)(int, int, int); void (*poll)(void); }; #define module_t struct mod...