Skip to content

tinySA3: Building of firmware is not possible with commits after v1.4-175-g1419a93 (Jul 2, 2024) #138

@Ho-Ro

Description

@Ho-Ro

Hi Erik,

After a long absence due to work and health issues, I tried to build the current version from your repo today. There were many warnings and errors:

$ git describe --tags
v1.4-201-gdb83a99

$ LANG=C make
Makefile:305: warning: overriding recipe for target 'clean'
ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:301: warning: ignoring old recipe for target 'clean'
Compiling crt0_v6m.s
Compiling chcoreasm_v6m.s
Compiling crt1.c
Compiling vectors.c
Compiling chsys.c
In file included from ChibiOS/os/rt/include/ch.h:86,
                 from ChibiOS/os/rt/src/chsys.c:36:
ChibiOS/os/rt/include/chschd.h:272:6: warning: "CH_CFG_USE_WAITEXIT" is not defined, evaluates to 0 [-Wundef]
 #if (CH_CFG_USE_WAITEXIT == TRUE) || defined(__DOXYGEN__)
      ^~~~~~~~~~~~~~~~~~~
...

In file included from ./NANOVNA_STM32_F072/adc.c:22:
./NANOVNA_STM32_F072/adc.c: In function 'adc_start_analog_watchdog':
./nanovna.h:1681:22: error: 'ADC_CHANNEL_IN4' undeclared (first use in this function); did you mean 'HAL_CHANNELS_H'?
 #define ADC_TOUCH_Y  ADC_CHANNEL_IN4
                      ^~~~~~~~~~~~~~~
./NANOVNA_STM32_F072/adc.c:144:21: note: in expansion of macro 'ADC_TOUCH_Y'
   VNA_ADC->CHSELR = ADC_TOUCH_Y;
                     ^~~~~~~~~~~
./nanovna.h:1681:22: note: each undeclared identifier is reported only once for each function it appears in
 #define ADC_TOUCH_Y  ADC_CHANNEL_IN4
                      ^~~~~~~~~~~~~~~
./NANOVNA_STM32_F072/adc.c:144:21: note: in expansion of macro 'ADC_TOUCH_Y'
   VNA_ADC->CHSELR = ADC_TOUCH_Y;
                     ^~~~~~~~~~~
make: *** [ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:216: build/obj/adc.o] Error 1

The last version on your website is tinySA_v1.4-175-g1419a93

I tried to find the last working commit - going back in time to v1.4-176 (Aug 9, 2024) - the building also fails:

$ git describe --tags
v1.4-176-g8591468

$ LANG=C make
Compiling main.c

...

main.c:2364:22: error: 'cmd_restart' undeclared here (not in a function); did you mean 'cmd_usart'?
     {"restart"     , cmd_restart     , CMD_WAIT_MUTEX | CMD_RUN_IN_LOAD},
                      ^~~~~~~~~~~
                      cmd_usart
make: *** [ChibiOS/os/common/startup/ARMCMx/compilers/GCC/rules.mk:216: build/obj/main.o] Error 1

So it seems that you didn't provide any tinySA3 updates since one year, did you abandon the small device?

Martin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions