Shyri/gba-bt-hid

Are there files missing?

Opened this issue · 5 comments

Hello Shyri,
Are you sure the project include all required files for building it? I can't make it.
Thanks for your help.

C:\Users\giltesa\esp\esp32>idf.py build
CMakeLists.txt not found in project directory C:\Users\giltesa\esp\esp32

Nothing? :-(

Shyri commented

Sorry @giltesa I only tried on mac and actually have a big mess regarding esp framework installations in my computer. I'll try in a brand new installation to test if something is missing

Thanks @Shyri so much, I have order some boards and I will really appreciate if you can help me with that.

https://giltesa.com/wp-content/uploads/2020/10/GBA-Wireless-Gamepad-T.jpg

Shyri commented

@giltesa nice looking board! Is it intended to fit into the first party wireless gba link?

After checking in my local. Everything works, I'm using mac but that should make no difference. I've read through my README file and I realized I'm not giving clear instructions on how to build and flash the code so let me explain:

The build system for this project is not CMake that is why it's complaining it can't find a CMakeList.txt file. You should build it using make. Steps would be:

navigate to your C:\Users\giltesa\esp\esp32 (which I assume is where you have the gba-bt-hid esp32 code, if you do an ls or dir you should see a "Makefile". Then run this command:

make menuconf
That will prompt a menu where you can set the device serial port that will be used to flash navigating through Serial Flasher Config -> Default Serial Port. After saving run this command:

make flash monitor

it will build the project and then flash to the device set previously in menuconf. monitor tells it to show the log in your terminal so you can check the multiboot procedure is executing correctly if you have the set up connected to your gba.

Let me know if this helps.
Can't wait to see how that board works :)

Thanks so much @Shyri

I have tried to write the firmware but I haven't got yet, tomorrow I'm going to try it again.
Anyway. Yes, the board is the exact size for the case of the GBA Wireless Adapter. I have received the PCBs today and I assembled a board. It works well, I can program the board and execute a blink code. I will inform you about the result :)

You can see here some pictures and videos:
https://twitter.com/giltesa/status/1332673334656593924