Search found 10 matches
- Mon Jan 15, 2018 9:55 pm
- Forum: General Discussion
- Topic: Calling convention
- Replies: 2
- Views: 5894
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 ...
- Mon Jan 15, 2018 6:02 pm
- Forum: General Discussion
- Topic: Calling convention
- Replies: 2
- Views: 5894
Calling convention
Hello,
Is it possible to change calling convention with xtensa-esp32-elf-gcc ?
Kind regards,
Pascal
Is it possible to change calling convention with xtensa-esp32-elf-gcc ?
Kind regards,
Pascal
- Mon Jan 08, 2018 6:16 pm
- Forum: General Discussion
- Topic: MSYS2 is slow on Windows 10
- Replies: 30
- Views: 48592
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...
- Sat Jan 06, 2018 3:29 pm
- Forum: Report Bugs
- Topic: gpio_get_level
- Replies: 1
- Views: 4822
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.
And this function repport level correctly.
Thanks,
Pascal
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;
}
Thanks,
Pascal
- Sat Jan 06, 2018 1:25 pm
- Forum: General Discussion
- Topic: break.n utilization
- Replies: 1
- Views: 3803
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...
- Thu Jan 04, 2018 10:05 am
- Forum: Report Bugs
- Topic: esptool info_image issue
- Replies: 3
- Views: 8127
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
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
- Wed Jan 03, 2018 3:01 pm
- Forum: Report Bugs
- Topic: esptool info_image issue
- Replies: 3
- Views: 8127
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...
- Tue Jan 02, 2018 2:23 pm
- Forum: General Discussion
- Topic: Assembler Sample
- Replies: 3
- Views: 7424
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
Thanks,
Pascal
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
Thanks,
Pascal
- Tue Dec 26, 2017 1:54 pm
- Forum: General Discussion
- Topic: Assembler Sample
- Replies: 3
- Views: 7424
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...
- Tue Dec 19, 2017 6:10 pm
- Forum: General Discussion
- Topic: Assembler Sample
- Replies: 3
- Views: 7424
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
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