Commit Graph
100 Commits
Author SHA1 Message Date
hathach d2fc54fab9 Change FreeRTOS tick source from systick to RTC for low-power mode 2017-04-10 15:23:13 +07:00
hathach 33a6bb3642 rename PWM begun() to enabled() 2017-04-10 15:15:58 +07:00
hathach a454cb9f21 add optional callback rtos_idle_callback() 2017-04-09 21:51:00 +07:00
hathach a335699296 only enter low power mode waitForEvent() in idle if there is no active PWM 2017-04-09 14:42:26 +07:00
hathach 2ab46a03fa move waitForEvent() to Arduino.h 2017-04-08 17:03:53 +07:00
hathach 291a28b507 add waitForEvent() as macro for __WFE(). Enable Idle Hook and call wfe instruction 2017-04-08 16:59:56 +07:00
hathach 887d0354a0 revert syscall 2017-04-08 16:32:58 +07:00
hathach f62daa12fd newline correction 2017-04-08 16:31:25 +07:00
hathach cbbf75e6ef add stub for malloc lock 2017-04-07 17:46:46 +07:00
hathach f50708b24c add sleep() as wrapper for __wfe() 2017-04-06 15:45:51 +07:00
hathach b1336100cc add mutex for uart to prevent write conflict 2017-04-04 12:39:02 +07:00
hathach aa32c41ff8 adacallback
- peripherl connect callback
- central characteristic notify callback
2017-04-04 12:38:40 +07:00
hathach a770b995c3 added AdaCallback implemetation 2017-04-03 22:58:35 +07:00
hathach d955303a78 clean up 2017-04-03 13:53:38 +07:00
hathach 1f2efb042a relate to #21 2017-03-28 22:15:52 +07:00
hathach 7168d198ef make HardwarePWM compatible with Neopixel DMA 2017-03-28 22:15:22 +07:00
hathach 8cb712c377 remove debug code 2017-03-25 01:49:13 +07:00
hathach 673980a005 clean up 2017-03-25 01:21:20 +07:00
hathach 774311e4b8 implement analogWrite() and analogWriteResolution() with HardwarePWM 2017-03-25 01:16:53 +07:00
hathach b77e907702 clean up 2017-03-25 01:01:38 +07:00
hathach 0c5273b1c6 merge begin() and start() 2017-03-25 00:22:09 +07:00
hathach 953c55b218 adding HardwarePWM support 2017-03-24 15:57:47 +07:00
hathach a3afb48e7f fix pwm polarity 2017-03-23 15:36:46 +07:00
hathach 5751d6f651 increase memoryinfo for DEBUG LEVEL 2 to 60 seconds 2017-03-22 21:56:53 +07:00
hathach 861af7b7e2 clean up BLEUuid merge uuid16 & uuid128 with copy operator
- also change DIS model to "Bluefruit Feather 52"
2017-03-20 18:21:33 +07:00
hathach fe148b78d7 add Uart _begun, fix potetial hard fault with Debug level ON but Serial.begin() is not called 2017-03-17 13:36:26 +07:00
hathach a7329b9ea0 allow application to enter OTA DFU with soft reset 2017-03-16 22:22:09 +07:00
hathach feb63dc062 rename 2017-03-16 21:14:13 +07:00
hathach fd386cce43 udpate bootloader, add dfu_serial enter sketch 2017-03-16 21:03:49 +07:00
hathach a1c3cc04dc clean up 2017-03-16 16:00:52 +07:00
hathach 812fbad07d implement Scheduler 2017-03-16 00:01:33 +07:00
hathach a816e70e8f rename rtos.c to rtos.cpp preparing to implement scheduler 2017-03-15 22:39:21 +07:00
hathach 9e85c1731d add neomatrix example
clean up warnings
2017-03-15 17:02:06 +07:00
hathach cfc3bd1f8c get SD version instead of hardcode string 2017-03-15 15:33:17 +07:00
hathach 5fd39b1e28 loop() call yield() instead of vTaskDelay(1) 2017-03-15 12:57:06 +07:00
hathach 8d80b01f84 add keywords.txt 2017-03-15 01:21:32 +07:00
hathach 3b0088f6e9 implement delay_ns with DWT 2017-03-11 00:49:36 +07:00
hathach d0677e6b99 fix MCU speed 64MHz instead of 16MHz
use 32Khz crystal instead of RC for clock
2017-03-09 16:20:06 +07:00
hathach 255b189605 implement BLEMidi as Serial to use with Arduino MIDI library 2017-03-08 15:19:11 +07:00
hathach 2467c02677 fix the build error with log macros 2017-03-07 23:29:18 +07:00
hathach 592f4a67cd print version if DEBUG level is 1+ 2017-03-07 17:03:34 +07:00
hathach 64174a7ff9 add LOG_LV1, LOG_LV2 2017-03-07 00:45:48 +07:00
hathach d672165e10 finally fix nrf52 flash 2017-03-06 14:45:41 +07:00
hathach 9f3e2955cb add BLEAdvertising 2017-03-04 14:27:24 +07:00
hathach d178d7f47e fix Nffs port with nrf52 flash write 2017-03-04 02:33:03 +07:00
hathach fd85800d88 clean up 2017-03-04 02:19:32 +07:00
hathach 1c055970c5 refactor flashing 2017-03-03 19:21:54 +07:00
hathach c30b7f13ac print meminfo every 10 seconds when Debug level = 2 2017-03-03 15:43:42 +07:00
hathach 4c9316d0b6 correct rtos priority lower number = lower prio 2017-03-03 15:03:50 +07:00
hathach dbb8f197ac add rtos_realloc 2017-03-03 00:55:00 +07:00