You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i type 'make' and enter, following error appears
Dark Builder - Unified Build Environment
Version (1.0.0 - Armstrong)
[CC] [RaspberryPi BSP] port.o
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c: In function 'vTickISR':
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c:221:29: warning: unused parameter 'nIRQ' [-Wunused-parameter]
void vTickISR (unsigned int nIRQ, void *pParam)
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c:221:41: warning: unused parameter 'pParam' [-Wunused-parameter]
void vTickISR (unsigned int nIRQ, void *pParam)
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c: In function 'prvSetupTimerInterrupt':
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/portable/GCC/RaspberryPi/port.c:237:16: warning: variable 'ulCompareMatch' set but not used [-Wunused-but-set-variable]
unsigned long ulCompareMatch;
^
[CC] [RaspberryPi BSP] portisr.o
[CC] [RaspberryPi BSP] croutine.o
[CC] [RaspberryPi BSP] list.o
[CC] [RaspberryPi BSP] queue.o
[CC] [RaspberryPi BSP] tasks.o
[CC] [RaspberryPi BSP] irq.o
[CC] [RaspberryPi BSP] gpio.o
[CC] [RaspberryPi BSP] heap_4.o
[AS] [RaspberryPi BSP] startup.o
[CC] [RaspberryPi BSP] main.o
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: In function 'task1':
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:74:18: warning: unused parameter 'pParam' [-Wunused-parameter]
void task1(void *pParam) {
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: In function 'task2':
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:84:18: warning: unused parameter 'pParam' [-Wunused-parameter]
void task2(void *pParam) {
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: At top level:
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:102:6: warning: return type of 'main' is not 'int' [-Wmain]
void main (void)
^
In file included from /home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:69:0:
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c: In function 'main':
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:284:134: warning: pointer targets in passing argument 2 of 'xTaskGenericCreate' differ in signedness [-Wpointer-sign]
#define xTaskCreate( pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask ) xTaskGenericCreate( ( pvTaskCode ), ( pcName ), ( usStackDepth ), ( pvParameters ), ( uxPriority ), ( pxCreatedTask ), ( NULL ), ( NULL ) )
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:106:2: note: in expansion of macro 'xTaskCreate'
xTaskCreate(task1, "LED_0", 128, NULL, 0, NULL);
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:1282:22: note: expected 'const signed char * const' but argument is of type 'char *'
signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pxTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions ) PRIVILEGED_FUNCTION;
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:284:134: warning: pointer targets in passing argument 2 of 'xTaskGenericCreate' differ in signedness [-Wpointer-sign]
#define xTaskCreate( pvTaskCode, pcName, usStackDepth, pvParameters, uxPriority, pxCreatedTask ) xTaskGenericCreate( ( pvTaskCode ), ( pcName ), ( usStackDepth ), ( pvParameters ), ( uxPriority ), ( pxCreatedTask ), ( NULL ), ( NULL ) )
^
/home/ajay/RaspberryPi-FreeRTOS/Demo/main.c:107:2: note: in expansion of macro 'xTaskCreate'
xTaskCreate(task2, "LED_1", 128, NULL, 0, NULL);
^
/home/ajay/RaspberryPi-FreeRTOS/FreeRTOS/Source/include/task.h:1282:22: note: expected 'const signed char * const' but argument is of type 'char *'
signed portBASE_TYPE xTaskGenericCreate( pdTASK_CODE pxTaskCode, const signed char * const pcName, unsigned short usStackDepth, void *pvParameters, unsigned portBASE_TYPE uxPriority, xTaskHandle *pxCreatedTask, portSTACK_TYPE *puxStackBuffer, const xMemoryRegion * const xRegions ) PRIVILEGED_FUNCTION;
^
arm-none-eabi-ld: cannot find -lc
Makefile:35: recipe for target 'kernel.elf' failed
make: *** [kernel.elf] Error 1
As you suggested, all the python files in .dbuild/pretty are executable and i modified the path of "LDFLAGS" valiable accordingly. Please help me resolve this error
The text was updated successfully, but these errors were encountered:
Wow, this is an old project. I spent a bit of time trying to get it to build, using a cross compiler I got from ARM's site: https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads
The file was arm-gnu-toolchain-13.2.rel1-x86_64-arm-none-eabi.tar.xz and I modified dbuild.config.mk's:
I do "make Q=" in order to NOT hide the commands being executed. It ends up producing kernel.elf, kernel.img and kernel.syms. Not sure what to do with them.
Please download the kernel.img to a SD card and insert it into a socket on RaspberryPi Model 1B. RaspberryPi will boot from the SD card. Please visit https://github.com/dwelch67/raspberrypi for details.
when i type 'make' and enter, following error appears
As you suggested, all the python files in .dbuild/pretty are executable and i modified the path of "LDFLAGS" valiable accordingly. Please help me resolve this error
The text was updated successfully, but these errors were encountered: