-
Notifications
You must be signed in to change notification settings - Fork 47
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
build error #105
Comments
Looks like the generated code does not fit. It is a tight squeeze. Either that, or you've made changes/additions to the code? |
Hello, I am using SDCC version 3.8.0, I will try to use older version. I would like to implement 2 changes described in Issue 104 (#104) which will allow me to control STC over internet (ESP8266 using MQTT) by changing SP in Th mode and running profiles. @matsstaff - Can you please support me in implementation of described changes? |
I can confirm that using sdcc 3.3.0 for compilation works. |
Nice to hear you got the compilation working! |
It is not possible to build following firmware using building scripts in src folder:
e.g. ./build.sh com gives:
./build.sh com
Building stc1000p_com
sdcc -c -o build/page0_celsius_com.o page0.c --use-non-free -mpic14 -p16f1828 --opt-code-size --no-pcode-opt --stack-size 8 -DCOM
sdcc -c -o build/page1_celsius_com.o page1.c --use-non-free -mpic14 -p16f1828 --opt-code-size --no-pcode-opt --stack-size 8 -DCOM
sdcc -o build/stc1000p_celsius_com build/page0_celsius_com.o build/page1_celsius_com.o --use-non-free -mpic14 -p16f1828 --opt-code-size --no-pcode-opt --stack-size 8 -DCOM
message: Using default linker script "/usr/share/gputils/lkr/16f1828_g.lkr".
error: No target memory available for section ".code".
Makefile:13: recipe for target 'stc1000p_celsius_com' failed
make: *** [stc1000p_celsius_com] Error 1
rm build/page0_celsius_com.o build/page1_celsius_com.o
The text was updated successfully, but these errors were encountered: