delete hal method rp2040
@@ -49,27 +49,4 @@ void hal_init(void){
clocks_hw->sleep_en1 = CLOCKS_SLEEP_EN1_CLK_SYS_TIMER_BITS | CLOCKS_SLEEP_EN1_CLK_SYS_USBCTRL_BITS | CLOCKS_SLEEP_EN1_CLK_USB_USBCTRL_BITS;
}
-//================================================================
-/*!@brief
- Write
-
- @param fd dummy, but 1.
- @param buf pointer of buffer.
- @param nbytes output byte length.
-*/
-int hal_write(int fd, const void *buf, int nbytes){
- printf(buf);
- return nbytes;
-}
-
-//================================================================
-/*!@brief
- Flush write baffer
-
- @param fd dummy, but 1.
-*/
-int hal_flush(int fd) {
- return 0;
-}
-
#endif /* ifndef MRBC_NO_TIMER */
