I’m trying to run the blinky example provided with the sparkfun bsps. The code uploads successfully with either bootloader, but nothing blinks. As a note, I am able to run the UART example successfully.
Looking at the code it shows am_bsp_pins.c to have
Looking at the Nano schematics we see pad 19 maps to GPIO 19 which is assigned to LED and printed next to the LED. This makes me think 37 is incorrect the above values should be 19 and AM_HAL_PIN_19_GPIO respectively but this does not work either.
It seems the Thing Plus is set up this way (assuming it can run blinky…). Looking its schematics we see pas 26 maps to GPIO 18 which is assigned to the LED and also printed on the PCB next to the LED. In its respective files it has AM_BSP_GPIO_LED_BLUE set to 26 and g_AM_BSP_GPIO_LED_BLUE.uFuncSel set to AM_HAL_PIN_26_GPIO.
Can you please provide more details about your issue? For example what version of the core you are using. It would also be helpful if you could share some links / photos that demonstrate where you found usage of pin ‘37’ for the RedBoard Artemis Nano.
I was able to run the ‘Examples->Basics->Blink’ sketch on the RBA Nano successfully.
Why is the call to ‘am_hal_gpio_pinconfig()’ not using ‘g_AM_BSP_GPIO_LED_BLUE’ from the ‘am_bsp_pins.c’ (for the right board)? For the artemis_thing_plus ‘g_AM_BSP_GPIO_LED_BLUE’ is defined as: