TheKikGen / stm32-tkg-hid-bootloader

A HID driverless bootloader and flash tool companion for the STM32F1 line
38 stars 12 forks source link

tkg_hid_btl_uploader.ino: libmaple includes not found #7

Open KenjutsuGH opened 3 years ago

KenjutsuGH commented 3 years ago

I am trying out stm32-tkg-hid-bootloader on MacOS 10.13.6.

I was able to get tkg-flash to compile, and now I am trying to compile and upload tkg_hid_btl_uploader.ino to a Blue Pill, but all the libmaple includes produce a 'No such file or directory' error. I am using the STM32 Core.

Does this only work for the LibMaple core?

TheKikGen commented 3 years ago

You can use STLINK to upload the bin firmware to the bluepill. The uploader uses LibMaple/Roger 's core functions to write into the EEPROM. I do not use the STM32 Core due to compatibility issue at the moment with my STM32 projects. The uploader code should be easy to move to the STM32 core (check EEPROM functions).