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

scons problem #42

Open
liker292 opened this issue Oct 6, 2021 · 1 comment
Open

scons problem #42

liker292 opened this issue Oct 6, 2021 · 1 comment

Comments

@liker292
Copy link

liker292 commented Oct 6, 2021

when i do follow :
set BOARD=stm32f107vc
set RELEASE=ascore
scons
then:
......
CC release\download\stm32f107vc\Middlewares\ST\STM32_USB_Device_Library\Core\Src\usbd_ioreq.c
CC release\download\stm32f107vc\Src\main.c
CC release\download\stm32f107vc\Src\stm32f1xx_hal_msp.c
CC release\download\stm32f107vc\Src\stm32f1xx_it.c
CC release\download\stm32f107vc\Src\usbd_cdc_if.c
CC release\download\stm32f107vc\Src\usbd_conf.c
CC release\download\stm32f107vc\Src\usbd_desc.c
CC release\download\stm32f107vc\Src\usb_device.c
CC release\ascore\app\app.c
CC release\ascore\app\diag_app.c
CC release\ascore\app\main.c
LINK build\nt\stm32f107vc\ascore\stm32f107vc.exe
D:\GitHub\as/release/download/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: build\nt\stm32f107vc\ascore\stm32f107vc.exe section .text' will not fit in region FLASH'
D:\GitHub\as/release/download/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: region `FLASH' overflowed by 32300 bytes
scons: *** [build\nt\stm32f107vc\ascore\stm32f107vc.exe] Error 1
scons: building terminated because of errors.

anybody can help me,please?

@liuweiliang2006
Copy link

Have you solved this problem? I have the same problem as you

LINK build\nt\stm32f107vc\ascore\stm32f107vc.exe
E:\DOIP\asenv/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: build\nt\stm32f107vc\ascore\stm32f107vc.exe section .text' will not fit in region FLASH'
E:\DOIP\asenv/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: build\nt\stm32f107vc\ascore\stm32f107vc.exe section .bss' will not fit in region RAM'
E:\DOIP\asenv/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: address 0x2002e630 of build\nt\stm32f107vc\ascore\stm32f107vc.exe section .init_stack' is not within region RAM'
E:\DOIP\asenv/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: address 0x2002e630 of build\nt\stm32f107vc\ascore\stm32f107vc.exe section .init_stack' is not within region RAM'
E:\DOIP\asenv/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: address 0x2002e630 of build\nt\stm32f107vc\ascore\stm32f107vc.exe section .init_stack' is not within region RAM'
E:\DOIP\asenv/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: region FLASH' overflowed by 97548 bytes E:\DOIP\asenv\/tools/gcc-arm-none-eabi-5_4-2016q3-20160926-win32/bin/arm-none-eabi-ld: region RAM' overflowed by 124464 bytes build\nt\stm32f107vc\ascore\packages\stm32f107vc\Src\usbd_cdc_if.o: In function CDC_Receive_FS': E:\DOIP\asenv\as/release\download\stm32f107vc\Src/usbd_cdc_if.c:370: undefined reference to rb_canin'
build\nt\stm32f107vc\ascore\packages\stm32f107vc\Src\usbd_cdc_if.o: In function CDC_MainFunction': E:\DOIP\asenv\as/release\download\stm32f107vc\Src/usbd_cdc_if.c:473: undefined reference to rb_canout'
build\nt\stm32f107vc\ascore\packages\stm32f107vc\Src\usbd_cdc_if.o: In function HAL_CAN_RxCpltCallback': E:\DOIP\asenv\as/release\download\stm32f107vc\Src/usbd_cdc_if.c:546: undefined reference to rb_canout'
scons: *** [build\nt\stm32f107vc\ascore\stm32f107vc.exe] Error 1
scons: building terminated because of errors.

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