• Sat 2021.09.25 - 12:41pm CST

    Finally progress! Make is trying to do something.

    Thank you @fanoush as I now see the .o files being built within the terminal window.



    Even with a preceeding:

    make clean && make
    

    not out of the woods yet,

    and knowing I just recently cloned Espruino, still won't build without error;

    libs/filesystem/fat_sd/spi_diskio.c:556:­23: warning: conversion to 'DWORD' {aka 'long unsigned int'} from 'int' may change the sign of the result [-Wsign-conversion]
           *(DWORD*)buff = ((WORD)((csd[10] & 124) >> 2) + 1) * (((csd[11] & 3) << 3) + ((csd[11] & 224) >> 5) + 1);
                           ^
    CC targets/stm32/jshardware.o
    libs/tv/tv.c:80:30: error: unknown type name 'TIM_TypeDef'
     unsigned int jshGetTimerFreq(TIM_TypeDef *TIMx);
                                  ^~~~~~~~~~~
    libs/tv/tv.c: In function 'TIM4_IRQHandler':
    libs/tv/tv.c:91:3: error: implicit declaration of function 'TIM_ClearITPendingBit' [-Werror=implicit-function-declaration]
       TIM_ClearITPendingBit(TVTIMER, TIM_IT_Update);
       ^~~~~~~~~~~~~~~~~~~~~
    libs/tv/tv.c:64:31: error: 'TIM4' undeclared (first use in this function)
     [#define](https://forum.espruino.com/sea­rch/?q=%23define) TVTIMER               TIM4
                                   ^~~~
    libs/tv/tv.c:108:27: error: 'SPI_I2S_IT_RXNE' undeclared (first use in this function)
       SPI_I2S_ITConfig(TVSPI, SPI_I2S_IT_RXNE, DISABLE);
                               ^~~~~~~~~~~~~~~
    libs/tv/tv.c:108:44: error: 'DISABLE' undeclared (first use in this function)
       SPI_I2S_ITConfig(TVSPI, SPI_I2S_IT_RXNE, DISABLE);
                                                ^~~~~~~
    libs/tv/tv.c:111:3: error: implicit declaration of function 'RCC_AHB1PeriphClockCmd'; did you mean 'RCC_AHB1Periph_TVDMA'? [-Werror=implicit-function-declaration]
       RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_TV­DMA, ENABLE);
       ^~~~~~~~~~~~~~~~~~~~~~
       RCC_AHB1Periph_TVDMA
    libs/tv/tv.c:62:32: error: 'RCC_AHB1Periph_DMA2' undeclared (first use in this function); did you mean 'RCC_AHB1Periph_TVDMA'?
     [#define](https://forum.espruino.com/sea­rch/?q=%23define) RCC_AHB1Periph_TVDMA   RCC_AHB1Periph_DMA2
                                    ^~~~~~~~~~~~~~~~~~~
    libs/tv/tv.c:111:26: note: in expansion of macro 'RCC_AHB1Periph_TVDMA'
       RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_TV­DMA, ENABLE);
                              ^~~~~~~~~~~~~~~~~~~~
    libs/tv/tv.c:111:48: error: 'ENABLE' undeclared (first use in this function)
       RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_TV­DMA, ENABLE);
                                                    ^~~~~~
    libs/tv/tv.c:117:3: error: unknown type name 'DMA_InitTypeDef'
       DMA_InitTypeDef DMA_InitStructure;
       ^~~~~~~~~~~~~~~
    libs/tv/tv.c:118:3: error: implicit declaration of function 'DMA_StructInit'; did you mean 'graphicsStructInit'? [-Werror=implicit-function-declaration]
       DMA_StructInit(&DMA_InitStructure);
       ^~~~~~~~~~~~~~
       graphicsStructInit
    libs/tv/tv.c:119:20: error: request for member 'DMA_PeripheralBaseAddr' in something not a structure or union
       DMA_InitStructure.DMA_PeripheralBaseAddr­ = (uint32_t)(&(TVSPI->DR));
                        ^
    libs/tv/tv.c:120:20: error: request for member 'DMA_PeripheralDataSize' in something not a structure or union
       DMA_InitStructure.DMA_PeripheralDataSize­ = DMA_PeripheralDataSize_Byte; // DMA_PeripheralDataSize_HalfWord and 16 bit?
                        ^
    libs/tv/tv.c:120:46: error: 'DMA_PeripheralDataSize_Byte' undeclared (first use in this function)   DMA_InitStructure.DMA_PeripheralDataSize­ = DMA_PeripheralDataSize_Byte; // DMA_PeripheralDataSize_HalfWord and 16 bit?
                                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
    libs/tv/tv.c:121:20: error: request for member 'DMA_PeripheralInc' in something not a structure or union
       DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable;
                        ^
    CC targets/stm32/stm32_it.o
    libs/tv/tv.c:121:41: error: 'DMA_PeripheralInc_Disable' undeclared (first use in this function)  
       DMA_InitStructure.DMA_PeripheralInc = DMA_PeripheralInc_Disable;
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~
    libs/tv/tv.c:122:20: error: request for member 'DMA_MemoryDataSize' in something not a structure 
    or union
       DMA_InitStructure.DMA_MemoryDataSize = DMA_PeripheralDataSize_Byte;
                        ^
    libs/tv/tv.c:123:20: error: request for member 'DMA_MemoryInc' in something not a structure or union
       DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable;
                        ^
    libs/tv/tv.c:123:37: error: 'DMA_MemoryInc_Enable' undeclared (first use in this function)       
       DMA_InitStructure.DMA_MemoryInc = DMA_MemoryInc_Enable;
    



    Is there any way to get the make output to stop generating output once an error is detected?

    The terminal window scrolls the earliest off the top.

    Ctrl+C    hit-n-miss

About

Avatar for Robin @Robin started