Dear Friends,
i found a bug inside the gpio_init to solve it i delete the errata #define for native code .. i think that is not properly initialized and if you try to use porte or up it don't work.
// Modify only for maple native
void gpio_init(void) {
rcc_clk_enable(RCC_GPIOA);
rcc_clk_enable(RCC_GPIOB);
rcc_clk_enable(RCC_GPIOC);
rcc_clk_enable(RCC_GPIOD);
rcc_clk_enable(RCC_GPIOE);
rcc_clk_enable(RCC_GPIOF);
rcc_clk_enable(RCC_GPIOG);
rcc_clk_enable(RCC_AFIO);
}
Best
Roberto