Search found 10 matches

by pdelprat
Mon Jan 15, 2018 9:55 pm
Forum: General Discussion
Topic: Calling convention
Replies: 2
Views: 913

Re: Calling convention

Hello Angus, Thanks for your quick answer, Why this question ? The answer is related to MSIL. I'm working on a project to compile MSIL to extensa processor. I'm learning how gcc generate assembler, and the calling convention is based on store parameters on registers more than on the stack, which is ...
by pdelprat
Mon Jan 15, 2018 6:02 pm
Forum: General Discussion
Topic: Calling convention
Replies: 2
Views: 913

Calling convention

Hello,

Is it possible to change calling convention with xtensa-esp32-elf-gcc ?

Kind regards,
Pascal
by pdelprat
Mon Jan 08, 2018 6:16 pm
Forum: General Discussion
Topic: MSYS2 is slow on Windows 10
Replies: 30
Views: 8420

MSYS2 is slow on Windows 10

Hello, In my environnement, the compilation is extremely slow. It can be speed up a little if I desactivate Windows Defender. I installed ubuntu for windows 10 to compare and the result is better by a factor of 3 !!! But, on ubuntu, it's more difficult to configure, like COM1 is /dev/ttyS1 and I nee...
by pdelprat
Sat Jan 06, 2018 3:29 pm
Forum: Report Bugs
Topic: gpio_get_level
Replies: 1
Views: 1028

gpio_get_level

hello,

gpio_get_level(0) return always 0 in my case, even if the red part of rgb led in esp-WROVER-KIT v3 blink.

Code: Select all

unsigned long ret_led_level()
{
    const unsigned long *myReg = (unsigned long *)(0x3FF44004); 
    return *myReg;
}
And this function repport level correctly.

Thanks,
Pascal
by pdelprat
Sat Jan 06, 2018 1:25 pm
Forum: General Discussion
Topic: break.n utilization
Replies: 1
Views: 642

break.n utilization

Hello, Perhaps it's a misunderstanding, but the behavior of break.n is strange for me. Here is a extract of my little code : void tryBreak() { asm("break.n 8"); } void app_main() { tryBreak(); } Here is gdb output : Temporary breakpoint 1, app_main () at C:/msys32/home/pasca/esp/tempC/main/hello_wor...
by pdelprat
Thu Jan 04, 2018 10:05 am
Forum: Report Bugs
Topic: esptool info_image issue
Replies: 3
Views: 1449

Re: esptool info_image issue

Hello,

Many thanks for your reply,
Yes, your fix works perfectly,
I was also confuse by this document :
https://github.com/espressif/esptool/wi ... age-Format
Which is related to ESP8266 only,
Where is the format definition for a ESP32 image ?

Kind regards,
Pascal
by pdelprat
Wed Jan 03, 2018 3:01 pm
Forum: Report Bugs
Topic: esptool info_image issue
Replies: 3
Views: 1449

esptool info_image issue

Hello, Even if flashing works perfectly : python /home/pasca/esp/esp-idf/components/esptool_py/esptool/esptool.py --chip esp32 --port "COM7" --baud 115200 --before "default_reset" --after "hard_reset" write_flash -z --flash_mode "dio" --flash_freq "40m" --flash_size detect 0x1000 /home/pasca/esp/Tem...
by pdelprat
Tue Jan 02, 2018 2:23 pm
Forum: General Discussion
Topic: Assembler Sample
Replies: 3
Views: 1745

Re: Assembler Sample

Hello again,

it exists somewhere a small projet written entirely in assembler for ESP32 ? even, if it's only few lines, but a working projet with makefile, ld.conf, gdbinit ...

Currently I'm able to write assembler modules as freeRTOS module, but not without freeRTOS :cry:

Thanks,
Pascal
by pdelprat
Tue Dec 26, 2017 1:54 pm
Forum: General Discussion
Topic: Assembler Sample
Replies: 3
Views: 1745

Re: Assembler Sample

Yes, Here is my sample, hello_world_asm.S : .data hellostring0: .string "Hello world from ASM" .text .literal_position .literal hellostring1, hellostring0 .align 4 .global test_me .type test_me,@function test_me: entry a1,32 l32r a10, hellostring1 call8 puts retw.n Calling by this c program : #inclu...
by pdelprat
Tue Dec 19, 2017 6:10 pm
Forum: General Discussion
Topic: Assembler Sample
Replies: 3
Views: 1745

Assembler Sample

Hello,
I would like to see a sample assembler (.S file) file as a main fonction, and not asm inside C file,
Is it exist somewhere ?
I would like to generate asm file from another language and integrate it into esp-idf project,
Thanks in advance,
Pascal

Go to advanced search