Skip to content

Conversation

fromeijn
Copy link

@fromeijn fromeijn commented Oct 31, 2023

Changes:

  • Added build with GCC
  • Updated / Moved Readme
  • fixed compile warnings

Tested that it compiles:

$ make
  CC    Code/App/test.c
  CC    Code/App/ws2812.c
  CC    Code/App/task.c
  CC    Code/App/vesc_uasrt.c
  CC    Code/App/flag_bit.c
  CC    Code/App/crc.c
  CC    Code/Drive/time.c
  CC    Code/Drive/usart.c
  CC    Code/Drive/adc.c
  CC    Code/Drive/led_pwm.c
  CC    Code/Drive/io_ws2812.c
  CC    Code/Drive/spi.c
  CC    Code/Drive/key.c
  CC    Code/Drive/led.c
  CC    Code/Drive/buzzer.c
  CC    Code/Drive/power.c
  CC    Code/User/hk32f030m_it.c
  CC    Code/User/main.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/CMSIS/HK32F030M/Source/system_hk32f030m.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_gpio.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_awu.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_iwdg.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_spi.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_flash.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_adc.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_rcc.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_dbgmcu.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_misc.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_pwr.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_tim.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_usart.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_crc.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_wwdg.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_exti.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_syscfg.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_i2c.c
  CC    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/HK32F030M_Lib/src/hk32f030m_beep.c
  AS    Library/HK32F030Mxx_Library_V1.1.6/HK32F030M/CMSIS/HK32F030M/Source/GCC/startup_hk32f030mf4p6.s
  LD    Build/app.elf
Memory region         Used Size  Region Size  %age Used
             RAM:        2448 B         4 KB     59.77%
           FLASH:       11984 B        16 KB     73.14%
          EEPROM:          0 GB        448 B      0.00%
  OBJCP BIN     Build/app.bin
  OBJCP HEX     Build/app.hex

Tested output by flashing my board and still work (did not test with latest float package, just 1.2)

@fromeijn
Copy link
Author

fromeijn commented Nov 7, 2023

something is up with led bar, compared it to a hex you build and acts diffenrent, tbc

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

Successfully merging this pull request may close these issues.

1 participant