Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When compiling the fork esp_8_bit / CornN64 with the EMU_SMS emulator set, he gets an error: #34

Closed
smutek110 opened this issue Apr 20, 2021 · 7 comments

Comments

@smutek110
Copy link

c: /users/jessica/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin /../ lib / gcc / xtensa- esp32-elf / 5.2.0 /../../../../ xtensa-esp32-elf / bin / ld.exe: C: \ Users \ Jessica \ AppData \ Local \ Temp \ arduino-sketch-C8DA85705841A54D78442418212C2586 /esp_8_bit.ino.elf section .dram0.bss 'will not fit in region dram0_0_seg'
c: /users/jessica/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin /../ lib / gcc / xtensa- esp32-elf / 5.2.0 /../../../../ xtensa-esp32-elf / bin / ld.exe: DRAM segment data does not fit.
c: /users/jessica/appdata/local/arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin /../ lib / gcc / xtensa- esp32-elf / 5.2.0 /../../../../ xtensa-esp32-elf / bin / ld.exe: region `dram0_0_seg 'overflowed by 512 bytes
collect2.exe: error: ld returned 1 exit status
Compilation error: Error: 2 UNKNOWN: exit status 1

@CornN64
Copy link

CornN64 commented Apr 21, 2021

I am not sure whats up but it looks like it can not fit the code in DRAM. I do not get this problem and I am using Arduino 1.8.13 version to compile and upload the binary.
Would be interesting to know if anyone else has this issue...

@smutek110
Copy link
Author

I am using Arduino 1.8.14 also tried the version 2.0.0beta i use esp32 wroom. The compile error is only for emu_sms. Will try with other esp32 boards. I will also replace flash with winbound 25q128fvsg and I will write if it changes anything

@smutek110
Copy link
Author

smutek110 commented Apr 22, 2021

It will also try to install arduino and libraries on a clean system

@smutek110
Copy link
Author

It works fine on a clean system, apparently it's a matter of libraries and interdependent files. Sorry for the confusion and thank you for your time. I'm just gaining the knowledge I need, and I'm a self-taught person

@CornN64
Copy link

CornN64 commented Apr 22, 2021

I am happy you got it sorted out

Cheers

@smutek110
Copy link
Author

Thank You

@CornN64
Copy link

CornN64 commented May 27, 2021

So just to finish this...
As far as I can tell there seems to be an issue with board manger esp32 library newer than 1.0.4 (namely 1.0.5 and 1.0.6)
As soon as I upgrade to these newer versions and try to compile SMS (the other emulators seems fine) I get the error

esp_8_bit.ino.elf section .dram0.bss 'will not fit in region dram0_0_seg'
ld.exe: DRAM segment data does not fit.
ld.exe: region `dram0_0_seg 'overflowed by 512 bytes

Maybe someone can enlighten us to why this happens...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants