Open catarial opened 11 months ago
I tested plugging the NXP KL05Z on my laptop, and it seems like everything works out of the box regarding the usb drivers.
If your on an integrated desktop like KDE or GNOME it should ask to mount the flash file system. You can load binaries onto this which will be flashed onto the board to be run. I was able to flash a simple program that blinks the LED every 10 seconds.
Regarding compiling programs, a program compiled by gcc should do the same things as a program compiled by Keil. The only difference should be the size and efficiency of the binary produced.
Programs can be compiled using the GNU Arm Embedded Toolchain https://launchpad.net/gcc-arm-embedded
The package in Void Linux is called cross-arm-none-eabi-gcc
I still need to figure out if it is possible for gcc to generate a map and listing file.
This has proved to be harder than I thought it would be
Lab assignments are done exclusively in the Keil MDK-ARM IDE which is only able to run on Windows. It can be run under a VM or through wine, but you won't be able to interface with any hardware this way. I'm thinking of including instructions for using gcc to compile lab assignments, though I need to test if it behaves the same as the compiler used in Keil. During lab hours you should use Keil though so you can get help from your TAs and also submit the results shown with the Keil debugger.